Playing sound files on Linux
Posted: Fri Jan 12, 2018 2:32 pm
Hi,
One big thing that attracted me to LC is the ability to code for Linux. So far it went very well. The feature I'm having problem now is playing sounds.
I have a simple stack, that plays well under Windows. Very simple stuff: I have imported the sound file, one MP3 and one WAV with the menu File..Import As Control .. Audio file
The code is simple too:
play "oops.wav"
play "magic.mp3"
I know that the MP3 is not supported on Windows. It just make some noise. The WAV plays fine.
But on Linux no sound, no error for both.
Is there another way to do it ?
Thanks in advance
Félix
One big thing that attracted me to LC is the ability to code for Linux. So far it went very well. The feature I'm having problem now is playing sounds.
I have a simple stack, that plays well under Windows. Very simple stuff: I have imported the sound file, one MP3 and one WAV with the menu File..Import As Control .. Audio file
The code is simple too:
play "oops.wav"
play "magic.mp3"
I know that the MP3 is not supported on Windows. It just make some noise. The WAV plays fine.
But on Linux no sound, no error for both.
Is there another way to do it ?
Thanks in advance
Félix