Re: MusicSequence CAShow statement and beats
Re: MusicSequence CAShow statement and beats
- Subject: Re: MusicSequence CAShow statement and beats
- From: Doug Wyatt <email@hidden>
- Date: Mon, 27 Feb 2006 14:14:46 -0800
As you know, a MIDI file's time units are the PPQ in the MThd header.
MusicSequence uses beats as floating point numbers, so it uses the
PPQ in making that translation from fractions of a beat to floating
point beats when reading a MIDI File.
MusicSequence does not expose the original file's PPQ, which is
especially unfortunate if you want to modify the file and write it
back out at the same PPQ as the original, since you get to/have to
specify a PPQ when saving it.
Please feel free to write a bug.
Doug
On Feb 27, 2006, at 7:55, Ian OKeeffe wrote:
Me again!
CAShow seems to print out a MusicSequence of a MIDI file showing
beats, how can I get at this beat information directly? If it can
isolate beats, it must be able to get at the Division statement in
the MThd header (i.e. MThd 1 1 120).
If anyone has any code examples they would be much appreciated.
Kind regards,
ian0
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
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