A library to compound music using pcspkr module and motherboard speaker
beep does what you'd expect: it beeps. But unlike printf "\a", beep allows you to control pitch, duration, and repetitions. Its job is to live inside shell/perl scripts and allow more granularity than one has otherwise. It is controlled completely through command line options. It's not supposed to be complex, and it isn't - but it makes system monitoring (or whatever else it gets hacked into) much more informative.
sudo apt install beep # Debian/Ubuntu
sudo pacman -Sy beep # Arch LinuxMusic Sheet Source: https://virtualpiano.net/music-sheet/megalovania-undertale-toby-fox-easy/
Script Author: @propilideno
curl https://raw.githubusercontent.com/propilideno/linux-beep-music/main/megalovania.sh | bashbeep accesses the PC speaker through /dev/input/event*, which is typically owned by the input group.
If your user is not part of this group, access is denied.
$ beep
beep: Error: Could not open any deviceAdd your user to the input group:
sudo usermod -aG input $USERThen log out and log back. Verify it using groups command
$ groups
username docker video kvm input wheel