用 Java 编写 Midi 文件
我有一个项目想要编写 MIDI 文件。就音符而言,没有什么太复杂的——没有弯音、没有调号、设定速度等。仅使用标准的 a、b、c 音符。例如,我想写 3 个音符 a、b、c 作为 16 分音符。
这可能不是一件容易的事。
但如果没有的话,有一些好的 MIDI 结构网站吗?
还应该提到我不想使用 javax.sound.midi。我想将 midi 写为“字符串”,然后将其保存出来。
I have a project where I want to write midi files. Nothing too complicated as far as the notes go -- no pitch bends, no key signature, set tempo etc. Using just standard a,b,c notes. For example, I want to write 3 notes a,b,c as 16th notes.
This may not be an easy task.
But if not are there some good sites for midi structure?
Should also mention I do not want to use javax.sound.midi. I want to write the midi as a "string" then save it out.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我正在使用 http://www.jfugue.org 作为我的 MIDI 生成应用程序 http://github.com/okohll/TextSound。例子:
I'm using http://www.jfugue.org for my MIDI-generating app http://github.com/okohll/TextSound. Example:
如果您想浏览/使用,Google Code 上有 MIDI 的 Java 实现:
http ://code.google.com/p/android-midi-lib/
There's a Java implementation of MIDI up on Google Code if you want to browse/use it:
http://code.google.com/p/android-midi-lib/