Mapping sound to form
18
min
Route loudness, pitch and beats into the sketches from modules 1 to 5.
( The code )
The line that does the work.
sketch.js
turns = map(bass, 0, 1, 0.5, 4)
Open the Lab from the player and change the numbers in this line first.

( What it draws ) One render of this module’s sketch.
( Lesson notes )

This lesson is part of
Sound
A live audio visualiser
In this lesson
Route loudness, pitch and beats into the sketches from modules 1 to 5. We build it live in about 18 minutes, then you change it in the Lab until it is yours.
Try this after
Change one number at a time and write down what it did. Most of the good surprises in this course come from the third or fourth change, not the first.
( In this module )
Keep going.
← Previous lesson
Beats and envelopes
Next lesson →