SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-09-24 19:06:30

typewriterjason
#! Junkie
Registered: 2011-08-28
Posts: 257

Typewriter sound-effects for the keyboard

Hey all,

I'm working on a program to play a typewriter KLAK sound effect every time a key is pressed, as well as appropriate sounds for the space bar and return. I used this once on a Mac and enjoyed the idea of old-school sound effects going with my modern computing, particularly when I'm writing an article or something creative.

Anyway, a friend and I kludged together a version of this program years ago, basically through directly listening to the keyboard. It wasn't great, and needed SUDO to run, which probably wasn't optimal.

I'm writing to ask the linux specialists here if they can think of some good ways to accomplish this goal, things for us to plug into accomplish the above goal.

Any thoughts?


Fortune favors the bold.
#! WALDORF
Asus EEEPC 1001PXD | Lenovo ThinkPad t410

Offline

Help fund CrunchBang, donate to the project!

#2 2015-09-24 19:21:55

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Typewriter sound-effects for the keyboard

Look at xev, xdotool and friends. I believe you can also use ncurses to eg play a soundfile when a key is pressed: NCURSES - KEYSBASICS


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#3 2015-09-25 06:38:07

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Typewriter sound-effects for the keyboard

https://github.com/aitjcize/Qwertickle

It's an Ubuntu base though so you may have to fiddle with it a bit to get it to work in Debian.

EDIT: Or this:
https://github.com/colszowka/linux-typewriter

Offline

#4 2015-09-28 03:26:44

CSCoder4ever
BL Keyboard Troll
From: /dev/zero
Registered: 2013-09-03
Posts: 2,256

Re: Typewriter sound-effects for the keyboard

if you have some money to spend, You can always get a Buckling Spring keyboard like a Unicomp.

that'll give you the typewriter effect

  ]:D  tongue

Offline

#5 2015-09-30 16:05:12

typewriterjason
#! Junkie
Registered: 2011-08-28
Posts: 257

Re: Typewriter sound-effects for the keyboard

Head_on_a_Stick wrote:

https://github.com/aitjcize/Qwertickle

It's an Ubuntu base though so you may have to fiddle with it a bit to get it to work in Debian.

EDIT: Or this:
https://github.com/colszowka/linux-typewriter

I found both of these programs through searching. I haven't got Qwertickle to work. Linux-Typewriter works, but I'm not a fan of their sound effects. (I think they either went with an electric typewriter or a computer keyboard.)

That said, Qwertickle does have functionality for key, return, space and backspace, so maybe there's something to be gleaned from there. Thanks for the links!

(Should I copy this thread over the BL forums, I wonder?)

And CSCoder4ever, I'm looking for a cheaper option, for sure! But those are pretty.


Fortune favors the bold.
#! WALDORF
Asus EEEPC 1001PXD | Lenovo ThinkPad t410

Offline

#6 2015-09-30 16:17:35

Unia
#! Octo-portal-pussy
From: The Netherlands
Registered: 2010-07-17
Posts: 4,634
Website

Re: Typewriter sound-effects for the keyboard

typewriterjason wrote:

Should I copy this thread over the BL forums, I wonder?

You are welcome to!


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

I am a #! forum moderator. Feel free to send me a PM with any question you have!

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo