AudioKit - Midi - How do I determine the state of a know without events?

点点圈 提交于 2021-01-29 12:29:22

问题


Sorry, this may be a dumb question, but I am new to MIDI and no musician - I am trying to figure out if I can use a MIDI Controller for some other control application.

I know how to set up the MIDI system and receive MIDI events using AudioKit.midi in iOS.

I am trying to find out if I can determine the state of let's say a Midi Knob, without it sending events? As soon as I start turning a knob I get events - so at the moment in order initialize the system I have to turn every button so it sends an event and the controller setting is being reflected in my software. The controller I have has 16 knobs and I seem to believe that I am missing something? This must be easier, somehow...

I could use relative knobs and keep the state in my code, but my controller wakes up with all dials in absolute mode - so I am thinking there has to be a way?

Any hint would be appreciated :-)

Thanks!


回答1:


The MIDI specification does not define any such mechanism.

Some devices allow to read the current state of most controls, but only with vendor-specific SysEx messages.



来源:https://stackoverflow.com/questions/62642059/audiokit-midi-how-do-i-determine-the-state-of-a-know-without-events

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!