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

Re: question about outCurrentMeasureDownBeat in the Musical Time Callback


  • Subject: Re: question about outCurrentMeasureDownBeat in the Musical Time Callback
  • From: William Stewart <email@hidden>
  • Date: Tue, 16 Mar 2004 16:12:51 -0800

On 16/03/2004, at 3:19 PM, James Coker wrote:

> 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?

Yes - but (as the docs describe I think) the downbeat could be a
partial number... think of a piece with 3/8 bars

We also consider that quarter notes are a beat.

Bill

>
> 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.
>
>
--
mailto:email@hidden
tel: +1 408 974 4056

________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
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: Jeremy Sagan <email@hidden>
References: 
 >question about outCurrentMeasureDownBeat in the Musical Time Callback (From: James Coker <email@hidden>)

  • Prev by Date: Re: Revving of CoreAudio SDK
  • Next by Date: Re: question about outCurrentMeasureDownBeat in the Musical Time Callback
  • Previous by thread: question about outCurrentMeasureDownBeat in the Musical Time Callback
  • Next by thread: Re: question about outCurrentMeasureDownBeat in the Musical Time Callback
  • Index(es):
    • Date
    • Thread