It is currently Wed Apr 17, 2024 7:08 pm


Alternatives to Leonardo for MIDI over USB?

Building organ consoles for use with Hauptwerk, adding MIDI to existing consoles, obtaining parts, ...
  • Author
  • Message
Offline

brucerosen

Member

  • Posts: 20
  • Joined: Thu Jun 10, 2021 6:25 pm

Re: Alternatives to Leonardo for MIDI over USB?

PostFri Dec 17, 2021 11:27 am

For anyone following this thread and wondering about keyboard matrix, rows, columns, and why are there diodes anyway, this old posting may well be helpful (it was for me):

https://www.dribin.org/dave/keyboard/one_html/

- Bruce
Offline

Coenraads

Member

  • Posts: 73
  • Joined: Fri Feb 01, 2019 10:13 pm

Re: Alternatives to Leonardo for MIDI over USB?

PostSun Dec 19, 2021 5:35 pm

If you would like some more examples:
Here's an example of the Arduino code for scanning a pedal board wired in a 4x8 matrix.

https://sites.google.com/site/casavanto ... simple-vpo

And if you don't want to bother with a matrix, here's the code for parallel scanning a 61 note keyboard.

https://sites.google.com/site/casavanto ... el-scanner

Apologies for the double spacing: Google's fault.
Offline

brucerosen

Member

  • Posts: 20
  • Joined: Thu Jun 10, 2021 6:25 pm

Re: Alternatives to Leonardo for MIDI over USB?

PostSun Dec 19, 2021 5:48 pm

Thanks for the pointers, John.

For the moment, a matrix implementation would be way overkill for my 2 button set of "pistons". I've gone
ahead and done a breadboard version of this using a Teensy 3.2 (Teensy LC would most likely be way
more than adequate for this, however). Using the MIDIcontroller library from github

https://github.com/joshnishikawa/MIDIcontroller

and the MIDI over USB support that comes with the Teensy, I was able to implement this with less than
10 lines of code. HW was happy to map the two buttons to Stepper + and Stepper -, which was my goal.
Now looking at some way to mount the two buttons somewhere useful.

Thanks again to all respondents!

- Bruce
Offline
User avatar

kaspencer

Member

  • Posts: 767
  • Joined: Wed Jun 11, 2008 4:42 pm
  • Location: UK, England, Wiltshire.

Re: Alternatives to Leonardo for MIDI over USB?

PostSat Feb 19, 2022 6:04 pm

I note that this thread is not exactly current, but I missed it previously.

I have done a lot of work with Arduino and PJRC microcontrolllers in Hauptwerk application and for other purposes.
First, I definitely agrree that MIDI over USB is much more convenient than 5-Pin DIN plugs & sockets. But of course that limits the range of controllers from which you may choose. However, the range is still quite good.
I have used the following devices in my main console OPUS II:
1. Two Arduino Dues for electronically labelling stops. Arduino Dues have 70-odd pins which makes them excellent when many pins are required either for output or input, or both.
2. PJRC Teensy: I have a PJRC Teensy 4.1 in a central control console. This provides organ/combination set/temperament selection, Steepper functions, and MIDI/Audio recording control, as well as driving two full-colour TFT displays showing reqired information, including expression pedal positions. In these roles, the Teensy serves both as MIDI Encoder and Decoder.
There are several others: perhaps the Raspberry Pi Pico should be mentioned as it isthe first Raspberry Pi pure bare metal controller, and it does also feature MIDI over USB.
There is quite al lot of information on my music website (see below) which shows these implementations.

Best wishes,

Kenneth Spencer
Kenneth Spencer
Music Site: http://www.my-music.mywire.org
Project Page: http://www.my-music.mywire.org/opus_ii.htm
Books on Hauptwerk and Computing; Novation Launchpad overlays: http://www.lulu.com/spotlight/kaspencer
YouTube Videos: http://www.youtube.com/kaspenceruk
Previous

Return to DIY organ consoles / MIDI

Who is online

Users browsing this forum: No registered users and 6 guests