BelaPlatform / supercollider

an environment and programming language for real time audio synthesis and algorithmic composition
GNU General Public License v3.0
14 stars 8 forks source link

MIDI on Bela #3

Open sensestage opened 7 years ago

sensestage commented 7 years ago

MIDI on Bela in sclang seems not to be working. It may be an issue with the alsa backend not registering the MIDI devices properly.

sensestage commented 7 years ago

To see devices in SC:

MIDIIn.connectAll;
sensestage commented 7 years ago

Maybe a solution is reading in MIDI not via Alsa, but via the Bela MIDI implementation.

miguel-negrao commented 7 years ago

So, where exactly is the problem ? Is the kernel missing something ?

I can get MIDI from the bela ide using c++, I see the values coming in.

giuliomoro commented 7 years ago

for some reason, USB devices do not show up as MIDI sequencer devices with aconnect -io

workaround: http://forum.bela.io/d/168-using-alsa-midi-with-supercollider/11

giuliomoro commented 6 years ago

@sensestage you mentioned it would be nice to have a MIDI UGen so to avoid the overhead of sclang/scsynth communication for MIDI. If you could draft such a UGen, I could then add in the lower level MIDI stuff.

giuliomoro commented 3 years ago

Newer Bela images (end of 2017 onwards) have a newer kernel which supports MIDI devices fine as far as I can tell. A basic MIDI example would be nice to add, anyone?