Arduino Forum

Using Arduino => Audio => Topic started by: audioguru67 on Jan 11, 2019, 02:47 am

Title: How to RECEIVE MIDI Program Change with Arduino
Post by: audioguru67 on Jan 11, 2019, 02:47 am
Hi everybody.

I've begun working with MIDI and my Arduino, I'd like to receive MIDI Program Change, there's a ton of tutorial to send Program Change but I haven't found one on how to receive.

My question is, using the MIDI library what would be the syntax to listen to PGM Change and for test purpose, display it in the serial window, tough I don't think I'll be able to use it as MIDI does have a weird serial speed (31250).

Pascal
Title: Re: How to RECEIVE MIDI Program Change with Arduino
Post by: gbafamily on Jan 11, 2019, 08:40 am
The MIDI library includes an example of receiving Program Change.

https://github.com/FortySevenEffects/arduino_midi_library/blob/master/examples/Input/Input.ino (https://github.com/FortySevenEffects/arduino_midi_library/blob/master/examples/Input/Input.ino)
Title: Re: How to RECEIVE MIDI Program Change with Arduino
Post by: audioguru67 on Jan 11, 2019, 02:28 pm
Ho Woaw!!!!

It's not the same example file that I was working with! Thanks a lot, I'm going to do some test right now!

Pascal