Re: dump bounces
Re: dump bounces
- Subject: Re: dump bounces
- From: Kurt Revis <email@hidden>
- Date: Thu, 27 Mar 2003 22:57:20 -0800
On Thursday, March 27, 2003, at 03:21 PM, daniel oberhoff wrote:
i am having trouble trying to make a sysex sampledump to the doepfer
a112. i wrote a little gui using the PYMidi framework which takes care
of some formalities only. i get a MIDIEndpointRef through it, and i use
that to do the dump. i make the rewuest here:
//setup request
MIDISysexSendRequest* req =
(MIDISysexSendRequest*)malloc(sizeof(MIDISysexSendRequest));
req->data = data;
req->destination = [m_endpoint midiEndpointRef];
req->bytesToSend = numBytes;
req->complete = false;
req->completionProc = dump_completion_proc;
NSLog(@"bytes to send: %d", req->bytesToSend);
MIDISendSysex(req);
and i dont get an error result, an error ,message or anything else
there. after a while the completionproc gets called and there the
bytesToSend is 0. i watch my interface closely all the time
but the send-led doesnt light up (the led is ok...).
Your code looks OK to me. A few things to check...
* Does your data start with 0xF0 and end with 0xF7?
* Are you freeing the memory holding the MIDISysexSendRequest too
early? You can't free it until the send is completely finished.
* Can other programs send sysex to that destination? (for instance:
http://www.snoize.com/SysExLibrarian)
* Can you send normal MIDI data to the same destination?
--
Kurt Revis
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.