Skip to content
A project to try to detect melody patterns in recorded voice. The eventual goal is to be able to detect sentence type and possibly other things.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
VERSION
all_intonation.py
intonation.py
pitch.py
plot_all.py
requirements.txt

README.md

warble

A project to try to detect melody patterns in recorded voice. The eventual goal is to be able to detect sentence type (declarative, yes/no question, wh-question, tag question, echo question, command, etc.) and possibly other things.

The (informal) report I wrote for this project can be found here

Dependencies

  • python (2.7)
  • matplotlib (1.2.1)
  • aubio (0.4.0-alpha)
    • libsndfile
    • libsamplerate
    • FFTW
    • SWIG (to build python modules)

Error building libsndfile on osx

  • I ended up commenting out #include <Carbon.h> in programs/sndfile-play.c
  • built fine on linux

Error building aubio:

  • Download release version from website (0.3.2)
    • Add libm to linker flags: LDFLAGS=-lm make
  • or download latest from repo (0.4.0-alpha)
    • Add libm to linker flags: LDFLAGS=-lm ./waf build

TODO

  • add tests!
  • add a real options parser
  • intonation filtering based on time
  • weight pitches based on duration or pitch change
  • smoothing (averaging) filter
You can’t perform that action at this time.