Shaper

final case
class Shaper(rate: Rate, buf: GE, in: GE) extends SingleOut with IsIndividual

A waveshaping UGen. Waveshaping is a the process of translating an input signal by indexing a table (buffer).

'''Advanced notes:''' wavetable format:

Signal: [a0, a1, a2...]
Wavetable: [2*a0-a1, a1-a0, 2*a1-a2, a2-a1, 2*a2-a3, a3-a2...]

This strange format is not a standard linear interpolation (integer + frac), but for (integer part -1) and (1+frac)) due to some efficient maths for integer to float conversion in the underlying C code.

Value Params
buf

buffer filled in wavetable format containing the transfer function.

in

signal to be fed into the wave shaper

See also
Companion
object
trait Serializable
trait IsIndividual
class SingleOut
class SomeOut
trait Lazy
trait GE
class UGenSource[UGenInLike]
trait Expander[UGenInLike]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

final
def name: String
Inherited from
UGenSource
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Inherited fields

lazy override
val hashCode: Int
Inherited from
UGenSource