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. 回答1: There are two libraries that will be used to play a midi file using