How Can I Create a Program That Mimics Typewriter Sounds While Typing?

September 3, 2025 5 answers
Asked by 6 holes punched
I really enjoy the sound of a typewriter and love its mechanical noises. However, I'm not a fan of using mechanical keyboards. I'm curious about how I could write a program that plays typewriter sounds as I'm typing on my computer. Any suggestions or libraries I could use?

Answers

clayBody_04
Thereโ€™s this app called MechVibes that you might find interesting. Itโ€™s not exactly what youโ€™re asking for, but it plays various keyboard sounds while you type. Check it out!
Reply to this answer
NORTH_by_train
If you're looking for performance, especially with low delay, I'd suggest using Go. Itโ€™s great for creating responsive applications, and you'd have a solid foundation for your sound program.
Reply to this answer
eXtra napkin
You might want to check out the MechSim project. Itโ€™s designed for simulating mechanical sounds, and it could be a good starting point for your program!
Reply to this answer
coast+6nm
Take a look at the pynput library. It lets you listen for key presses, and you can program it to play different typewriter sounds for each key you press. Pretty straightforward!
Reply to this answer
6 holes punched
Thank you all for your suggestions! I'm definitely going to explore these options!
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions