(add & synths)
Add together synths by connecting them all to the same upstream and downstream gains.
Add together synths by connecting them all to the same upstream and downstream gains.
(adshr attack decay sustain hold release)
An ADSR envelope that also lets you specify the hold duration.
An ADSR envelope that also lets you specify the hold duration.
(adsr attack decay sustain release)
A four-stage envelope.
A four-stage envelope.
(apply-to-graph f & synths)
Like apply, but for the node graphs synths produce.
Like apply, but for the node graphs synths produce.
(audio-context)
Construct an audio context in a way that works even if it's prefixed.
Construct an audio context in a way that works even if it's prefixed.
(biquad-filter type freq)
(biquad-filter type freq q)
Attenuate frequencies beyond the cutoff, and intensify the cutoff frequency based on the value of q.
Attenuate frequencies beyond the cutoff, and intensify the cutoff frequency based on the value of q.
(connect upstream-synth downstream-synth)
Use the output of one synth as the input to another.
Use the output of one synth as the input to another.
(connect-> & nodes)
Connect synths in series.
Connect synths in series.
(constant x)
Make a constant value by creating noise with a fixed value.
Make a constant value by creating noise with a fixed value.
(current-time context)
Return the current time as recorded by the audio context.
Return the current time as recorded by the audio context.
(destination context at duration)
The destination of the audio context i.e. the speakers.
The destination of the audio context i.e. the speakers.
(enhance effect level)
Mix the original signal with one with the effect applied.
Mix the original signal with one with the effect applied.
(envelope & corners)
Build an envelope out of [segment-duration final-level] coordinates.
Build an envelope out of [segment-duration final-level] coordinates.
(noise generate-bit!)
Make noise according to the supplied strategy for creating bits.
Make noise according to the supplied strategy for creating bits.
Pass the signal through unaltered.
Pass the signal through unaltered.
(raw-sample uri)
Play a sample addressed via a URI. Until fetching and decoding is complete, it will play silence.
Play a sample addressed via a URI. Until fetching and decoding is complete, it will play silence.
(run-with synth context at duration)
Convert a synth (actually a reader fn) into a concrete subgraph by supplying context and timing.
Convert a synth (actually a reader fn) into a concrete subgraph by supplying context and timing.
(sink node)
A graph of synthesis nodes without an output, so it can't connect to another graph.
A graph of synthesis nodes without an output, so it can't connect to another graph.
(source node)
A graph of synthesis nodes without an input, so another graph can't connect to it.
A graph of synthesis nodes without an input, so another graph can't connect to it.
(stereo-panner pan)
Pan the signal left (-1) or right (1).
Pan the signal left (-1) or right (1).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close