cables is under heavy development.
There might be one or another bug, please let us know about it!

op id:a745f54c-d85e-4ddf-b6db-c3cbc9c4330d
Outputs a number going from `1` to `0`, synced to the music (flash-effect)

summary (oneliner)

Can be used e.g. to create a flash-effect on the first beat of a music track. Good combination with the op Ops.Audio.BPMTap, just connect bpm and the beat1 port of Ops.Audio.BPMTap to beat, connect exe and you are ready to go to bang. On a bang the out-value will be the same as startValue and to the end of the beat interpolate towards endValue. You can also use different easing-methods.



youtube id


related ops


exe (Function)

Executes the op

beat (Function)

Typically connect this to the beat1 port of Ops.Audio.BPMTap. Every time a new beat comes in, the bang will start

startValue (Number)

The value where the animation starts when a beat comes in

endValue (Number)

The value where the animation stops, typically towards the end of a beat

bpm (Number)

The bpm (beats per minute) e.g. of an audio track. Used to calculate the length of the animation. Bigger value = faster, slower value = slower

easing (string Number)

Choose between different easing methods to alter the animation – linear, smoothstep, smootherstep


bang (Number)

The output of the animation int the range [Start Value, End Value], connect this e.g. to a translate-operator


Caught a mistake or want to contribute to the documentation?

Edit this documentcancel save

Examples using Bang

Public Patches using Bang