如何通过操作 MIDI 数据来更改音频文件的音高
我有音频文件的 midi 文件。我想知道应该更改该 MIDI 文件的哪些组件,以便以比原始音高更高/更低的音调播放该音频文件
I have the midi file for an audio file . I want to know what components of that MIDI file should I change in order to play that audio file at a higher/lower pitch than the original pitch
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你的问题很难理解。 MIDI 文件不“播放”音频文件。我假设您正在渲染 MIDI 文件以创建音频文件。
要更改 MIDI 文件的音高,请将 MIDI 文件中的所有音符单独移调为更高或更低的音高。
David 的 MIDI 规范 可能可以作为快速参考。
Your question is difficult to understand. MIDI files don't "play" audio files. I assume you are rendering the MIDI file to create an audio file.
To change the pitch of your MIDI file, transpose all notes individually in the MIDI file to a higher or lower pitch.
David's MIDI spec might be useful as a quick reference.
在MIDI标准中,您可以通过发送弯音短消息来控制音高。
Java 中的应该是这样的:
In the MIDI standard, you can control the pitch by sending a pitch bend short message.
This is how it should look like in Java: