Hydra LFO

Control utilities for Hydra visual synthesizer


Project maintained by oscons Hosted on GitHub Pages — Theme by mattgraham

Hydra LFO » Functions » add «  source: src/components/maths.js

add - Add a value

add(v)
add({v})

Add a value to the current value, depending on use

Parameters

Returns

The previous value plus the added value v.

Examples

shape(L.time().mod(3).add(2).floor()).out(o0)
shape(3,L.time().mod(3).div(6).add(L.sin({f:1/2,s:0.2,o:0.1}))).out(o0)

Other functions in Math related functions:

Other categories:

Asynchronous functions - General Hydra LFO utility functions - Generator functions - Math related functions - Modifier functions - Time functions -

All functions reference on one page


Hydra LFO » Functions » add