SynthMakerLessonsManualForum

Shader patterns 1: Clouds, marble, then smoke that moves with the music

A picture made like a sound: a Colour ramp, Noise, Octaves and Warp into a Screen, then the music driving the smoke through ordinary wires, with Ned. A step-by-step lesson in your browser, nothing to install.

In this lesson

Ned builds it on this page, one step at a time, while you watch and listen. What he says, chapter by chapter:

Intro

Hi, I'm Ned. Today we paint with a patch: clouds, then marble, then smoke that moves with the music. No drawing and no code: just modules, wires and knobs, the same as a sound.

A palette

Add a Screen. It shows whatever picture you wire into it. Now a Colour ramp, wired into the Screen. With nothing feeding it, the ramp shows its own palette, from the bottom to the top. There are four: Dusk, Lagoon, Ember and Paper. We'll start with Dusk.

Noise, a field

Add Noise into the ramp: soft blobs. Noise is a field: something you can ask at any point on the screen, and it answers. That's why its wire is hollow. It carries the question, not one answer.

Clouds

Put Octaves in between. It asks the same noise again, finer and fainter, and adds it all up. Turn count from one to six, and the clouds get their detail. Roughness makes the fine layers stronger.

Moving clouds

Time into the Noise's morph, and the clouds slowly change shape. Turn its speed down until it feels calm.

Marble

Now, one knob. Turn the ramp's bands up to four, with the Paper palette. The ramp repeats back and forth, and the same clouds become marble. Back to one band, and Ember, for the smoke.

Warp

Add Warp between Octaves and the ramp. The picture stops: Warp needs to know which way to push, and the Screen says so, in words.

Smoke

So we give it a second, slower field: another Noise, into another Octaves, and into Warp's by input. The clouds bend into smoke. Amount goes from calm, at zero, to wild, at two. One is about right. And Time into the second Noise keeps the smoke flowing.

With the music

Now the music. The Music module's level goes into Warp's push: the louder the song, the harder the smoke swirls. Its pulse goes into the ramp's shift, so the colours step on every beat. Listen.

Your turn

That's a picture made like a sound: fields, knobs and wires, with the music driving it through ordinary wires. It's yours now, as My Smoke: try Multiply, or Mix two ramps.

Press ▶︎, or play the keys, to hear it.

Loading the sounds…
C2–C4

Play the keys too, or use your computer keyboard: A W S E D F T G Y H U J K.

Timing details
Fixed delay for live notes
Press play or a key to start the engine
Key to sound, measured here
Play a few notes
Wobble covered
–
Notes on time
–
Browser's output latency
–
Audio blocks
–
Audio
Not started
Version
–
Engine
–
Browser
–

My sounds

Learn

Lessons with Ned

Tutorials