Giter VIP home page Giter VIP logo

keypress's Introduction

Linux Typewriter

If you want to make some kind of screencast that features keyboard typing sounds, this might come in handy. Get the script, run keypress.py and pump up your volume.

Requirements

  • Python

  • python-xlib (On Debian-based, install with sudo apt-get install python-xlib)

  • aplay command line player, but you really can dump in anything you want, see keypress.py

Rip-off!!!

Yes, this was adopted from Sayan “Riju” Chakrabarti (sayanriju).

Why didn’t you just fork it?

Good question, guess it just didn’t occur to me :)

What’s changed?

The first time I looked at the code, I couldn’t really figure out what was going on. There was a senatra web server acting as a proxy that all the keypresses would go through which I didn’t understand. Not to say that wasn’t the correct approach, but it wasn’t the approach I needed/wanted. I did some looking on threading and tried my best at getting each call to aplay working so that there wasn’t a delay.

Can it play different sounds for different keys?

The original one that sayanriju made could, and this one will eventually.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.