Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: MatrixRat

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. In the IDE, File>Examples>Teensy>USB_Midi is a...

    In the IDE, File>Examples>Teensy>USB_Midi is a good place to start looking.

    The diagram does not show which device is intended to be the Host for the hub.
  2. Replies
    11
    Views
    229

    Not familiar with that method. Am using callback...

    Not familiar with that method. Am using callback and changed the buffer in MIDI_Settings.h to 256 to receive 140 byte sysex.
  3. Replies
    11
    Views
    229

    https://forum.pjrc.com/threads/42589 has...

    https://forum.pjrc.com/threads/42589 has discussion about receiving large sysex.
  4. Replies
    5
    Views
    116

    After sleeping on it, realized that HCT powered...

    After sleeping on it, realized that HCT powered from +3.3v was a silly old fart dumb choice. Surprised it worked at all.

    Using protoboard with two 245s located underneath T4.1 as I need to buffer...
  5. Replies
    5
    Views
    116

    Ok, I've moved it with:- ILI9341_t3...

    Ok, I've moved it with:-


    ILI9341_t3 Display2(TFT1_CS, TFT1_DC);//Was ILI9341_t3 Display1(TFT1_CS, TFT1_DC);
    ILI9341_t3 Display1(TFT2_CS, TFT2_DC);//Was ILI9341_t3 Display2(TFT2_CS, TFT2_DC);
    ...
  6. Replies
    5
    Views
    116

    Yes. Both screens plug into the main board so are...

    Yes. Both screens plug into the main board so are easy to swap. Will play with swapping DC and CS #defines but expect that lower bit depth will manifest on the left screen.

    Editing to report that...
  7. Replies
    5
    Views
    116

    Two ILI431s - different colors

    Building Midi controller DevKit V2 using a T4.1, two ILI9431 displays and other goodies.

    Have buffered all SPI signals and have both displays and XP2046 touch tested and working.

    Picture says a...
  8. Look and explore here:-...

    Look and explore here:- https://www.pjrc.com/teensy/
  9. Replies
    43
    Views
    696

    Glad you got it working. Following up, quoting...

    Glad you got it working.

    Following up, quoting myself


    Got this idea to work. mentioning as the strategy may be worth looking at to slow large amounts of sysex for older synths.
  10. Replies
    43
    Views
    696

    24Mhz. Ouch! We gotta figure how to sidestep...

    24Mhz. Ouch! We gotta figure how to sidestep that. Neither Jeannie or my project will like it.
    Busy with home renovations, rain is coming, have a couple of ideas.

    Thinking of post 39, let's say...
  11. Replies
    43
    Views
    696

    Following on, 2048 bytes Sysex block size does...

    Following on, 2048 bytes Sysex block size does seem to be the limit but I suspect this limit is imposed by the MS generic usbMidi driver.

    Perhaps borrow from Midiox the concept of Sysex Continue...
  12. Replies
    43
    Views
    696

    Commented out line 364 C:\Program Files...

    Commented out line 364 C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\usb.c as you suggest and no longer have truncated sysex. Thank you for finding it Rolf.

    Is not necessary to...
  13. Replies
    43
    Views
    696

    The fourth line in the screenshot of MIOS Studio...

    The fourth line in the screenshot of MIOS Studio in post#1 shows f0 only.

    Sketch in post#23 ran on bare T4.1 usbType MIDI, Win10, IDE 1.8.19 TD 1.56, produced this:-

    28453

    Note the second...
  14. Replies
    43
    Views
    696

    Been able to reproduce this with the following...

    Been able to reproduce this with the following sketch:-


    #define chunkSize 128
    #define delayAmt 100

    byte data[chunkSize];

    void fillBuff() {
    unsigned scratch;
  15. Replies
    43
    Views
    696

    Try in Midiox > Options>Configure Buffers Set...

    Try in Midiox > Options>Configure Buffers

    Set Size 2048 and Number 32

    Fingers crossed.
  16. Replies
    43
    Views
    696

    I would test on Serial midi as well. Rule in or...

    I would test on Serial midi as well. Rule in or out all possibilities.
  17. Replies
    43
    Views
    696

    If you post a sketch here that dumps that sysex...

    If you post a sketch here that dumps that sysex in response to serial monitor keypress am happy to test on Windows with Midiox.
  18. Replies
    43
    Views
    696

    Largest sysex dump here 4 x 140 bytes. Did need...

    Largest sysex dump here 4 x 140 bytes. Did need delay but used non-blocking type. What about a ring buffer?
  19. Replies
    43
    Views
    696

    Wow, That's huge. Fourth line looks truncated...

    Wow, That's huge. Fourth line looks truncated after F0. Seen similar truncations if some data miscalculation tries to send a value >127, not the case here as the four byte header (zeros) was supposed...
  20. Food for thought? 28422

    Food for thought?
    28422
  21. Thread: EncoderTool

    by MatrixRat
    Replies
    5
    Views
    360

    Yeah, mechanicals. Currectly using 19mm grid to...

    Yeah, mechanicals. Currectly using 19mm grid to keep the whole thing compact and portable, no knobs.

    End use case is cutting loose on a Synth so with that spacing is easy to nudge a neighbor and...
  22. Yes, 4067 is an analog switch but in the EncPlex...

    Yes, 4067 is an analog switch but in the EncPlex use case is selecting Highs and Lows into a digital pin, so noise is not an issue. Websearch digital mutiplexer, will lead to 4067 and the like.
    ...
  23. Thread: EncoderTool

    by MatrixRat
    Replies
    5
    Views
    360

    Either way is a counter, decade counter rolls...

    Either way is a counter, decade counter rolls over at different count.

    Suggesting Ring counter if one exists. Component availability is a key design factor no matter the method.
  24. Honestly, that demo vid blew me right out of the...

    Honestly, that demo vid blew me right out of the water.

    It seems that first, you need to establish comms with juce so dig in discover what it needs as a pathway.
  25. Some might suggest its a waste of processing...

    Some might suggest its a waste of processing power but usbHost is a possibility where Teensy 1 plugs into PC, then Teensy2 plugs into Teensy1's usbHost port then Teensy3 plugs into Teensy2's usbHost...
  26. Referring to your first post, you asked about...

    Referring to your first post, you asked about using a master Teensy communicating with a number of Teensy slaves. Can be done using usbHost port (T3.6 0r later) for master, plug in a usb Hub then...
  27. I'm using the Sparkfun 4067 breakouts and the...

    I'm using the Sparkfun 4067 breakouts and the actual chip is marked HP4067 which i think translates to 74HC4067. I see nothing preventing one doing the job of my HC138 so theoretically at least...
  28. Am using interrupts. Did need to tweak...

    Am using interrupts. Did need to tweak EncoderTool library to generate additional address bits for 74HCT138 for up to eight pairs of 4067s however uses more pins than the MCP23017 method. Either way...
  29. Two questions:- How many Counts per revolution...

    Two questions:- How many Counts per revolution are you looking for? and what type of encoders?

    For what I'm doing with Midi, most parameters are in the range 0-127 so 96 CPR covers the range with...
  30. You might also check this out:- ...

    You might also check this out:-

    https://github.com/luni64/EncoderTool

    Currently using it with 32 x 96 PPR detentless encoders using the 4067 method.
  31. Replies
    234
    Views
    54,812

    Thanks Rolf. Got me thinking, should be...

    Thanks Rolf. Got me thinking, should be soldering.

    I understand that the logical choice is to send floats as ascii so we can put the decimal point where needed. But, say if we only have one digit...
  32. Perhaps look at plugging the Leonardo into the...

    Perhaps look at plugging the Leonardo into the T4x UsbHost port as well.
  33. Replies
    234
    Views
    54,812

    Hi Rolf. Looks like you're making good progress....

    Hi Rolf. Looks like you're making good progress. Have been quietly following this thread and learned some useful stuff so you are one of my many teachers here.

    Must also mention, Paul, Defragster,...
  34. Teensy 3.5 or later. Component supply shortages...

    Teensy 3.5 or later. Component supply shortages have it that T3.2 - T3.6 are impossible to source so that leaves T4x.

    Be mindful that T4x pins are not +5v tolerant so be careful how you hook...
  35. Good news on several fronts. Soldering was a...

    Good news on several fronts.

    Soldering was a little tricky as the chosen T4.1 was already fully pinned. A minor fiddle with LittleFS_Usage yielded Bytes Total:16777216.

    Next, other required...
  36. Took a while to flush my stash of Flash out of...

    Took a while to flush my stash of Flash out of the rabbithole of relocation.

    Bricked the T3.6. last night. Made that struct a [5][144] and missed a corresponding edit to an Index struct and got...
  37. My turn to grumble, about Billboard text in...

    My turn to grumble, about Billboard text in posts.

    Having got that outta the way, many users have started out with a pretty simple Midi controller and inspired by getting the first one working,...
  38. Ok, thanks. A 4mm wide strip of sticky copper...

    Ok, thanks. A 4mm wide strip of sticky copper foil to pick and place the chip. In reality that struct will grow to something more like [16][144] with a tribe of little ones. Then double it again coz...
  39. Howto use T4.1 Flash to store/retrieve variables

    Midi controller Madness. Devving and works on T3.6. Tested on T4.0 and T4.1.

    Need to implement a working relationship between current data structure and non-volatile memory. Shoehorning T4.1 into...
  40. Replies
    234
    Views
    54,812

    Hi Rolf. Think of it this way:- // Sysex...

    Hi Rolf. Think of it this way:-


    // Sysex data lenght [28]; // Daten lenght max 256
    sysexData[sysexCount++] = 0xF0; // 0 - Start SysEx...
  41. Replies
    6
    Views
    360

    A quick web-search for mmjoy2 did not reveal any...

    A quick web-search for mmjoy2 did not reveal any editable Arduino code to modify for more Analog inputs on a range of supported boards including Teensy3.2 or for that matter, to work on a different ...
  42. TD's underlying Midi library found in (Windows)...

    TD's underlying Midi library found in (Windows) C:\Program Files (x86)\Arduino\hardware\avr\teensy\libraries was updated to V5 post TD 1.53 which saw changes to the transport layer.

    I encountered...
  43. Hmm, Murphy's law and datasheets. For the...

    Hmm, Murphy's law and datasheets.
    For the receiver I'd suggest that Vcc (pin 3)is the device's +V supply pin and pin 1 is Data OUT.
    For the transmitter I'd suggest that Vcc (pin 3)is the device's...
  44. Agreed, but I think that a straightened...

    Agreed, but I think that a straightened paper-clip sized hole over a Prog button is a small price to pay.

    Thinking of the range of MIDI types, what about making the MIDI_NAME unique to each MIDI...
  45. I think this is not a bug but shortcomings in...

    I think this is not a bug but shortcomings in Windows' class compliant USB-MIDI driver.

    I've run into the same issue with Windows not being able to see two identical cheap class compliant usb-MIDI...
  46. The .ino and .cpp files both have #include...

    The .ino and .cpp files both have


    #include "Thermistor.h"
  47. Maybe drive the MOSFET with PWM so average...

    Maybe drive the MOSFET with PWM so average resistor current can be ramped?
  48. The purpose of the Opto is to galvanically...

    The purpose of the Opto is to galvanically isolate the sending device from the receiving device so you need to think carefully of how two oscilloscope probes are connected to both devices at the same...
  49. In C:\Program Files...

    In C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\MIDI\src\midi_settings.h
    Line 73 has:-

    static const unsigned SysExMaxSize = 128;
    Try changing this to:-

    static const...
  50. The OctoWS8211 Basic Test example has:- ...

    The OctoWS8211 Basic Test example has:-


    const int config = WS2811_GRB | WS2811_800kHz;

    A typo perhaps?
Results 1 to 50 of 302
Page 1 of 7 1 2 3 4