Play a Song From CD

Ian Wood revlist at azurevision.co.uk
Fri Jan 4 06:58:12 EST 2008


On 4 Jan 2008, at 06:34, Scott Rossi wrote:

> Here's the thing Mark: the files on audio CDs are not directly  
> accessible by
> Rev -- the audio must be played by an appropriate player, which can be
> controlled by Rev, or the audio must be converted into a format  
> which Rev
> can handle natively.

[...]

> Someone else on the list may have additional input on this.

Yes, they might... ;-)

1. Put a QuickTime Player object in the stack.
2. Set the filename of the Player to the track on the CD you want to  
hear.
3. Set the playrate of the Player to 1.
4. There is no step 4.

There can be quite a pause if the optical drive has spun down, but it  
works fine. Tested on Rev 2.8.1 Studio, OS X 10.5.1.

Ian




More information about the use-livecode mailing list