I have this code with sonic-pi from a Raspberry Pi 3 with fresh install of Stretch and Sonic Pi 3.0.1.
# Welcome to Sonic Pi v3.0.1
live_loop :midi_piano do
note, velocity = sync "/midi/go:keys_midi_1/0/1/note_on"
synth :piano, note: note, amp: velocity / 127.0
end
I assume the system is swamped with MIDI clocks and becomes unresponsive until I unplug the Roland Go:Keys 61k with V.1.21 firmware for Scratch support.
The Go:keys has some unusual MIDI implementation features and Roland is not revealing them.
I have been succesfully testing on Ubuntu Studio 17.10 with Rosegarden and other MIDI tools.
When I connected it to the Raspberry Pi 3 running Sonic Pi 3.0.1 the CUE window filled with
/midi/go:keys_midi_1/1/clock
I have also seen the keyboard generate 5 channels of MIDI note on / off events when put into LOOP MIX
mode.
Also each of the 8 instrument groups buttons select a separate MIDI channel.
Who knows if this is a typical MIDI implementation or going to be a beast to support ?