;

Head Tracking Synth

A bit of fun

Have you ever thought "wouldn't it be grate if I can play music with just moving my head"?

Well now you can.  Simply move your head to make the synth change pitch!

For this to work you must be viewing the site under HTTPS, have a camera attached and allow for the site to use the camera.

The head tracking is done using Tracking.Js (http://trackingjs.com)

The synth is using Tone.Js (https://tonejs.github.io)

The rest is just me Mashing them together :-)

Play Backing Tune (Restart to reset)

For this to work you must be viewing the site under HTTPS, have a camera attached and allow for the site to use the camera.

Example Code