Re: Changing the playing speed of a Midi Sequence using the MusicPlayer
Re: Changing the playing speed of a Midi Sequence using the MusicPlayer
- Subject: Re: Changing the playing speed of a Midi Sequence using the MusicPlayer
- From: William Stewart <email@hidden>
- Date: Thu, 29 Jan 2004 11:45:42 -0800
In Panther (and QuickTime 6.4 and above on Jaguar) there's a way to do
this:
// This call will Scale the playback rate by the specified amount
// It will alter the scheduling of events - so cannot be 0 or less than
zero.
extern OSStatus MusicPlayerSetPlayRateScalar (MusicPlayer inPlayer,
Float64 inScaleRate);
extern OSStatus MusicPlayerGetPlayRateScalar (MusicPlayer inPlayer,
Float64 *outScaleRate);
Bill
On 29/01/2004, at 4:35 AM, Peter Zegelin wrote:
>
Hi,
>
>
I'm playing a Midi File using the MusicPlayer API but I can't see a
>
way to vary the play rate - ie speed up or slow down the sequence. Can
>
someone fill me in on how this is done?
>
>
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.
>
>
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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.