I think I'm doing something dumb, but please mercy. I'm trying to get a sound to play through a script and I'm getting nil in return.
I have test.wav in ~/sounds/.
If I make a script.lua, and only put
Sound ("test.wav")
Into it, when I load the script, nothing happens and nothing is played.
Trying
require "check"
Note (check (Sound ("test.wav")))
Just gives me a blank line, no eOk or error.
I'm not sure if it matters, but I can make an alias to play the sound and MUSHClient plays the sound just fine. Assuming the .wav was created correctly, I'm super confused why I'm not at least getting some kind of confirmation out of check or sound in general.
Thank you.
I have test.wav in ~/sounds/.
If I make a script.lua, and only put
Sound ("test.wav")
Into it, when I load the script, nothing happens and nothing is played.
Trying
require "check"
Note (check (Sound ("test.wav")))
Just gives me a blank line, no eOk or error.
I'm not sure if it matters, but I can make an alias to play the sound and MUSHClient plays the sound just fine. Assuming the .wav was created correctly, I'm super confused why I'm not at least getting some kind of confirmation out of check or sound in general.
Thank you.