Control your tunes visually

Using an external video camera and different coloured objects, you can make Flash track the objects' X and Y positions.

These values can be put to whatever use you like, from navigation of your site to games and video control. In this example we'll be controlling the volume and pan of an imported song.

In this tutorial, I'll show you how to import a song and display the attached camera. I'll then show you how to track specific colours from the camera, which will then control the sound. This is done by clicking on each object to select which is the volume and which is the pan controller. Before you begin and once you've copied the disc files to your computer, you'll need to source your own audio mp3 file, name it song.mp3 and place it in the 'audio' folder.

Click here to download the support files (17KB)

Click here to download the tutorial for free

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of seven full-time members of staff: Editor Georgia Coggan, Deputy Editor Rosie Hilder, Deals Editor Beren Neale, Senior News Editor Daniel Piper, Digital Arts and Design Editor Ian Dean, Tech Reviews Editor Erlingur Einarsson and Ecommerce Writer Abi Le Guilcher, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.