How to make a audio player using Revolution
Ban Nguyen
bann at sunncomm.com
Fri Jul 8 18:12:32 EDT 2005
Thank Eric
I have 5 .wav file
First I need to creat an array?
Could you give me some example how to code this. I want user can click to play, pause, stop, rev or forward. How do I code this? Thank you for your help
-----Original Message-----
From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet
Sent: Friday, July 08, 2005 2:42 PM
To: How to use Revolution
Subject: Re: How to make a audio player using Revolution
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
----------------------------------------------------------------
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list