Android Question [solved] how to use android.media.midi in b4a?

Maodge

Member
Licensed User
hi,
I want generate music dynamically in app. and I found android.media.midi .
My question is :
how to use android.media.midi in my B4A project? Does B4A have similar library?
because android.media.midi added in API level 23, do i need to design similar midi lib if i want app runs on api level less than 23 ?
Is there any another way to realize generate music dynamically(MIDI music) in app ?
Thanks.
 

Ohanian

Active Member
Licensed User
Longtime User
hi,
I want generate music dynamically in app. and I found android.media.midi .
My question is :
how to use android.media.midi in my B4A project? Does B4A have similar library?
because android.media.midi added in API level 23, do i need to design similar midi lib if i want app runs on api level less than 23 ?
Is there any another way to realize generate music dynamically(MIDI music) in app ?
Thanks.

Hi,

https://www.b4x.com/android/forum/pages/results/?query=midi
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
Android Media Midi is a step in the right direction for Android, it provides the framework to allow attaching and communicating with devices. What it currently lacks is the ability to play midi data in real time ( a sequencer). This makes using it for anything other than passing through data (from a controller to another device that can play the midi) cumbersome.

You can take a look at the B4a MidiSystem library and it's dependencies and see if that provides what you are after:
 
Upvote 0
Top