Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

..
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 dtmf.sh
Octocat-spinner-32 goertzel.c
Octocat-spinner-32 guitar-tuner.sh
Octocat-spinner-32 histogram.pl
Octocat-spinner-32 histogram.sh
Octocat-spinner-32 sleepmon.README
Octocat-spinner-32 sleepmon.sh
Octocat-spinner-32 sleepplot.sh
Octocat-spinner-32 sleepstats.sh
README.md

Goertzel

Scriptable tone detection and audio analysis

Contents

  • goertzel.c

    • Does all the dirty work using Goertzel algorithm
    • Detect specified tones and print their levels
    • Filter tones using tresholds
      • Eg.: Print levels only when treshold is crossed (=event detection)
    • TODO
      • treshold hysteresis
  • Sample scripts using goertzel.c

    • dtmf.sh: decodes DTMF signals in audio
    • histogram.pl: shows goertzel output in ASCII graphs
    • histogram.sh: example using histogram.pl to draw realtime equalizer
    • guitar-tuner.sh: example using histogram.pl to tune guitar (currently only to low E)
    • sleepmon.sh: Generates frequency on soundcard output and detects it on input
      • Can be used to detect and log motion using soundcard and PIR sensor or NC switch
    • sleepplot.sh: Generates gnuplot graph from sleeplog
    • TODO
      • Send me more...
Something went wrong with that request. Please try again.