Re: MIDISysexSendRequest appropriate for MIDI SDS?
Re: MIDISysexSendRequest appropriate for MIDI SDS?
- Subject: Re: MIDISysexSendRequest appropriate for MIDI SDS?
- From: Kurt Revis <email@hidden>
- Date: Sat, 14 Feb 2009 19:32:19 -0800
On Feb 14, 2009, at 6:20 PM, Fredrik wrote:
I have started to experiment with MIDI sample dump and would like to
know if MIDISysexSendRequest will work
since the SDS header seems to be specific for that purpose.
SDS messages are just sysex, so yes, you can use MIDISendSysex() if
you like.
You can also send sysex using MIDISend() if you want. There is no
requirement that sysex be sent only via MIDISendSysex(). The
advantage of MIDISendSysex() is that it gives you progress information
as the send progresses, and lets you cancel in the middle of the
transmission. If you are sending only a short message -- for instance,
an SDS "dump request" message -- you probably don't need any of that.
Can I somehow send a SDS request that I have made myself first, wait
for an ack, and then use
the MIDISysexSendRequest and MIDISysexSend to send the sound data?
Yes, but you need to implement it. There is nothing in CoreMIDI that
will do the bidirectional handshaking for you.
Also, regarding the re-packing of sound data into 7bit words. Could
kAudioFormatMIDIStream be used for this purpose?
I don't think that's what it's for.
http://lists.apple.com/archives/coreaudio-api/2003/Sep/
msg00223.html
I'm pretty sure the packing of data into SDS messages is, again, up to
you to implement.
--
Kurt Revis
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden