Android 6.0+: No Sound Using the New MIDI API

前端 未结 1 1193
时光说笑
时光说笑 2021-01-23 04:14

I am using the new MIDI API in order to play some MIDI notes. However, I am unable to hear any sound, nor any exception is being thrown. The code for the same is as follows:

1条回答
  •  礼貌的吻别
    2021-01-23 04:34

    I couldn't find any indication in the documentation that the new MIDI API actually let you synthesize audio, so, it seems you need to generate the sound yourself.

    Maybe this library might be useful.

    0 讨论(0)
提交回复
热议问题