문제

I would like to test a MIDI app and want to generate some MIDI events without attaching a physical keyboard. Any hints?

도움이 되었습니까?

해결책

If you are using CoreMidi, setup your app to use MIDINetworkSessions. Once you advertise your iPad over the network, use any MIDI sequencer etc to connect to it and send messages over WiFi.

That way you can test without constantly unplugging/replugging things, and while still tethered to Xcode which is a huge bonus.

The other option would be to create an artificial MIDIPacketList and send it directly to your handler, but this is a lot less flexible.

다른 팁

If you mean sending a MIDI event to an iPad, then you could use a simple program like Rondo to play a MIDI file to it.

I suppose you need some source codes to generate MIDI events on iPad.

I found this one. It is a wrapper class of CoreMIDI, and it has source codes of sending/receiving some MIDI events.

RCTMidiLib https://github.com/recotana/RCTMidiLib

I connect iPad and Mac wirelessly, and successfully send/receive MIDI events using the test application on iPad.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top