• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Changing the playing speed of a Midi Sequence using the MusicPlayer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Changing the playing speed of a Midi Sequence using the MusicPlayer (From: Peter Zegelin <email@hidden>)

  • Prev by Date: Re: GarageBand AU preset file format
  • Next by Date: Re: GarageBand AU preset file format
  • Previous by thread: Changing the playing speed of a Midi Sequence using the MusicPlayer
  • Next by thread: OT installing AU's for Logic6.3.3
  • Index(es):
    • Date
    • Thread