Using MIDI keyboard to output sound

Hi, I’m working on a project and trying to output sound with a MIDI keyboard. At the moment, I’m able to get sound by clicking on the GUI keyboard or by using my computer keyboard, but when I plug in a MIDI keyboard the keys aren’t recognized. I’ve been looking at the JUCE synthesizer and MIDI demos but haven’t been able to figure it out. If someone could help troubleshoot this, that would be greatly appreciated!

Have a look at the Gist in this post here:

In short: You can use an AudioProcessorGraph to add and connect your needed nodes together.

1 Like

Thanks, I was able to get it to work!!

Another question if I may, would you possibly know how to playback a midi buffer? I’m able to record a series of midi messages and put them in a buffer, but I’m not able to play back the notes.