How to make a audio player using Revolution

Eric Chatonet eric.chatonet at sosmartsoftware.com
Fri Jul 8 17:42:16 EDT 2005


Hi Ban,

Welcome to this list.

Your question seems simple :-)
In fact it depends on many factors the first one of which is to know  
if QuickTime is installed or not.
This will decide on which file types you will able to play from the  
most common AIFF, WAV to AAC or mp3.
Then you will decide if you want the files stored in your stack or  
stay as files on your hard-disk.
Then, you will want to be able to set the loudness, to start playing,  
etc.
It's a whole world!

As for coding, you will use a player object the filename of which  
will be set to a sound file on your hard disk or the play command id  
the sound is stored in your stack.

To get started, you could check the following in the Docs dictionary:

play command
player keyword
currentTime property
playLoudness property
playRate property
playStopped message
sound function
start command
stop command

Le 8 juil. 05 à 22:19, Ban Nguyen a écrit :

> I am new to Rev.  Could someone please help me how to create a audio
> player? Thank you

Best Regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------




More information about the use-livecode mailing list