importing and playing audioClips in a stack (Andrea George)

Thomas McGrath III 3mcgrath at adelphia.net
Mon Feb 2 19:40:53 EST 2004


  put "/users/Shared/audioClips/UnchangedMelody.aiff" into lmyPath


  play audioClip lmyPath


To test put

put lmyPath -- and see if it is in there

Is the path correct?

HTH

Tom

On Feb 2, 2004, at 7:30 PM, geor9230 at saintmarys.edu wrote:

>
> I am trying to import an audioClip into my Revolution stack that has 
> been saved onto the hard drive.  I then tried to import this audioClip 
> into my stack, but I am not sure if I am doing it correctly.  The 
> following is what I typed in:
>
> import audioClip from file 
> "/Users/Shared/audioClips/UnchangedMelody.aiff"
>
> This is not working and I have followed the steps I found in 
> Revolution's Documentation.  Then I created a “Play” button and I have 
> written the following in the button’s script:
>
> on mouseClick
>   play audioClip "UnchangedMelody" looping
> end mouseClick
>
> This is trying to work, but something is stopping it.  It will make a 
> noise and repeats the noise, but it fails to play the song.
>
> I have read a lot of the documentation that Revolution offers, however 
> I am not finding it to be very informative.  I followed the directions 
> I have found, but I am unable to get anything to work.  What is it 
> that I am doing wrong?  How do you import an audioClip into your 
> stacks?  Is there anyone who could assist me on this matter? 
>  
> Also, where can I find more documentation (besides what Revolution 
> offers) or examples on the Internet to use as a guide when creating 
> stacks (audioClip related, etc.)?
>
> Thank You,
>
> Andrea George
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541



More information about the use-livecode mailing list