Class/Object

de.sciss.synth.ugen

RecordBuf

Related Docs: object RecordBuf | package ugen

Permalink

final case class RecordBuf(rate: Rate, in: GE, buf: GE, offset: GE = 0, recLevel: GE = 1.0f, preLevel: GE = 0.0f, run: GE = 1, loop: GE = 1, trig: GE = 1, doneAction: GE = doNothing) extends SingleOut with HasSideEffect with IsIndividual with HasDoneFlag with Product with Serializable

Records input into a Buffer. If recLevel is 1.0 and preLevel is 0.0 then the new input overwrites the old data. If they are both 1.0 then the new data is added to the existing data. (Any other settings are also valid.)

in

the signal to record

buf

the identifier of the buffer to use

offset

sample frame to begin writing from. This is read when a trigger occurs.

recLevel

value to multiply by input before mixing with existing data.

preLevel

value by which the previous buffer contents is multiplied when recording. If this value is zero, the buffer contents is completely overwritten. If this value is one, the new signal is added to the previous content.

run

if zero the recording pauses, otherwise it resumes. The value of run is only read at control-rate! When the recording is paused, the "write-head" remains in its current position and does not advance.

loop

1 to loop after the write head reaches the buffer end, 0 to not loop. This can be modulated.

trig

a trigger which causes a jump to the given offset . A trigger occurs when a signal changes from non-positive to positive (e.g. <= 0 to > 0).

doneAction

what to do when the write head reaches the buffer end. This is only effective when loop is zero.

See also

BufFrames

BufRateScale

Done

DoneAction

PlayBuf

DiskOut

BufWr

Linear Supertypes
Serializable, Serializable, HasDoneFlag, IsIndividual, HasSideEffect, SingleOut, SomeOut, GE.Lazy, GE, UGenSource[UGenInLike], Expander[UGenInLike], Lazy, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RecordBuf
  2. Serializable
  3. Serializable
  4. HasDoneFlag
  5. IsIndividual
  6. HasSideEffect
  7. SingleOut
  8. SomeOut
  9. Lazy
  10. GE
  11. UGenSource
  12. Expander
  13. Lazy
  14. Product
  15. Equals
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RecordBuf(rate: Rate, in: GE, buf: GE, offset: GE = 0, recLevel: GE = 1.0f, preLevel: GE = 0.0f, run: GE = 1, loop: GE = 1, trig: GE = 1, doneAction: GE = doNothing)

    Permalink

    in

    the signal to record

    buf

    the identifier of the buffer to use

    offset

    sample frame to begin writing from. This is read when a trigger occurs.

    recLevel

    value to multiply by input before mixing with existing data.

    preLevel

    value by which the previous buffer contents is multiplied when recording. If this value is zero, the buffer contents is completely overwritten. If this value is one, the new signal is added to the previous content.

    run

    if zero the recording pauses, otherwise it resumes. The value of run is only read at control-rate! When the recording is paused, the "write-head" remains in its current position and does not advance.

    loop

    1 to loop after the write head reaches the buffer end, 0 to not loop. This can be modulated.

    trig

    a trigger which causes a jump to the given offset . A trigger occurs when a signal changes from non-positive to positive (e.g. <= 0 to > 0).

    doneAction

    what to do when the write head reaches the buffer end. This is only effective when loop is zero.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val buf: GE

    Permalink

    the identifier of the buffer to use

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val doneAction: GE

    Permalink

    what to do when the write head reaches the buffer end.

    what to do when the write head reaches the buffer end. This is only effective when loop is zero.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. lazy val hashCode: Int

    Permalink
    Definition Classes
    UGenSource → AnyRef → Any
  12. val in: GE

    Permalink

    the signal to record

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val loop: GE

    Permalink

    1 to loop after the write head reaches the buffer end, 0 to not loop.

    1 to loop after the write head reaches the buffer end, 0 to not loop. This can be modulated.

  15. def makeUGen(_args: Vec[UGenIn]): UGenInLike

    Permalink
    Attributes
    protected
    Definition Classes
    RecordBuf → UGenSource
  16. def makeUGens: UGenInLike

    Permalink
    Attributes
    protected
    Definition Classes
    RecordBuf → Expander
  17. final def name: String

    Permalink
    Definition Classes
    UGenSource
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. val offset: GE

    Permalink

    sample frame to begin writing from.

    sample frame to begin writing from. This is read when a trigger occurs.

  22. val preLevel: GE

    Permalink

    value by which the previous buffer contents is multiplied when recording.

    value by which the previous buffer contents is multiplied when recording. If this value is zero, the buffer contents is completely overwritten. If this value is one, the new signal is added to the previous content.

  23. val rate: Rate

    Permalink
    Definition Classes
    RecordBuf → GE
  24. val recLevel: GE

    Permalink

    value to multiply by input before mixing with existing data.

  25. val run: GE

    Permalink

    if zero the recording pauses, otherwise it resumes.

    if zero the recording pauses, otherwise it resumes. The value of run is only read at control-rate! When the recording is paused, the "write-head" remains in its current position and does not advance.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. val trig: GE

    Permalink

    a trigger which causes a jump to the given offset .

    a trigger which causes a jump to the given offset . A trigger occurs when a signal changes from non-positive to positive (e.g. <= 0 to > 0).

  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from HasDoneFlag

Inherited from IsIndividual

Inherited from HasSideEffect

Inherited from SingleOut

Inherited from SomeOut

Inherited from GE.Lazy

Inherited from GE

Inherited from UGenSource[UGenInLike]

Inherited from Expander[UGenInLike]

Inherited from Lazy

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped