Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 722 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 722 Bytes

pcspkr-midi

Turn your PC's speaker into an ALSA MIDI device.

To get write perms on the pc speaker device, add to /usr/lib/udev/rules.d/70-pcspkr-beep.rules the following line:

ACTION=="add", SUBSYSTEM=="input", ATTRS{name}=="PC Speaker", ENV{DEVNAME}!="", GROUP="audio", MODE="0620"

followed by:

groups # Check that you are in the audio group.
sudo modprobe pcspkr
sudo udevadm control --reload # reload udev rules

Next, clone, build, install and run pcspkr-midi as follows:

git clone https://github.com/koppi/pcspkr-midi.git
cd pcspkr-midi/
make
sudo make install
pcspkr-midi

– Tested on Ubuntu 22.04.

Authors