https://pastebin.com/p6PmeQDm
Just sharing how "magical" the CLI can be. You are welcome.
-EDIT Did a little "oopsie" there. My bad. It's fixed now.
-EDIT2 Nvm that, lemmy disliked my code for some reason. It's in the pastebin link. And the code in there is working as intended.
I'm pretty sure it just plays sounds/music.
But still, I'm not running obfuscated code from the internet on my machine.
EDIT:
"Here, run this unreadable code" just goes against all rules of computer safety.
EDIT2:
And that's one of the reasons.
Aplay can wreck your speakers and/or soundcard depending on what's fed to it.