pause, rew and forwad an audio

Trevor DeVore lists at mangomultimedia.com
Mon Jul 11 22:23:29 EDT 2005


On Jul 11, 2005, at 7:01 PM, Dan Shafer wrote:

> Assuming you are using a QuickTime Player object to do this work,  
> you can use the following properties to control pause and loudness:
>
> set the playLoudness of player "foo" to 0
> set the paused of player "foo" to true (and false to un-pause)
>
> However, Rev does not include any commands to place the playback  
> head where you want it. Trevor DeVore of Mango Multimedia, who  
> hangs out here, wrote an external for Rev to provide better  
> interaction with QT movies but a quick perusal of the version I  
> have doesn't include implementation of rewind or fast forward  
> (i.e., frame-specific positioning) as far as I can tell.

currentTime will set the playhead wherever you want.  Set the  
playRate to any number below 1 to rewind, above 1 to fast forward.   
For example, a playRate of 2 will fast forward at double the normal  
speed of playback.


-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com




More information about the use-livecode mailing list