• 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: Sending large sysex dump
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending large sysex dump


  • Subject: Re: Sending large sysex dump
  • From: Doug Wyatt <email@hidden>
  • Date: Sun, 6 Feb 2005 14:31:37 -0800

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
References: 
 >Sending large sysex dump (From: "Peter Karlsson" <email@hidden>)

  • Prev by Date: Sending large sysex dump
  • Next by Date: RE: Re: Sending large sysex dump
  • Previous by thread: Sending large sysex dump
  • Next by thread: RE: Re: Sending large sysex dump
  • Index(es):
    • Date
    • Thread