Rishabh Kataria

EchoBind, turning a desk into a touch controller

EchoBind turns the surface of a desk into a four-zone controller using nothing but the laptop's built-in microphones. Rishabh Kataria built it as a background daemon.

How it works

  1. Listen. PyAudio streams stereo audio from the built-in microphones.
  2. Detect a knock. A sharp jump in RMS energy marks a tap.
  3. Describe the sound. Librosa extracts MFCCs and other spectral features from a short window around the tap. Knocks in different places sound slightly different, and the stereo pair adds left-right information.
  4. Classify. A Scikit-learn SVM predicts which quadrant was tapped.
  5. Act. Each zone triggers an OS shortcut, like opening a terminal, muting the mic or switching desktops, with filtering to avoid false triggers.

The technique is explained in classify sounds with MFCCs and an SVM.

Stack

Python, PyAudio, Librosa, Scikit-learn and PyAutoGUI.