de.sciss.synth.ugen

RecordBuf

final case class RecordBuf(rate: Rate, in: GE, buf: GE, offset: GE = synth.this.GE.const(0), recLevel: GE = synth.this.GE.const(1.0), preLevel: GE = synth.this.GE.const(0.0), run: GE = synth.this.GE.const(1), loop: GE = synth.this.GE.const(1), trig: GE = synth.this.GE.const(1), doneAction: GE = ...) 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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val buf: GE

    the identifier of the buffer to use

  8. def clone(): AnyRef

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

    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.

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

    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  13. lazy val hashCode: Int

    Definition Classes
    UGenSource → AnyRef → Any
  14. val in: GE

    the signal to record

  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. val loop: GE

    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.

  17. def makeUGens: UGenInLike

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

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

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. val offset: GE

    sample frame to begin writing from.

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

  23. val preLevel: GE

    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.

  24. val rate: Rate

    Definition Classes
    RecordBuf → GE
  25. val recLevel: GE

    value to multiply by input before mixing with existing data.

  26. val run: GE

    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.

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

    Definition Classes
    AnyRef
  28. val trig: GE

    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).

  29. final def wait(): Unit

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

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

    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