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.

  • KISSmyOS@lemmy.world
    link
    fedilink
    arrow-up
    42
    ·
    edit-2
    1 year ago

    I’m pretty sure it just plays sounds/music.
    But still, I’m not running obfuscated code from the internet on my machine.

    EDIT:

    Nvm that, lemmy disliked my code for some reason.

    “Here, run this unreadable code” just goes against all rules of computer safety.

    EDIT2:

    Did a little “oopsie” there. My bad. It’s fixed now.

    And that’s one of the reasons.

    Aplay can wreck your speakers and/or soundcard depending on what’s fed to it.