• 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: of timestamps & midi packets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: of timestamps & midi packets


  • Subject: Re: of timestamps & midi packets
  • From: Philippe Wicker <email@hidden>
  • Date: Thu, 31 Jul 2003 20:06:30 +0200

On Thursday, July 31, 2003, at 06:40 PM, Roy Lovejoy wrote:

> Before I start padding my office, and removing sharp objects &
> shoelaces,
> can someone please tell me if the timeStamp field in the MIDIPacket
> datastructure
> is used during a MIDISend() ??

Yes, it is. You can keep your shoelaces :-))

>
> the data I was sending down sounded like a 50 car pile-up, so I
> reduced the test
> case down to a note on & a note off, the first with a timestamp of
> AudioGetCurrentHostTime(),
> the second with a time stamp of that, plus a rather big number, and
> the sound out of the midi device
> was still just a blip (not on for any perceivable duration).
>
> with MIDISend(), do _I_ need to sequence everything, or does timeStamp
> really mean something?

The time unit (see a little bit further) is very very small, so a
"rather big number" may still be a rather short time :-)

>
> And though I'm a MIDI newbie (this time around.. did the whole MIDI
> Manager thing, back in the day),
> I always do google/adc research before posting on any list, but i'll
> be d@mned if I couldn't find a single reference that said what unit
> MIDITimeStamp was in. (milliseconds? microseconds? MTC?)

The time unit is a division of the cpu clock tick (depends on the
machine and I've been said it is a function of the bus clock, something
around 1/20th for my DP867, don't remember exactly). To determine the
actual value of this clock tick call AudioGetHostClockFrequency().

>
> any and all help appreciated.
> _______________________________________________
> 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.
>
>
Philippe Wicker
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.

  • Follow-Ups:
    • Re: of timestamps & midi packets
      • From: Roy Lovejoy <email@hidden>
References: 
 >of timestamps & midi packets (From: Roy Lovejoy <email@hidden>)

  • Prev by Date: Re: AUGraph and DP macs
  • Next by Date: Re: of timestamps & midi packets
  • Previous by thread: of timestamps & midi packets
  • Next by thread: Re: of timestamps & midi packets
  • Index(es):
    • Date
    • Thread