I just discovered the command "aplay"

ch33zw1z

Lifer
Nov 4, 2004
39,040
19,731
146
Interesting, I hadn't heard of that, looked up the man page

 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,563
4,478
75
Once upon a time, I played with something similar, /dev/snd. I'd write data there and hear it. It also worked to record sound by reading data from it.

One day I didn't hear any sound. Turned out I'd written to /dev/sda instead! :eek: I did manage to recover the drive; fortunately only the partition table and a recovery partition were overwritten.