⌨️
Keyboard Xylophone
Turns your keyboard into a xylophone by listening for key presses and playing a tone based on each key's character value.
Turns your keyboard into a xylophone by listening for key presses and playing a tone based on each key's character value.
Turns your keyboard into a xylophone by listening for key presses and playing a tone based on each key's character value.
python main.py. The program starts listening for key presses silently in the background.a, s, d). Each key plays a tone whose frequency is the ASCII value of that character multiplied by 10 (e.g., pressing a plays 970 Hz, s plays 1150 Hz).pip install -r requirements.txt
python main.py
boombox, pynput.