Finally, three example programs are described, a MIDI file player, a MIDI input, and MIDI output.
文章最后描述了三个程序实例,MIDI文件播放器,MIDI输入和MIDI输出。
I'll use code examples from Monk and short MIDI file examples created by Monk to illustrate my points.
我将用Monk的代码示例和短的MIDI文件示例说明我的观点。
A MIDI file to play can be selected using the select button which displays a file selection dialog box.
可以使用Select按钮来选择要播放的MIDI文件,该按钮会弹出一个文件选择对话框。
This was especially dangerous, because Internet Explorer, when it viewed a Web page with a link to a MIDI file, would automatically load the file and try to play it.
这是特别危险的,因为InternetExplorer在察看一个包含MIDI文件链接的网页时,会自动加载那个文件并播放它。
The code fragment above displays a MIDI file as background music for a web page.
上述代码片断显示了作为网页背景音乐的MIDI文件。
If you don't have a keyboard, you can try it out while BIAB (or your MIDI file) is playing but it's much harder.
如果你没有键盘,也可以在BIAB演奏时试一试,不过那难得多。
If you don't have a keyboard, you can try it out while BIAB (or your MIDI file) is playing but it's much harder.
如果你没有键盘,也可以在BIAB演奏时试一试,不过那难得多。
应用推荐