0

32u4 MIDI
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

32u4 MIDI

by amowry1 on Sun Apr 15, 2018 11:58 pm

What’s the recommended way to make the ItsyBitsy 32u4 a USB MIDI device? Is the USBMIDI library the best way? Does TeeOnArdu work on it (3.3v/8Mhz version), and if so is that preferable? Thanks!

amowry1
 
Posts: 5
Joined: Wed Mar 04, 2015 1:40 pm

Re: 32u4 MIDI

by adafruit_support_mike on Mon Apr 16, 2018 5:53 am

The TeeOnArdu board support package will work. It's written for the ATmega32u4 microcontroller rather than any specific version.

We use TeeOnArdu, but the USBMIDI library might work too.. I'm afraid we don't know much about that one. If it does, the one you choose is pretty much a matter of personal taste. If you like one interface more than another, go for it.

adafruit_support_mike
 
Posts: 53993
Joined: Thu Feb 11, 2010 2:51 pm

Re: 32u4 MIDI

by amowry on Mon Apr 16, 2018 11:50 am

When I selected TeeOnArdu (Leo on Teensy Core) it uploaded once but now there are no ports available in Arduino IDE and Windows sees it as an unknown device. Is there an additional step that I should have taken?

I tried the solution here, but the reset button seems to have no effect:

viewtopic.php?f=19&t=118697&p=592731&hilit=teeonardu#p592731

amowry
 
Posts: 8
Joined: Fri Nov 12, 2010 1:59 pm

Re: 32u4 MIDI

by amowry on Mon Apr 16, 2018 12:18 pm

I realized that I have to double-click the reset button during upload to enter the bootloader, and it seems to work now when I select Flora (TeensyCore).

It may be a mistake in the ItsyBitsy tutorial where it says to click the reset button to enter the bootloader--it seems that you have to double-click it.

amowry
 
Posts: 8
Joined: Fri Nov 12, 2010 1:59 pm

Re: 32u4 MIDI

by adafruit_support_mike on Tue Apr 17, 2018 4:11 am

I'll check on that. The 32u4 bootloaders usually take a single click.

Glad to hear you got it working!

adafruit_support_mike
 
Posts: 53993
Joined: Thu Feb 11, 2010 2:51 pm

Re: 32u4 MIDI

by amowry on Tue Apr 17, 2018 11:39 am

Thanks! One more question, if I may: TeeOnArdu doesn't seem to have the Serial + MIDI option that Teensy normally has. Are there any tricks for debugging sketches that use MIDI, since the serial port isn't available, and if you switch to serial only you have to comment out all the MIDI code? Is sending debugging info using MIDI commands the only option?

amowry
 
Posts: 8
Joined: Fri Nov 12, 2010 1:59 pm

Re: 32u4 MIDI

by amowry on Tue Apr 17, 2018 12:13 pm

I ended up trying the MIDIUSB library instead, and that seems to work fine with ItsyBitsy and lets you use MIDI and serial simultaneously.

amowry
 
Posts: 8
Joined: Fri Nov 12, 2010 1:59 pm

Re: 32u4 MIDI

by adafruit_support_mike on Wed Apr 18, 2018 2:20 am

Glad to hear you got things working. Happy hacking!

adafruit_support_mike
 
Posts: 53993
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.


cron