4

Hi I Have some problems finding the right information about this and would be glad if someone could point me in the right direction. How do you code a midifile? e.g. how can I write a snippet that plays a random tone for 1 second. Basically what I would need to get done is representing differnet midi melodys as vectors of some sort? How can I do this..

4

1 に答える 1

10

また、MIDI ファイルの仕様 (クイック検索でこれが見つかりました) を読んで、自分でファイルを生成することもできます。ライブラリを使用する方がおそらく簡単ですが、特に MIDI の仕組み (ノート オン/ノート オフ メッセージなど) を既に知っている場合は、MIDI ファイル形式はそれほど複雑ではありません。

于 2010-06-02T10:22:43.383 に答える