• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MIDISysexSendRequest appropriate for MIDI SDS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDISysexSendRequest appropriate for MIDI SDS?


  • Subject: Re: MIDISysexSendRequest appropriate for MIDI SDS?
  • From: Fredrik <email@hidden>
  • Date: Sun, 15 Feb 2009 05:09:11 +0100




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.

Ok I see, I was thinking of the SDS header, which is in it self a request to begin SDS transmission AFAIK.




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.


That´s good to know, and perhaps simpler to start with.


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.

Ok, so I think I will try to send the request with MIDISend, then establish the handshake, and after that resort to MIDISysexSend to send the actual data and take advantage of the progress info of that function.




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.


I see, I figured I needed to ask in case it could be used for that purpose. I´ll think of something.



Thanks Kurt,



--
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
References: 
 >MIDISysexSendRequest appropriate for MIDI SDS? (From: Fredrik <email@hidden>)
 >Re: MIDISysexSendRequest appropriate for MIDI SDS? (From: Kurt Revis <email@hidden>)

  • Prev by Date: Re: MIDISysexSendRequest appropriate for MIDI SDS?
  • Next by Date: Re: MIDISysexSendRequest appropriate for MIDI SDS?
  • Previous by thread: Re: MIDISysexSendRequest appropriate for MIDI SDS?
  • Next by thread: Re: MIDISysexSendRequest appropriate for MIDI SDS?
  • Index(es):
    • Date
    • Thread