speakatron - project for Music Hack Day

Here's the project I did for music hack day. It uses your webcam to look to see if your mouth is open and then plays a sound if it is.

  • Mac version
  • Sourcecode - mac only, for openframeworks 0061, also requires, ofxSimpleGuiToo and ofxMSAInteractiveObject

To get it to work you may have to press spacebar to enable the GUI, then adjust the threshold slider until it starts working.

Press 1, 2, 3 or 4 to try different sounds - I got a cat, a synth, birdsong and buddhist monks. Open the data/patches folder to reveal the pd patches that drive the audio.

It uses openframeworks, opencv and libzengarden for the audio - http://github.com/mhroth/ZenGarden

libzengarden is a complete re-write of puredata in C++ so you can integrate it into your own apps without the whole giant leviathan of Pd running in the background.

Video soon!




Comments

Marek, get a video of this to tantalise those of us without fruit-powered machines. Stefan.

now I understand why you were asking about mouth tracking on the OF forum :)

it looks really nice!

nau

amazing idea. but I can't make it work.
i'm on 10.5.8
best
E

well done!

This is a great application of a simple idea. I will note that my beard makes it go a little crazy (despite playing with threshold and such). Black hair doesn't mix well i guess. Excited to dig into your source code! thanks for this again.

Luke: Maine, USA

This thing is really cool. I opened it up on my girlfriend's computer and totally freaked her out when she got in front of the camera and started trying to talk to me and other sounds started coming out. It took her the longest time to figure out what was going on and it made for quite a hilarious afternoon.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.