Skip to content

aizquier/typewriter-sounds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Install requeriments:

$ pip install -r requeriments.txt

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 [email protected]

About

An emulator of vintage typewriting sounds for X11.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages