我想制作在该 MP3/MIDI 文件中使用“音频事件”(我不知道如何正确表达)的游戏。例如在 MIDI 中,我需要提取键盘事件。问题是我真的不知道该事件在任何音频格式中的表示形式。这里有人知道它是什么吗?
注意:我用谷歌搜索了 MIDI 文件格式,然后在 http://www.sonicspot.com/guide/midifiles.html 找到了很好的信息。但仍然不知道我想从 MIDI 文件中提取什么信息。
最佳答案
This可能是一个起点 android-midi-lib
This project is mainly for use with Android applications that do not have access to Java's javax.sound.midi library. However, it is a stand-alone Java library with no Android-specific dependencies or considerations.
This code provides an interface to read, manipulate, and write MIDI files. "Playback" is supported as a real-time event dispatch system.
坦率地说我不清楚你的问题,这里是the Midi Events code
关于java - 从 MP3/MIDI 文件中提取音频数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8252774/