Re: QTMediaTypeMusic
Re: QTMediaTypeMusic
- Subject: Re: QTMediaTypeMusic
- From: Mark's Studio <email@hidden>
- Date: Tue, 8 Sep 2009 21:04:48 +0200
I did have a look at some of the MusicPlayer examples,
must of the documentation has the yellow "Legacy Document" alert.
And there is no documentation on QTMediaTypeMusic,
is there any relation between the Media of a QTMediaTypeMusic and a
MusicSequence from the MusicPlayer ?
or any functions to translate one to the other ?
I am using QT for playback, it's a movie with a midi soundtrack, and
it's playing fine,
but i need some info from the midi file for building the movie,
I guess i could use the MusicPlayer for getting the info.
On 08/09/2009, at 19.53, William Stewart wrote:
On Sep 7, 2009, at 10:19 AM, Mark's Studio wrote:
I know this might be OT,
but i make a new QTMovie from a midifile,
and it makes a track of type QTMediaTypeMusic,
is there anyway i can get info like tempo, time sign, tempotrack ?
no - QTMA (QT Music Architecture) has been deprecated since 10.4, so
its not an API I would advise you to start looking at at this time.
You should look at <AudioToolbox/MusicPlayer.h> and the PlaySequence
example code for a way to play MIDI files in your application
I am on 10.6, what framework is playing the midifile ?
If you are playing the MIDI file in the Finder, then QT does.
Otherwise there are any number of programs that can render midi
files, so this is an impossible question to answer.
Bill
Peter Mark
Mark's Recording Studio A/S
Lundeskovsvej 3
2900 Hellerup
Denmark
Tel: +45 35366078
Fax: +45 35366038
Mobile: +45 20416018
www.marks-studio.dk
email@hidden
_______________________________________________
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