rickrollrc icon indicating copy to clipboard operation
rickrollrc copied to clipboard

roll.sh: fix playing audio on GNU/Linux (aplay)

Open rrthomas opened this issue 5 years ago • 4 comments

The argument -Dplug:default was stopping sound working; removing it makes it work again.

Rather to my surprise, it also worked with the rest of the arguments removed. This seems odd given that it claims to be downloading a raw audio file, but removing -q showed that the audio data aplay was being fed is in fact a WAV file, and downloading the file and checking it confirms this.

Hence, refer to “wav audio” rather than “raw audio”, and remove all command-line arguments to aplay. Win!

rrthomas avatar Aug 23 '18 21:08 rrthomas

:+1: ... :pray: please can we get this one in?

diversemix avatar Jan 29 '19 08:01 diversemix

👍

keroserene avatar Jan 31 '19 15:01 keroserene

As far as I can tell, this is still needed, and I've rebased on current master.

rrthomas avatar Apr 02 '22 14:04 rrthomas

I have updated this PR to fix things today; the fix is a bit different from four years ago!

rrthomas avatar Aug 28 '22 19:08 rrthomas