This program listens for sound. If it detects any, it starts recording automatically and also automatically stops when things become silent again.


Download link:listener-2.0.1.tgz(portaudio version)
listener-2.0.0.tgz(ALSA version)
listener-1.7.2.tgz(old OSS version)
This program needs libsndfile as well as portaudio.
Please note that since version 2.0.1 the commandline parameters for selecting e.g. the samplerate have changed. Run with '-h' to see a list.



2.0.1: portaudio-versio which is more usable than the alsa version. also cross-platform so listener might now be usable on e.g. windows as well. the portaudio changes and the new filters were developed by Felipe Emmanuel Ferreira de Castro!
2.0.0: first version which is using ALSA for sound I/O
1.7.2: listener can now write its pid to a file when running in daemon-mode. also added one-shot recording
1.7.1: 'on_event_start' did not work
1.7.0: 'on_event_start' can now specify what script to start as soon as the recording starts, one can now use fixed amplification factor, one can now let listener store the audio recorded before the sound started
1.6.5: 'setlistener' stopped working, fixed.
1.6.4: output filename can be defined with a template, audio can be automatically amplified, audio recorded *before* the sound starts can be stored to disk, recording from stereo sources now works, added a Makefile for FreeBSD
0.9: added support for other outputformats besides .wav-files, also added other compression methods
0.8: added external filter supported. included is a low- and highpass filter and a coding example. also the maximum length of a sample-file can be set
0.7: one can now let listener treat a stereo soundcard as 2 soundcards using an included softwaresplitter (no kernel patch required) enabling you to monitor 2 rooms with only 1 soundcard
0.6: one can now configure several parameters via the commandline
0.5: fixes to make it compile under FreeBSD
0.4: if the sound ends, one can now let an external script/program be executed. samples can now be compressed with several compressionschemes
0.3: one can now select the samplerate and set the minimum duration of the sound before recording starts
0.2: when invalid configurationparameters where found in the configurationfile, listener would segfault. that is now fixed
0.1: initial release


Motion is like 'listener' for video.
constatus is like 'listener' for video (comparable to motion).

At the Lotter you can participate in lotteries of other countries than where you live in!

regular e-mail:

if you insist, you can send PGP/GPG encoded messages to, key id: F8B37B3AB85D0E5E00354AD7B599B4451C386E70

to leave a voice-mail, call: +31-85-3012914

I'm on (only) LinkedIn and Mastodon.

Via GitHub: and via patreon you can sponsor me and my work.