Skip to content

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

License

Notifications You must be signed in to change notification settings

koppi/pcspkr-midi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 LTS - 26.04 LTS

Authors

About

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

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •