How to make a audio player using Revolution

Eric Chatonet eric.chatonet at sosmartsoftware.com
Sat Jul 9 03:34:26 EDT 2005


Hi Ban,

Assuming that QT is installed:

1. Create a player object
2. Set the filename of the player to the filename of any WAV file you  
have to hand in the properties inspector for the player.
3. Use the built-in commands of the player to start, stop, etc.

You can also place the player out of the card window and pilot it by  
script: check all dictionary entries I gave you in a previous mail:  
they allow to do that.
BTW, if you are a "newbie", it might be wise to begin with some more  
easy project and go your way step by step.
You will find many kind people on this list to help you especially on  
specific issues but, as you can understand it easily, it's not  
possible to answer too large questions the replies of which would  
have to be a complete 10 pages tutorial :-)
When such a tutorial exists, there will be somebody to tell you where  
you can find it.
As far I know, there is not yet a tutorial about managing sounds with  
Rev.

Le 9 juil. 05 à 00:12, Ban Nguyen a écrit :

> 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

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