Liking cljdoc? Tell your friends :D

cljs-bach.synthesis


addcljs

(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.
sourceraw docstring

adshrcljs

(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.
sourceraw docstring

adsrcljs

(adsr attack decay sustain release)

A four-stage envelope.

A four-stage envelope.
sourceraw docstring

apply-to-graphcljs

(apply-to-graph f & synths)

Like apply, but for the node graphs synths produce.

Like apply, but for the node graphs synths produce.
sourceraw docstring

audio-contextcljs

(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.
sourceraw docstring

biquad-filtercljs

(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.
sourceraw docstring

buffercljs

source

connectcljs

(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.
sourceraw docstring

connect->cljs

(connect-> & nodes)

Connect synths in series.

Connect synths in series.
sourceraw docstring

constantcljs

(constant x)

Make a constant value by creating noise with a fixed value.

Make a constant value by creating noise with a fixed value.
sourceraw docstring

convolvercljs

(convolver generate-bit!)

Linear convolution.

Linear convolution.
sourceraw docstring

current-timecljs

(current-time context)

Return the current time as recorded by the audio context.

Return the current time as recorded by the audio context.
sourceraw docstring

delay-linecljs

(delay-line seconds)

Delay the signal.

Delay the signal.
sourceraw docstring

destinationcljs

(destination context at duration)

The destination of the audio context i.e. the speakers.

The destination of the audio context i.e. the speakers.
sourceraw docstring

enhancecljs

(enhance effect level)

Mix the original signal with one with the effect applied.

Mix the original signal with one with the effect applied.
sourceraw docstring

envelopecljs

(envelope & corners)

Build an envelope out of [segment-duration final-level] coordinates.

Build an envelope out of [segment-duration final-level] coordinates.
sourceraw docstring

gaincljs

(gain level)

Multiply the signal by level.

Multiply the signal by level.
sourceraw docstring

get-mp3cljs

(get-mp3 uri callback)
source

high-passcljs

source

join-in-parallelcljs

(join-in-parallel upstream downstream & graphs)
source

join-in-seriescljs

(join-in-series graph1 graph2)
source

low-passcljs

source

noisecljs

(noise generate-bit!)

Make noise according to the supplied strategy for creating bits.

Make noise according to the supplied strategy for creating bits.
sourceraw docstring

oscillatorcljs

(oscillator type freq)

A periodic wave.

A periodic wave.
sourceraw docstring

pass-throughcljs

Pass the signal through unaltered.

Pass the signal through unaltered.
sourceraw docstring

percussivecljs

(percussive attack decay)

A simple envelope.

A simple envelope.
sourceraw docstring

plugcljs

(plug param input context at duration)
source

raw-buffercljs

(raw-buffer generate-bit! context duration)
source

raw-samplecljs

(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.
sourceraw docstring

reverbcljs

Crude reverb.

Crude reverb.
sourceraw docstring

run-withcljs

(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.
sourceraw docstring

samplecljs

source

sawtoothcljs

source

sinecljs

source

sinkcljs

(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.
sourceraw docstring

sourcecljs

(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.
sourceraw docstring

squarecljs

source

stereo-pannercljs

(stereo-panner pan)

Pan the signal left (-1) or right (1).

Pan the signal left (-1) or right (1).
sourceraw docstring

subgraphcljs

(subgraph singleton)
(subgraph input output)
source

trianglecljs

source

white-noisecljs

Random noise.

Random noise.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close