Friday, 14 June 2019

Android - Play SoundFont with MIDI file

I have one midi file and I have played that midi file using MediaPlayer in android using the following code:

val mMediaPlayer = MediaPlayer.create(context, R.raw.test_ring_1)

mMediaPlayer?.start()

It default play with one instrument like piano, now I want to add soundfont (sf2/sf3) file to play the midi notes with different instrument and with reverberation effects.

Please guide a way to achieve expected result.



from Android - Play SoundFont with MIDI file

No comments:

Post a Comment