Csound Csound-dev Csound-tekno Search About

[Csnd] CsoundMidi setMidiInCallbacks:

Date2013-11-04 17:40
FromJason Timm
Subject[Csnd] CsoundMidi setMidiInCallbacks:
Hi Steven,

I was hoping, please, you could offer a little guidance on using midi callbacks within a controller in an IOS app. Specifically, harvesting program change data. I’m pretty familiar with midi byte code and I’m confident I can parse the MIDIPackets. My confusion is with setting up CsoundMidi and where and how the packets can arrive in my controller.

Maybe this isn’t possible. I dunno.

Any help is appreciated.

Jason

Date2013-11-07 16:04
FromSteven Yi
SubjectRe: [Csnd] CsoundMidi setMidiInCallbacks:

Hi Jason,

I'm catching up with emails. Unfortunately I'm not at my computer at the moment,  but if I remember correctly the code in the Csound MIDI manager might be of use here. You would probably want to do something similar,  opening coremidi and adding a callback,  then doing the midi byte handling in your controller. Is that along the lines of what you were thinking?

Steven

On Nov 4, 2013 12:41 PM, "Jason Timm" <jasontimm@me.com> wrote:
Hi Steven,

I was hoping, please, you could offer a little guidance on using midi callbacks within a controller in an IOS app. Specifically, harvesting program change data. I’m pretty familiar with midi byte code and I’m confident I can parse the MIDIPackets. My confusion is with setting up CsoundMidi and where and how the packets can arrive in my controller.

Maybe this isn’t possible. I dunno.

Any help is appreciated.

Jason