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.
| [reply] |
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.
| [reply] |
I also have the code to play the file and it works.
| [reply] |
Do you use binmode(HANDLE)?
| [reply] [d/l] [select] |
I have not tried binmode, I will.
| [reply] |