A Couple of Midi Tempo and TimeSig Questions
A Couple of Midi Tempo and TimeSig Questions
- Subject: A Couple of Midi Tempo and TimeSig Questions
- From: Peter Zegelin <email@hidden>
- Date: Wed, 14 Apr 2004 23:22:42 +1000
Hi,
When Core Audio builds its special Tempo track does it only look for
Tempo and TimeSignature events in track 1 of the Midi file? The reason
I ask is that I've only ever read that Tempo and TimeSig events are
*supposed* to be in track 1 but not that they *must* be in track 1. For
cross platform reasons I'm generating my own list of these events and
want to make sure I'm doing the same thing as Core Audio.
Also is there any default maximum Tempo value? I'm generating a fairly
standard squiggly line type Tempo view and was wondering what a
reasonable maximum might be. At the moment I am actually calculating
the maximum tempo for the current file and using that, but is there
some sort of standard?
Finally I have a slightly off topic question regarding TimeSignature
events. From my (limited) understanding of music theory, a time
signature must be for a whole measure i.e. you cant change time sigs in
the middle of a measure. However, the way midi is set up it is actually
possible to do this even though it would be incorrect. Is there some
sort of standard on how midi players (or Core Audio) handle this
situation? Do you just finish the measure when a new timesig event
arrives and start again from that point?
thanks!
Peter
_______________________________________________
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.