Code Monkey home page Code Monkey logo

pulsetotalk's Introduction

pulseToTalk

Simple push to talk binding for X / Pulseaudio in user mode (command line only)

Features

  • Choose any key/mouse button (can be both) to activate your microphone when you want.
  • Recording indicator showing when sound is captured (can be disabled).
  • Lock recording if needed by using Ctrl + (unlock same way).
  • Run without root access.

Install / Download

Install python >= 3.3 from your distribution.

Download and extract :

$ wget https://github.com/calumah/pulseToTalk/archive/master.zip
$ unzip master.zip

OR

$ git clone https://github.com/calumah/pulseToTalk.git

Setup and dependencies

From source:

$ cd pulseToTalk/
$ python -m venv venv
$ . venv/bin/activate
(venv) $ pip install -r requirements.txt

Use

Choose binded key interactive way and start

(venv) $ ./pulseToTalk.py

For example you can bind F12 and mouse_middle click key on start (you can list events codes with --debug and press any key)

(venv) $ ./pulseToTalk.py --debug --event_code f12 mouse_middle

Another example binding scroll_lock key

(venv) $ ./pulseToTalk.py --event_code scroll_lock

Disable recording indicator

(venv) $ ./pulseToTalk.py --no_indicator

Operate only on the given pulseaudio sources (you can list sources name with --debug when mute/unmute)

(venv) $ ./pulseToTalk.py --sources alsa_input.pci-0000_2d_00.4.analog-stereo

For help :

(venv) $ ./pulseToTalk.py -h

License

This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.

Authors/Contributors

  • calumah
  • sur5r

pulsetotalk's People

Contributors

calumah avatar sur5r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

candrasetiawan

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.