English 中文(简体)
自行申请我USB MIDI装置
原标题:Making my own application for my USB MIDI device
  • 时间:2011-11-14 21:16:50
  •  标签:
  • usb
  • midi

我想尝试和提出我自己申请的Nacturn号,该地表是USJ控制器。 该应用软件与它互动,向Traktor、Ableton和古巴等软件发送了MIDI信息。

我知道li布,但远到我。 我成功地安装了这台装置,与我的装置进行互动,但在那里却停下来。

I m after some suitable reading material basically. USB specs, MIDI specs and such. If I m honest the full USB 2.0 spec looks like it holds loads of stuff I don t need. Just looking for something interesting to do now that I ve finished my degree (Computer Science). My current programming knowledge is C++ and mainly C#.

在如何完成这项任务方面,可以采取一些行动。

edit:

最新信息是,将一些电离层装置管理员的电离层包括在内。

www.un.org/Depts/DGACM/index_spanish.htm 硬件识别器:

USVID_1235&PID_000A&REV_0009

USVID_1235&PID_000A

<<>Compatible IDs:

USClass_FF&SubClass_00&Prot_00

USClass_FF&SubClass_00

USClass_FF

<<>Device par:

MEDIA

问题回答

页: 1 人类发展指数可能比你想要处理的低一个抽象的层次。 反之,我建议找到一个好的MIDI框架,并通过MIDI与装置互动。

关于C++,,Juce可能是行走的道路,因为你没有提到目标平台或任何其他具体要求。

If you want to go the .NET route, the easiest way to get started is with the C# MIDI Toolkit code:

在那里,你找到了打开装置、阅读投入和写作产出的所有基础。 或者,NAudio有一些MIDI课程,但有些内容不完整。

在您的发展中,你要求获得参比,用于MIDI spec

http://www.midiox.com/“rel=“nofollow”>MIDI-OX。 事实上,我建议,在你开始编码之前,你向MIDI-OX开火,并利用它来传播来自新谢意的信息。 它将给你一个良好的想法,了解“新意”带来的什么。 http://www.midiox.com/index.htm?

Done... Kivention, but I vestart on this-030 - I personal would linux support. 我是 p,但我只敢于方案规划。

可在https://github.com/dewert/nocturn-linux-midi查阅基本功能。 倒置的伪装(即我本来就能够做的跳跃)似乎在做任何事情。 他的代码为

我正在使用PyPortMIDI和PyUSB,我认为两者都是对等同物的总结。 我认为,这都是视窗上的ok,但已经尝试过。

我现在看上去的是强奸,但这是证据。 现在,我会以阅读和适当的配置选择,妥善开展工作。

Old thread, but I ve just recently started looking into this.

我看看了德韦特写的“沙尔”申请。 有趣的是,它指出,Nocturn emits事实上是MIDI,尽管它没有将自己登记为US MIDI装置。

But looking at the actual data coming from the device, it actually emits control change messages (0xB0 controller value) for everything. Also the control commands that are sent to it are also control change messages, albeit only the data bytes, as the Nocturn seems to support MIDI running status (i.e. when sending multiple control change messages, it is not necessary to repeat the data byte).

确实,研究神学初始化数据实际上只是控制变化的摇篮:从0xb0开始,从那里获得的数据有两点。 举例来说, in鱼中最后两根是0x7f 0x00,这只是为了最正确的前方纽顿而从LLLL转而去。 (由于初始化而出现一些微妙的情况,因为Nocturn有时会引出某些似乎属于某种时间范围的事件的信息,而行为变化取决于是否发出了初步化指示。)

Using MIDI-like messages makes sense, as Novation would be well aware of the MIDI protocol, so it would be easiest for them to use it for the communication even if the device is not strictly a MIDI device.

请注意,加固器只是发送了价值1或127,即+1或-1级,因此即使有几台三维绘图软件,它实际上并不有用。 (实际上,如果迅速采取行动,可以取得3或125份,其中125份相当于3-3。) 唯一具有持续价值的控制器是电梯,在移出时具有8比值。

I suppose you ll want to know about USB classes in general and USB MIDI class in particular. The latter is the best what you can hope for in case you don t posess documentation for some proprietary protocol (whether it s used there instead).





相关问题
Question about Process communication over USB cable

I have some questions regarding communication over USB cable in Linux, in a Host-Target Device environment.(USB2.0) Please help as we are stuck for the below imiplementation. We have a host PC ...

Turn on PC with USB-device

I want to be able to turn my PC on and off using an IR-remote sensor that is connected via USB to the PC. The sensor is a custom PCB implemented with an AVR microprocessor and V-USB software USB-...

Is there software or code to alter USB power output

I had a look at this and this but no one sounded particularly sure of their ideas and I m kind of after a different thing anyway. I want to hook my usb power cables (red and black) up to my phone so I ...

Monitor USB traffic

I want to view all traffic going out the USB, with the potential to block data transactions to/from the USB based on content policy. How would this be done? Any way to achieve this in C#, or is it ...

热门标签