AudioKit - Midi - 如何在没有事件的情况下确定知道的状态? [英] AudioKit - Midi - How do I determine the state of a know without events?

查看:43
本文介绍了AudioKit - Midi - 如何在没有事件的情况下确定知道的状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

抱歉,这可能是一个愚蠢的问题,但我是 MIDI 新手并且没有音乐家 - 我想弄清楚我是否可以将 MIDI 控制器用于其他一些控制应用程序.

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.

我知道如何在 iOS 中使用 AudioKit.midi 设置 MIDI 系统和接收 MIDI 事件.

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

我想知道是否可以在不发送事件的情况下确定 Midi Knob 的状态?一旦我开始转动旋钮,我就会收到事件——所以目前为了初始化系统,我必须转动每个按钮,以便它发送一个事件,并且控制器设置正在我的软件中反映出来.我的控制器有 16 个旋钮,我似乎认为我遗漏了什么?这一定更容易,不知何故...

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 :-)

谢谢!

推荐答案

MIDI 规范没有定义任何这样的机制.

The MIDI specification does not define any such mechanism.

某些设备允许读取大多数控件的当前状态,但只能读取供应商特定的 SysEx 消息.

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

这篇关于AudioKit - Midi - 如何在没有事件的情况下确定知道的状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆