gpt4 book ai didi

java - 从 MP3/MIDI 文件中提取音频数据

转载 作者:行者123 更新时间:2023-11-30 11:49:47 25 4
gpt4 key购买 nike

我想制作在该 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com