Hello!
I'm looking for a solution to play MIDI instruments in a controlled way. I don't want mid-music playback! I want to play midi instruments directly from the program. It's like making a piano application for Android. Under Windows, a midi driver runs, which can be replaced, and any soundbank can be assigned to it. The application that provides playback is completely independent of the midi driver, it only gives midi commands, and Windows plays them.
How does this work on Android?
Because I suspect that even if there is some 'basic midi driver' on Androids, it can result in differences and incompatibilities. I'm looking for a solution where I define the soundbank myself (sf2 file, for example FluidSynth), and it ensures usability.
I also thought about Soundpool, but since the playback speed there is a maximum of 2, (that's 1 octave), so if I were to edit wavs per sound sample and I wanted 4 octaves (not much, but enough), and the midi contains 128 sound samples, then I would have to edit more than 500 sound samples separately, one by one. This could work, but it's not elegant, and the preparation would be a pain.
So is there an engine for Android that allows me to specify an sf2 soundbank and play them as I like?
I'm looking for a solution to play MIDI instruments in a controlled way. I don't want mid-music playback! I want to play midi instruments directly from the program. It's like making a piano application for Android. Under Windows, a midi driver runs, which can be replaced, and any soundbank can be assigned to it. The application that provides playback is completely independent of the midi driver, it only gives midi commands, and Windows plays them.
How does this work on Android?
Because I suspect that even if there is some 'basic midi driver' on Androids, it can result in differences and incompatibilities. I'm looking for a solution where I define the soundbank myself (sf2 file, for example FluidSynth), and it ensures usability.
I also thought about Soundpool, but since the playback speed there is a maximum of 2, (that's 1 octave), so if I were to edit wavs per sound sample and I wanted 4 octaves (not much, but enough), and the midi contains 128 sound samples, then I would have to edit more than 500 sound samples separately, one by one. This could work, but it's not elegant, and the preparation would be a pain.
So is there an engine for Android that allows me to specify an sf2 soundbank and play them as I like?