01Works 02Music 03Performance 04About
wzhenghao22@gmail.com
All works
P/02 — RFDT
PythonSuperColliderMediaPipeVocal Formant

RFDT

Real-Time Facial Detection Talkbox

RFDT is a multimodal system that integrates real-time facial landmark detection with vocal formant simulation. By tracking mouth landmarks with Google’s MediaPipe and mapping them to vocal formants in SuperCollider, it enables talkbox-like control of audio through physical gesture.

Type
Gestural interface
Stack
Python · OpenCV · MediaPipe · OSC · SuperCollider
Media
Paper · 2 demos
RFDT — Demo 01
RFDT — Demo 02
Interactive

Try it — Vowel Pad

Your cursor is the mouth. Press and drag across the pad to move the formants — the same idea RFDT drives with your lips.

↔ Front — Back  ·  ↕ Close — Open
Press & drag
F1730 Hz
F21090 Hz
Vowel/a/
Live spectrum
Pitch
(01)Signal Path

The face becomes the instrument. Every frame travels from the camera to the synthesizer in four stages:

01
Capture

OpenCV reads the webcam; MediaPipe FaceMesh locates the lip landmarks in real time.

02
Analyze

Mouth opening and width are measured from the landmark coordinates and read as vowel shapes.

03
Transmit

The control data is streamed from Python to SuperCollider over OSC.

04
Synthesize

Formant filters shape the audio signal — the mouth “speaks” through the sound, like a talkbox.

RFDT project
Next project

Self-Interactive Piano