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

Search:

Type: Posts; User: MatrixRat

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. You might try this :- #include ...

    You might try this :-


    #include <Wire.h>
    #include "Adafruit_Trellis.h"
    #include <MIDI.h>
    // then we need to tell the library which Uart to use
    // So, assuming you have connected Midi I/O...
  2. Thank you Kris. All the best.

    Thank you Kris. All the best.
  3. Hi Kris. Double thank you again. Playing around...

    Hi Kris. Double thank you again. Playing around exploring limits and came up with this:-

    21717

    Very useful for visual feedback, hooked up to 16 encoders. Slider heights are 80 and with the...
  4. Replies
    26
    Views
    748

    Cool project. Thumbs up to the idea of using...

    Cool project. Thumbs up to the idea of using color as feedback.
  5. Thank you Kris, having loads of fun with it. ...

    Thank you Kris, having loads of fun with it.

    21654
  6. Ok, thanks. To to clarify, query re:-138 and...

    Ok, thanks.
    To to clarify, query re:-138 and 4067 relates to a fairly imminent upgrade (Mega to T3x) on an earlier Midi controller project currently using 14 pots and 48 H/W debounced buttons via 3x...
  7. Awesome! Causes a re-think. Have exactly...

    Awesome!

    Causes a re-think. Have exactly enough holes so will hook up all encoder buttons. Ran out of 165s.

    Have you considered using a 74595 and 74138 to generate S0-S3 and E for the 4067...
  8. Wow, thank you @luni for your in-depth reply, a...

    Wow, thank you @luni for your in-depth reply, a little over my head not having learned any of this stuff in class or whatever, but I get the drift that my nose took me to a non-option with...
  9. Here's where it's at. 2162221623 Relevant...

    Here's where it's at.

    2162221623


    Relevant circuitry has CLK and LOAD buffered with 74HCT245, 74HC165's @ +5v and 470R/910R voltage divider between SERA and SERB and respective T3.2 pins. A...
  10. Thread: MIDI Basics

    by MatrixRat
    Replies
    3
    Views
    279

    Your feedback is much appreciated, thank you.

    Your feedback is much appreciated, thank you.
  11. Thank you. Had already sussed out the...

    Thank you. Had already sussed out the (CountMode::quarterInv) and other library features.

    Multiplexed_74165 works as expected so for the learning experimented with 04_Callbacks.

    Here, ...
  12. OOps! Problem exist between soldering iron and...

    OOps! Problem exist between soldering iron and chair, NOT Bourns.
  13. Thread: MIDI Basics

    by MatrixRat
    Replies
    3
    Views
    279

    Midi messages are sent as and when they need to...

    Midi messages are sent as and when they need to occur so look in File>Examples>Teensy>USB_MIDI>InputFunctionsBasic for clues.

    For some reading material, websearch:-
    ...
  14. Replies
    13
    Views
    615

    I've completely forgotten when I started telling...

    I've completely forgotten when I started telling myself "No, it isn't memory loss, just that the mind is so full of good ideas that there is simply no room to remember where important stuff is".
  15. Many thanks luni. Got it working. Set up for...

    Many thanks luni. Got it working.

    Set up for 16 encoders although only wired two so far for a test. Only getting response from one encoder. Believe it or not it looks like I have a dodgy brand...
  16. Headscratching, got compiler error after...

    Headscratching, got compiler error after installing Encoder Tool library so taking it back to basics, test case = blink example and compiler throws Invalid line format error:-


    Arduino: 1.8.13...
  17. Got it. Man, that was way quicker than the...

    Got it. Man, that was way quicker than the mechanical details. Will opt for speed. Spring here = garden distraction. Will let you know when I see signs of life.

    Cheers and thank you again.
  18. Thank you @luni. No hurry. Yeah, darn Covid...

    Thank you @luni. No hurry. Yeah, darn Covid distraction. I've turned it into a Lockdown R and D fest.

    Still working out what gets soldered where. Using a T3.2 and 74HC165s and have several spare...
  19. Hi luni. On two different computers, Win7 and...

    Hi luni.

    On two different computers, Win7 and Win10, IDE 1.8.13 - TD1.53, installed the ExcPlex library downloaded from Github two days ago and discovered issues in Examples.

    Only two examples...
  20. Replies
    3
    Views
    215

    I wired a Mega to a T2 and fed the T2 from the...

    I wired a Mega to a T2 and fed the T2 from the Mega's +5v. The T2's 0v, Thick and short soldered directly to a sensible looking common 0v point on the back of the Mega. Noisy Led displays 0v line was...
  21. Replies
    3
    Views
    215

    One possible gotcha is if some coding error...

    One possible gotcha is if some coding error causes the pins at either end of a direct connection to be configured as outputs and one happens to be high and the other low will possibly fry both...
  22. Replies
    15
    Views
    1,911

    Got FifteenSteps working and added Midi in...

    Got FifteenSteps working and added Midi in hardware and support for Note and Control Change messages. Commented out listening to Capsense.

    Chasing stuck notes, hacked the library to a silly Max...
  23. Replies
    26
    Views
    748

    What version of the IDE and Teensyduino are you...

    What version of the IDE and Teensyduino are you using?

    I've had no hands on with the Linux - Midi equation so can't offer any suggestions other than rule it in or out by testing on Windows with a...
  24. Replies
    26
    Views
    748

    Try inserting a delay(1000); in void setup() to...

    Try inserting a delay(1000); in void setup() to allow time for the host to sort its instantiation.
  25. Replies
    26
    Views
    748

    To use Teensy usbMIDI, first in Tools>USB Type,...

    To use Teensy usbMIDI, first in Tools>USB Type, pick a MIDI type which suits.

    There is no need for any CREATE_INSTANCE_etc, just send to or receive from it.

    Look in...
  26. Replies
    15
    Views
    1,911

    Hi @phi Making sense of it. Here's the current...

    Hi @phi
    Making sense of it. Here's the current state of play. Din Midi in via 47FX and output via Serial.write, 47FX Serial and Teensy usbMidi concurrently although have commented out Serial.Write...
  27. Hang on, 6 microseconds is 300 times less than...

    Hang on, 6 microseconds is 300 times less than 1800 ain't it?
  28. Replies
    15
    Views
    1,911

    Got 32 blinkenlights and touch buttons find all...

    Got 32 blinkenlights and touch buttons find all the modes, Midi clock is present and note messages are emitted when pads are touched, however just like in the basic example nothing seems to get...
  29. Sorry, I'd completely missed this:- In this...

    Sorry, I'd completely missed this:-

    In this part of your code


    pinMode(0, INPUT_PULLUP);
    pinMode(1, INPUT_PULLUP);
    pinMode(2, INPUT_PULLUP);
    pinMode(3, INPUT_PULLUP);
    pinMode(4,...
  30. Replies
    2
    Views
    112

    Try MIDI.sendRealTime(248);

    Try


    MIDI.sendRealTime(248);
  31. Thank you, a picture says a thousand words. ...

    Thank you, a picture says a thousand words.

    Leds must have a resistor in series to limit the current otherwise they will fry themselves or fry what is trying to power them or worse, both.

    I...
  32. Maybe some pot wiring issue with those odd...

    Maybe some pot wiring issue with those odd sounding read values. A picture or wiring diagram of your project would be helpful.
  33. Replies
    5
    Views
    308

    Teensyduino's MIDI library is the...

    Teensyduino's MIDI library is the FortySevenEffects MIDI library with some enhancements. An Arduino UNO only has one serial port called TX RX so when using the MIDI library you instantiate it with:-...
  34. Replies
    5
    Views
    308

    Try:- MIDI_CREATE_INSTANCE(HardwareSerial,...

    Try:-
    MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI);
    Works here on a T3.2.

    void setup() and void() loop show that we are listening to usbMidi not MIDI.

    Hope this helps.
  35. Replies
    8
    Views
    252

    Just been looking at this with the CRO so here's...

    Just been looking at this with the CRO so here's some pix.
    Upper trace is TX pin. Lower trace is Pin 6 of 6N139 and we're looking at an actual Midi message.

    No resistor is attached to pin 7. ...
  36. Replies
    15
    Views
    1,911

    Curiously, it seems FifteenSteps thinks of 0-15...

    Curiously, it seems FifteenSteps thinks of 0-15 for Midi channel number. Teensy usbMidi spits out on Ch 16 if told to send on channel=0 whereas the Din midi lib spits nothing.

    Needed to resort...
  37. Replies
    15
    Views
    1,911

    Curiosity bit. Uploaded to a T3.6 with Din midi...

    Curiosity bit. Uploaded to a T3.6 with Din midi out and no button or pullup on pin 4.
    Midiox sees Timing Clock 248 followed by a NoteOff for C-1.

    As for the button, treating it like a touch...
  38. Replies
    15
    Views
    1,911

    Uploaded it to a Teensy LC with a button on pin 4...

    Uploaded it to a Teensy LC with a button on pin 4 (needed a pullup) looking at TX pin with a CRO which shows what looks like the same midi message repeated fairly rapidly and a different message is...
  39. Replies
    15
    Views
    1,911

    What hardware is needed to get it up and running?...

    What hardware is needed to get it up and running? Would like to play with it in the light of a new day.

    Suggest fiddling with the function :-


    void midi(byte channel, byte command, byte arg1,...
  40. Replies
    15
    Views
    1,911

    Thanks for bumping this old thread, not...

    Thanks for bumping this old thread, not previously seen Fifteensteps. Looks interesting, neopixels? neotrellis? What?

    Got me curious. Have not dug into what gives with the hardware yet but after a...
  41. Perhaps a dodgy optocoupler on the receiving end...

    Perhaps a dodgy optocoupler on the receiving end or unsuitable resistor values associated with the sending end.

    You might post some schematic of how both pieces of kit do it.
  42. Replies
    6
    Views
    265

    Yes that makes sense. Think of some low value...

    Yes that makes sense.

    Think of some low value R(say 47R) between +3.3v and Ring to act as current limit in case something shorts while plugging in.

    Some R (say 4k7) between tip and Analog pin...
  43. First you need to add Midi IO circuitry to...

    First you need to add Midi IO circuitry to Teensy's TX/RX2 then in code add:-


    MIDI_CREATE_INSTANCE(HardwareSerial, Serial2, MIDI2);

    Then to send to it:-


    ...
  44. Replies
    52
    Views
    13,214

    Interestingly, regarding the usb host port of the...

    Interestingly, regarding the usb host port of the MIO-10 and it's ability to handle multiple identical class compliant usbMidi devices. In one setup I had several Teensy (3.2 - 4.0) usbMidi devices...
  45. Replies
    52
    Views
    13,214

    I'm running Win 7, Reaper,PreSonus, a MIO-10 and...

    I'm running Win 7, Reaper,PreSonus, a MIO-10 and Midisport 8X8 interfaces and an assortment of other usbMidi gear and ran into similar headaches when adding Teensy usbMidi devices to the mix.

    When...
  46. Can be done with Midi. This link:- ...

    Can be done with Midi. This link:-

    http://www.midibox.org/dokuwiki/doku.php?id=midi_specification

    Discusses 14 - bit Midi messages and hopefully provides some insight.

    Another useful...
  47. Replies
    19
    Views
    717

    Should have added ground bounce and overshoot as ...

    Should have added ground bounce and overshoot as search terms. My oversight.

    IMXRT1060CEC_rev0_1.pdf, page 36 Table 25 indicates that Output Pad Transition Times, rise/fall could be anywhere...
  48. Replies
    19
    Views
    717

    A thought perhaps, can't see anything resembling...

    A thought perhaps, can't see anything resembling sharp edge decoupling on any T4.1 pins on the layout.
  49. Wow, that's a big list. Similar here. Started...

    Wow, that's a big list.

    Similar here. Started building a Midi controller using a Mega 2560 and filled it up and yes, you can do all of those things with Teensy and I suggest looking at the T3.5,...
  50. Thank you for those tips. I get it that the...

    Thank you for those tips. I get it that the polling rate needs to be slowed to let bigger values through theoretically giving some range of values related to rotation speed.

    Realized some time...
Results 1 to 50 of 155
Page 1 of 4 1 2 3 4