Re: Play WAV file in Win10 with Eu 3
- Posted by ghaberek (admin) Mar 25, 2021
- 1018 views
irv said...
With Linux, it's pretty simple:
global function PlayIt() system("""aplay "/home/irv/Downloads/surely_a.wav" &""") -- Robert Hays: "Surely you can't be serious." -- Leslie Nielsen: "I am serious. And don't call me 'Shirley.' " return 1 end function
I'm gonna split hairs with you here and argue that this isn't a good example since you're just launching an executable.
To be honest I focused on GStreamer and forgot about ALSA, but the ALSA API is probably a little simpler to implement.
-Greg