BufferGen

object BufferGen
Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

final case
class Cheby(amps: Seq[Float], normalize: Boolean, wavetable: Boolean, clear: Boolean) extends WaveFill

OSC message for filling a buffer with a series of Chebyshev polynomials. The formula of these polynomials is

OSC message for filling a buffer with a series of Chebyshev polynomials. The formula of these polynomials is

cheby(n) = amplitude * cos(n * acos(x))

To eliminate a DC offset when used as a wave-shaper, the wavetable is offset so that the center value is zero.

Value Params
amps

amplitudes for the harmonics. amplitudes for the harmonics. The first value specifies the amplitude for n = 1, the second float value specifies the amplitude for n = 2, and so on.

clear

if set, the previous content is erased, otherwise the new waveform is added to the existing content

normalize

if set, the peak amplitude of the generated waveform is normalized to 1.0

wavetable

if set, the format of the waveform is chosen to be usable by specific UGens such as such as Shaper or Osc

Companion
object
object Cheby
Companion
class
trait Command extends Product
final case
class Copy(targetOffset: Int, source: Int, sourceOffset: Int, num: Int) extends Command

Copies samples from the source buffer to the destination buffer specified in the b_gen message. If the number of samples to copy is negative, the maximum number of samples possible is copied.

Copies samples from the source buffer to the destination buffer specified in the b_gen message. If the number of samples to copy is negative, the maximum number of samples possible is copied.

Companion
object
object Copy
Companion
class
final case
class PreparePartConv(bufIn: Int, fftSize: Int) extends Command

OSC message for preparing a buffer with an impulse response for the PartConv UGen.

OSC message for preparing a buffer with an impulse response for the PartConv UGen.

Value Params
bufIn

buffer id of the existing time domain signal content to prepare

fftSize

the partitioned convolution's fft size

Companion
object
Companion
class
final case
class Sine1(partials: Seq[Float], normalize: Boolean, wavetable: Boolean, clear: Boolean) extends WaveFill

OSC message for filling a buffer with a series of sine wave harmonics using specified amplitudes.

OSC message for filling a buffer with a series of sine wave harmonics using specified amplitudes.

Value Params
clear

if set, the previous content is erased, otherwise the new waveform is added to the existing content

normalize

if set, the peak amplitude of the generated waveform is normalized to 1.0

partials

amplitudes for the harmonics. The first value specifies the amplitude of the first partial, the second float value specifies the amplitude of the second partial, and so on.

wavetable

if set, the format of the waveform is chosen to be usable by interpolating oscillators such as Osc or VOsc

Companion
object
object Sine1
Companion
class
final case
class Sine2(partials: Seq[(Float, Float)], normalize: Boolean, wavetable: Boolean, clear: Boolean) extends WaveFill

OSC message for filling a buffer with a series of sine waves using specified frequencies and amplitudes.

OSC message for filling a buffer with a series of sine waves using specified frequencies and amplitudes.

Value Params
clear

if set, the previous content is erased, otherwise the new waveform is added to the existing content

normalize

if set, the peak amplitude of the generated waveform is normalized to 1.0

partials

pairs of frequencies and amplitudes for the partials. Frequencies are given as in cycles per buffer.

wavetable

if set, the format of the waveform is chosen to be usable by interpolating oscillators such as Osc or VOsc

Companion
object
object Sine2
Companion
class
final case
class Sine3(partials: Seq[(Float, Float, Float)], normalize: Boolean, wavetable: Boolean, clear: Boolean) extends WaveFill

OSC message for filling a buffer with a series of sine waves using specified frequencies, amplitudes, and phases.

OSC message for filling a buffer with a series of sine waves using specified frequencies, amplitudes, and phases.

Value Params
clear

if set, the previous content is erased, otherwise the new waveform is added to the existing content

normalize

if set, the peak amplitude of the generated waveform is normalized to 1.0

partials

triplets of frequencies, amplitudes and initial phases for the partials. Frequencies are given as in cycles per buffer. Phases are given in radians.

wavetable

if set, the format of the waveform is chosen to be usable by interpolating oscillators such as Osc or VOsc

Companion
object
object Sine3
Companion
class
sealed
trait WaveFill extends Command

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror