An emulator of vintage typewriting sounds for X11.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
samples
README.md
typewriter_sounds.py

README.md

Typewriter sounds emulator for Python

This program plays typewriter sounds each time a key is pressed, giving the user the vintage experience of and old typewriter machine.

The code is inspired on the keylogger demo that comes in the The Python X Library ( http://python-xlib.sourceforge.net/ ). The logic is simple: grab the keycode of a pressed key, and instead to record it (as any keylogger does), just play a sound.

As the key detection is made using Xlib, this program should work on those platforms that support X11. It was developed and tested under Linux.

Sound samples come from https://www.freesound.org/, some were modified for this project.

Requeriments

Usage

cd into the project's directory and type:

$ python typewriter_sounds.py

to stop the program, just type CTRL-C.

TODO

  • Test it in different platforms. In Windows it should work using Cygwin
  • Add an installer
  • Eventually: add a tray icon GUI.

Author

Manuel Arturo Izquierdo aizquier@gmail.com