在C#中发送MIDI SYSEX消息
我正在尝试弄清楚如何在单击按钮时发送一个简单的Winform应用,该应用程序发送SYSEX MIDI消息,所以按钮1发送: -
F0 7F 22 02 50 01 31 00 31 00 31 F7
按钮2发送:
F0 7F 22 02 50 01 32 00 31 00 31 F7
依此类推...
我能够找到很多信息关于发送笔记和仪器数据,但与Sysex并不是什么。我玩过Sanford参考文献,这似乎使我更加接近,但对Sysex的用法仍然没有。
I'm trying to figure out how to make a simple Winform app that sends a SysEx MIDI message when I click a button, so button 1 sends:-
F0 7F 22 02 50 01 31 00 31 00 31 F7
Button 2 sends:
F0 7F 22 02 50 01 32 00 31 00 31 F7
and so on...
I was able to find lots of info about sending notes and instrument data but nothing really about sysex. I have played with the Sanford reference which seemed to get me closer but still nothing about Sysex usage.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有各种MIDI库可用,大多数以一种或另一种形式支持SYSEX。我主要使用
管理> manded-midi
尽管我' VE之前使用了Sanford套餐。至少在托管中间中,发送SYSEX消息与获取
imidioutput
(通常来自MidiaCcessManager
)一样简单,然后调用send> send
方法。例如:There are various MIDI libraries available, and most support SysEx in one form or another. I've mostly used the
managed-midi
package although I've used the Sanford package before.In managed-midi at least, sending a SysEx message is as simple as obtaining an
IMidiOutput
(usually from aMidiAccessManager
) and then calling theSend
method. For example: