Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Clap detection using your microphone and portaudio.

Project Description

A clapper based around the PyAudio frontend for PortAudio.

Status: working


You need portaudio installed, then you can install the latest version pip:

sudo pip install slowclap

It will pull in pyaudio and numpy depenencies.



With default settings, run a shell command of your choosing each time a clap is detected:

slowclap --exec='echo Clap'

You might need to tune the threshold to your mic with the -t option.

Python API

Set up a simple detection loop:

import slowclap as sc
feed = sc.MicrophoneFeed()
detector = sc.AmplitudeDetector(feed, threshold=17000000)
for clap in detector:
    # do something



  • Working amplitude clapper
  • Supports command-execution and rate-limiting
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
slowclap-0.1.0.tar.gz (3.5 kB) Copy SHA256 Checksum SHA256 Source Jan 22, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting