Osc

final case
class Osc(rate: Rate, buf: GE, freq: GE, phase: GE) extends SingleOut with IsIndividual

An oscillator UGen that linearly interpolates a wavetable. It has frequency and phase modulation inputs. The wave table is provided by a buffer filled with a wavetable format signal. The buffer size must be a power of 2.

The buffer is typically filled by a b_gen OSC message. (e.g. buf.sine1(...) , buf.sine2(...) etc.)

Value Params
buf

the buffer with the wavetable in special wavetable format. the size must be a power of two.

freq

frequency of table scans in Hz, corresponding to the fundamental frequency of the sound.

phase

phase offset or modulator in radians. The value should be within the range of -8Pi to +8Pi.

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