scripts/beep-wigfrid: fix alsa error

This commit is contained in:
Michele Guerini Rocco 2021-12-09 21:50:55 +01:00
parent 05e22f59b7
commit fa05048e6e
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -10,6 +10,6 @@ head -c 4 /dev/urandom | \
for (i = 0; i < 1; i+= 0.00011)
printf("%08X\n", 40*sin(450*exp((a[$1 % 8]/12)*log(2))*i)) }' |
xxd -r -p |
aplay -c 2 -f S16_LE -r 48000 -Dplug:videocard
aplay -c 2 -f S16_LE -r 48000 -Dvideocard
rm -f $lock