Hydra LFO

Control utilities for Hydra visual synthesizer


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

Hydra LFO » Functions » use «  source: src/components/general.js

use - Set the currently modified value.

use(n, c)
use({n, c})

You can manipulate a custom list of values which you can refer to by name. The val value is the default used initially. The last value that’s in use will be what the LFO function finally returns.

Though fast and the likes are the preferred way to manipulate time you can also use use('time') to manipulate time directly or return its value from the LFO function.

Parameters

Returns

The currently in use value.

Examples

shape(L.set(10).use('time').mul(2).use('val')).out(o0)
shape(10, L.use('time').add(1).use('val').sin().add(1)).out(o0)

Other functions in General Hydra LFO utility 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 » use