• 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
question about outCurrentMeasureDownBeat in the Musical Time Callback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

question about outCurrentMeasureDownBeat in the Musical Time Callback


  • Subject: question about outCurrentMeasureDownBeat in the Musical Time Callback
  • From: James Coker <email@hidden>
  • Date: Tue, 16 Mar 2004 16:19:33 -0700

I'm a bit confused about the meaning of the outCurrentMeasureDownBeat parameter
of the GetMusicalTimeLocation callback. The doc says:

outCurrentMeasureDownBeat
The beat that corresponds to the downbeat (first beat) of the current measure that is being rendered.

So I think, ok find out what bar I'm in, and return the beat number for the downbeat. But then
I look at the type if this property, and find it's a float, which implies that returning a non-integer value
is legal, but that doesn't make any sense. Is it just that beats are always represented as Float64
by convention?

Thanks,
Jim
_______________________________________________
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: question about outCurrentMeasureDownBeat in the Musical Time Callback
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Input gain query/set
  • Next by Date: Re: Revving of CoreAudio SDK
  • Previous by thread: Re: Input gain query/set
  • Next by thread: Re: question about outCurrentMeasureDownBeat in the Musical Time Callback
  • Index(es):
    • Date
    • Thread