Class/Object

de.sciss.synth

Buffer

Related Docs: object Buffer | package synth

Permalink

final case class Buffer(server: Server, id: Int) extends ModelImpl[BufferInfo] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, ModelImpl[BufferInfo], Model[BufferInfo], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Buffer
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ModelImpl
  7. Model
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Buffer(server: Server, id: Int)

    Permalink

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. def addListener(pf: Listener[BufferInfo]): pf.type

    Permalink
    Definition Classes
    ModelImpl → Model
  5. def allocMsg(numFrames: Int, numChannels: Int = 1, completion: Optional[Packet] = None): BufferAlloc

    Permalink
  6. def allocReadChannelMsg(path: String, startFrame: Int = 0, numFrames: Int = 1, channels: Seq[Int], completion: Optional[Packet] = None): BufferAllocReadChannel

    Permalink
  7. def allocReadMsg(path: String, startFrame: Int = 0, numFrames: Int = 1, completion: Optional[Packet] = None): BufferAllocRead

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def chebyMsg(amps: Seq[Float], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true): BufferGen

    Permalink

    OSC message for filling this buffer with a series of Chebyshev polynomials.

    OSC message for filling this 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.

    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.

    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

    clear

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

  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def closeMsg(completion: Optional[Packet] = None): BufferClose

    Permalink
  12. def closeMsg: BufferClose

    Permalink
  13. def cueMsg(path: String, startFrame: Int = 0, completion: Optional[Packet] = None): BufferRead

    Permalink
  14. final def dispatch(update: BufferInfo): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModelImpl
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def fillMsg(ranges: FillRange*): BufferFill

    Permalink
  17. def fillMsg(value: Float): BufferFill

    Permalink
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def freeMsg(completion: Optional[Packet] = None, release: Boolean = true): BufferFree

    Permalink

    release

    whether the buffer id should be immediately returned to the id-allocator or not. if you build a system that monitors when bundles are really sent to the server, and you need to deal with transaction abortion, you might want to pass in false here, and manually release the id, using the release method

  20. def freeMsg: BufferFree

    Permalink
  21. def genMsg(command: Command): BufferGen

    Permalink
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getMsg(indices: Int*): BufferGet

    Permalink
  24. def getnMsg(ranges: Range*): BufferGetn

    Permalink
  25. val id: Int

    Permalink
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  30. def numChannels: Int

    Permalink

    The number of channels allocated for this buffer, or -1 if the buffer was not allocated or its number of channels is not yet known.

  31. def numFrames: Int

    Permalink

    The number of frames allocated for this buffer, or -1 if the buffer was not allocated or its number of frames is not yet known.

  32. def queryMsg: BufferQuery

    Permalink
  33. def readChannelMsg(path: String, fileStartFrame: Int = 0, numFrames: Int = 1, bufStartFrame: Int = 0, leaveOpen: Boolean = false, channels: Seq[Int], completion: Optional[Packet] = None): BufferReadChannel

    Permalink
  34. def readMsg(path: String, fileStartFrame: Int = 0, numFrames: Int = 1, bufStartFrame: Int = 0, leaveOpen: Boolean = false, completion: Optional[Packet] = None): BufferRead

    Permalink
  35. def register(): Unit

    Permalink

    Adds this buffer to the server's buffer manager so that its information fields will be tracked and updated.

    Adds this buffer to the server's buffer manager so that its information fields will be tracked and updated.

    It is safe to call this method more than once.

  36. def release(): Unit

    Permalink

    Releases the buffer id to the id-allocator pool, without sending any OSC message.

    Releases the buffer id to the id-allocator pool, without sending any OSC message. Use with great care.

  37. def releaseListeners(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModelImpl
  38. def removeListener(pf: Listener[BufferInfo]): Unit

    Permalink
    Definition Classes
    ModelImpl → Model
  39. def sampleRate: Float

    Permalink

    The sample-rate for this buffer, or 0 if the buffer was not allocated or its sample-rate is not yet known.

  40. val server: Server

    Permalink
  41. def setMsg(pairs: FillValue*): BufferSet

    Permalink
  42. def setnMsg(pairs: (Int, IndexedSeq[Float])*): BufferSetn

    Permalink
  43. def setnMsg(values: IndexedSeq[Float]): BufferSetn

    Permalink
  44. def sine1Msg(partials: Seq[Float], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true): BufferGen

    Permalink

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

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

    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.

    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 interpolating oscillators such as Osc or VOsc

    clear

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

  45. def sine2Msg(partials: Seq[(Float, Float)], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true): BufferGen

    Permalink

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

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

    partials

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

    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 interpolating oscillators such as Osc or VOsc

    clear

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

  46. def sine3Msg(partials: Seq[(Float, Float, Float)], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true): BufferGen

    Permalink

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

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

    partials

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

    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 interpolating oscillators such as Osc or VOsc

    clear

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

  47. def startListening(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModelImpl
  48. def stopListening(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModelImpl
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  50. def toString(): String

    Permalink
    Definition Classes
    Buffer → AnyRef → Any
  51. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def writeMsg(path: String, fileType: AudioFileType = io.AudioFileType.AIFF, sampleFormat: SampleFormat = io.SampleFormat.Float, numFrames: Int = 1, startFrame: Int = 0, leaveOpen: Boolean = false, completion: Optional[Packet] = None): BufferWrite

    Permalink
  55. def zeroMsg(completion: Optional[Packet]): BufferZero

    Permalink
  56. def zeroMsg: BufferZero

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ModelImpl[BufferInfo]

Inherited from Model[BufferInfo]

Inherited from AnyRef

Inherited from Any

Ungrouped