Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

playing Midi notes (not files) in android

Tags:

android

midi

Working on a simple keyboard for android. I found android-midi-lib from Google very useful and powerful but it seems to me it can only play midi files, but not real time midi notes as they get pressed on the keyboard. Is there a direct way of doing this in android or what's the work around, create a midi file for every note that gets pressed?

Thanks!

SG

like image 686
sebgar Avatar asked Mar 19 '14 16:03

sebgar


1 Answers

I've had quite a bit of success using the Bare Bone MIDI Driver written by bill the farmer (github project here).

You'll have to deal with some issues and also extract the low-level library from an emulator/Android device but it works very well (if you want to see it in action, take a look at my app in my profile).

There's also pd Library for Android (github link) which got MIDI support just about a year ago (so sayeth Peter Brinkmann, its creator)

like image 69
DigCamara Avatar answered Oct 09 '22 15:10

DigCamara