in reply to sound file problem

Assuming you already have the code to play the .wav file once you have read it into memory, then you could embed the .wav into your script by converting it to base64. You would then convert it back before playing it.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.

Replies are listed 'Best First'.
Re^2: sound file problem
by panaman (Acolyte) on May 24, 2005 at 13:58 UTC
    base64 is a new word to me, I will read upon it. I do already have the .wav file, really just any ole warning sound will do.
Re^2: sound file problem
by panaman (Acolyte) on May 24, 2005 at 14:00 UTC
    I also have the code to play the file and it works.