Coder Social home page Coder Social logo

facesynth's Introduction

Facesynth

Facesynth is an openFrameworks project.
It uses the following addons:

  • ofxCV
  • ofxFaceTracker
  • ofxGui
  • ofxMaxim
  • ofxOpenCv

Facesynth is based on Kyle McDonalds' Face tracking work and Mick Grierson's Maximliam DSP library. All I have done is implement a simple formant filter that generates different vowels. Facesynth interpolates between those vowels based on your mouth shape so when someone sees yo moving your mouth in a particular way and hears the sound produced, it looks somewhat realistic

You can set different vowels using keyboard shortcuts.
'c' => from vowel A, 'C' => to vowel A
'v' => from vowel E, 'V' => to vowel E
'b' => from vowel I, 'B' => to vowel I
'n' => from vowel O, 'N' => to vowel O
'm' => from vowel U, 'M' => to vowel U
Future version could include more sophisticated and realistic looking lerping...

You can also change the scale you are currently "singing" in. By default its C major. For those familiar, just like in a DAW program like Ableton, the keyboard is mapped like a real piano where
a = C
w = C#
s = D
e = D#
d = E
f = F
t = F#
g = G
y = G#
h = A
u = A#
j = B

By pressing the lower case of any of those letter, you switch to the minor version of that particular scale. Pressing the upper case letter, you will get the major scale. 'G' for example gives you G Major. 'u' gives you A sharp minor. Again, just like Ableton, you can use 'z' to tranpose down and 'x' to tranpose up. To spice it up, moving your eyebrows up will give the sound a slight vibrato. Lastly, you can play around with the delay to create nicer and more interesting melody sounds. The Facesynth is most fun when you "sing" over some harmony and match the key or chords by selecting the right scale, or "singing" over your favoure tunes.

There is a short demo here:
https://vimeo.com/149336885 (sound is direct but horrible latency and FPS)
https://vimeo.com/149336884 (sound comes from mic)
password for both is: av

Unfortunately, I had technical problems with making nice videos :(
They really need to be better but I had trouble routing openFrameworks to soundflower, also recoding the screen dropped my fps quite low and I had big latency...
Will make nicer videos when I figure this out.

facesynth's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

facesynth's Issues

how can I compile it in Ubuntu 16.04 i386 ?

Thank you for making such an assistive tool.
I built OpenFramework and set the library paths, I also cloned this facesynth repo but I dont know how to compile it.
I hope you help me.
Regards.
Kenn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.