RE: Re: Sending large sysex dump
RE: Re: Sending large sysex dump
- Subject: RE: Re: Sending large sysex dump
- From: "Peter Karlsson" <email@hidden>
- Date: Mon, 7 Feb 2005 09:02:56 +0100
The memory area is 100000 bytes, and my dump only 8160 bytes.
It seems to be some kind of limit here. I can send 262 bytes with MIDISend,
if I try to send more then that nothing will be sent. Can someone please
tell me why?
Peter
Ursprungligt meddelande
>
On Feb 6, 2005, at 8:00, Peter Karlsson wrote:
>
> Dear list!
>
>
>
> I have some problems sending a large sysex dump to my synth.
>
>
>
> First I send the header, F0, 0F, 02, 00, 02
>
>
>
> Then I send the content of a memory area, the pointer to that area is
>
> defined like this:
>
> Byte *out_ptr;
>
>
>
> And the code to send the memory area (code fragment)
>
> packetPtr = MIDIPacketListAdd(&pktlist, sizeof pktlist, packetPtr, 0,
>
> number, out_ptr);
>
> MIDISend(gOutPort, gDest, &pktlist);
>
> // This is 8160 bytes
>
>
>
> Then I send F7
>
>
>
> But the only thing that seems to be sent is the header and the F7,
>
> why is
>
> my memory area not sent?
>
>
MIDIPacketListAdd probably failed, possibly because your memory area
>
isn't big enough? If it returned NULL, it failed.
>
>
Doug
>
>
>
_______________________________________________
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