Re: QTMediaTypeMusic
Re: QTMediaTypeMusic
- Subject: Re: QTMediaTypeMusic
- From: Edward Hynes <email@hidden>
- Date: Tue, 8 Sep 2009 20:59:46 -0400
Try searching for MusicPlayer in the latest Xcode Developer
Documentation (3.1.3). Used to work, comes up empty now. Or look at
the latest pdf for Core Audio at <http://developer.apple.com/legacy/mac/library/documentation/MusicAudio/Reference/CoreAudio/CoreAudio.pdf
> which is flagged as legacy. If there are sanctioned, non-legacy
versions of the documentation for Core Audio available, I'd love to
know where they are.
Ed
On Sep 8, 2009, at 8:44 PM, William Stewart wrote:
On Sep 8, 2009, at 12:04 PM, Mark's Studio wrote:
I did have a look at some of the MusicPlayer examples,
must of the documentation has the yellow "Legacy Document" alert.
Really? Where can I find that? Are you sure you aren't confusing
this with the Quicktime Music header?
I am referring to <AudioToolbox/MusicPlayer.h>
And there is no documentation on QTMediaTypeMusic,
there is a book about QTMA in the original QT documentation, but
like I said, I wouldn't be looking at this
is there any relation between the Media of a QTMediaTypeMusic and
a MusicSequence from the MusicPlayer ?
no
or any functions to translate one to the other ?
no
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.
yes, you'd have to do that. The information you want was never
actually preserved in QTMA anyway (which is one of the reasons we
don't support it anymore)
Bill
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
--
Edward Hynes
Dharma Gaia LLC
"Software with the Earth in Mind"
http://dharmagaia.com
_______________________________________________
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