Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using looped audio in a Quicktime movie




On 25-aug-05, at 15:50, Culann mac Cabe wrote:

I want to programmatically create a Quicktime movie which contains, say, a
3-minute musical score accompanying a picture. The music itself is actually
a 5-second loop repeated end-to-end 36 times to make up the 3 mins.


How do I program this?

Just call InsertMediaIntoTrack 36 times.

Furthermore, if I can do the above in QT, how about having 2 similar audio
tracks playing independently such that a customised player, which I will
create using the QT API, could allow the user to interact with each,
allowing him/her to eg mute one track, raise the audio level of another
etc?...

You can use SetTrackVolume for this. SetTrackEnabled(false) mutes the track but restart of playback might be slower than setting the volume to 0.


How accurate can I hope sync to be: for musical re-mixing, it pretty much as
to be audio sample accurate - any issues here?

If the tracks get mixed down to the same channel(s) it should be sample accurate. Else it depends on the hardware I suppose.


Jan.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.