• 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: SysEx Progress
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SysEx Progress


  • Subject: Re: SysEx Progress
  • From: Shaun Wexler <email@hidden>
  • Date: Tue, 28 Sep 2004 00:17:44 -0700

On Sep 28, 2004, at 12:07 AM, Peter Krajcik wrote:

Hello,

this question has probably been answered before, but search on apple-dev doesn't work ...

1. What is the recommended method to monitor progress of MIDISendSysex() ?

I have to send large amount of SysEx data (10k+) and need to show progress bar.

My idea was to send my data in junks (let's say 512 bytes) and after
each call to CompletionProcedure set pointer to start of data accordingly
and increase my progress bar after each call to CompletionProcedure.

Opposite. Install a timer on the main thread to poll the % completion from the MIDISysexSendRequest. You probably only need to update your view about 4 times per second for nice smooth motion.
--
Shaun Wexler
MacFOH
http://www.macfoh.com


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >SysEx Progress (From: Peter Krajcik <email@hidden>)

  • Prev by Date: SysEx Progress
  • Next by Date: Measuring audio signal strength
  • Previous by thread: SysEx Progress
  • Next by thread: Re: SysEx Progress
  • Index(es):
    • Date
    • Thread