Live sound as eight values from 0 to 1: overall level, four frequency bands and three hit detectors.
What it is for
The direct way to make particles react to music: a force that kicks on the bass drum, brightness that follows the highs, a simulation that speeds up with the volume. Use it when the raw signal is enough; for more control over the response, use an Audio Analyzer.
How it works
The sound is analysed about 45 times per second. Level is the overall loudness. Kick (35-110 Hz), Bass (60-250 Hz), Mid (250 Hz-2 kHz) and High (2-12 kHz) measure the energy of each band. Each of these five values is divided by its own recent peak, so a quiet track still reaches 1: they say how loud the band is compared with the last seconds, not in absolute terms. They rise fast and fall a little slower. Beat, Snare and Transient are pulses: they jump to 1 when a kick, a snare or clap, or any sharp attack is detected, then fade in a fraction of a second. With an audio file as the source, the values follow the timeline (play, scrub, render). All outputs are one value for the whole system.
Connections
No input. Start the sound in the sidebar of the node editor > GPU Particles tab > Audio: PC Audio or Microphone with Start Audio, or Audio File with Load Track. Outputs Level, Kick, Bass, Mid, High, Beat, Snare and Transient go into any number input: a force's Strength, the Particle System's Auto Speed, the Appearance's Brightness, an effect's Strength.
Settings
No settings: connect it.
Outputs
Level, Kick, Bass, Mid, High, Beat, Snare, Transient
Tips
- The outputs stay between 0 and 1. Put a Math (Multiply) or a Map Range after them to set how far the setting moves.
- Kick, Bass, Mid and High move continuously with the music; Beat, Snare and Transient are short pulses, better for bursts and flashes.
- The Particle System's Auto Speed input is added to Time Scale: plug Level or Kick there to make the whole simulation surge with the music.
- Live sound cannot be replayed frame by frame. For a final render in sync with a track, use the Audio File source.