vivid-0.4.2.3: Sound synthesis with SuperCollider

Safe HaskellNone
LanguageHaskell98

Vivid.UGens.Buffer

Contents

Synopsis

Buffer > Info

bufChannels :: Args '["buf"] '[] a => a -> SDBody a Signal Source #

Defaults to KR. Can be IR too but be careful that the buffer doesn't change if so!

bufDur :: Args '["buf"] '[] a => a -> SDBody a Signal Source #

Defaults to KR. Can be IR too but be careful that the buffer doesn't change if so!

bufFrames :: ToSig s as => s -> SDBody' as Signal Source #

Defaults to KR. Can be IR too but be careful that the buffer doesn't change if so!

Note you don't need to use "buf_" when you use this

bufRateScale :: ToSig s as => s -> SDBody' as Signal Source #

Defaults to KR. Can be IR too but be careful that the buffer doesn't change if so!

Note you don't need to use "buf_" when you use this

bufSampleRate :: ToSig s as => s -> SDBody' as Signal Source #

Defaults to KR. Can be IR too but be careful that the buffer doesn't change if so!

Note you don't need to use "buf_" when you use this

bufSamples :: ToSig s as => s -> SDBody' as Signal Source #

Defaults to KR. Can be IR too but be careful that the buffer doesn't change if so!

Note you don't need to use "buf_" when you use this

Buffer

bufRd :: Args '["numChans", "buf", "phase"] '["loop", "interp"] a => a -> SDBody a [Signal] Source #

"phase" must be at audio rate (AR)

"numChans" can't be set after the synth is created, and must be a fixed integer

bufWr :: Args '["in", "buf", "phase"] '["loop"] a => a -> SDBody a Signal Source #

"phase" must be at audio rate (AR)

localBuf :: Args '["numChans", "numFrames"] '[] a => a -> SDBody a Signal Source #

Add a single LocalBuf for FFT

Can use chans_ for "numChans" and frames_ for "Vivid.UGens.Args.numFrames"

phasor :: Args '[] '["trigger", "rate", "start", "end", "resetPos"] a => a -> SDBody a Signal Source #

"phase" must be the output of delTapWr delTapRd :: (Args '["buf", "phase", "delSecs"] '["interp"] a) => s -> SDBody a Signal

playBuf :: Args '["buf"] '["rate", "trigger", "startPos", "loop", "doneAction"] a => a -> SDBody a Signal Source #

Unlike in SC, "doneAction\" defaults to 2

Also, the default rate is the bufRateScale of the buffer

recordBuf :: Args '["buf", "in"] '["offset", "recLevel", "preLevel", "run", "loop", "trigger", "doneAction"] a => a -> SDBody a Signal Source #

Unlike in SC, "doneAction" defaults to 2 and "loop" defaults to 0