Packages

final case class BufferImpl(server: Server, peer: synth.Buffer)(numFrames: Int, numChannels: Int, closeOnDisposal: Boolean) extends ResourceImpl with Modifiable with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, Modifiable, Buffer, ResourceImpl, Resource, Disposable[RT], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BufferImpl
  2. Serializable
  3. Product
  4. Equals
  5. Modifiable
  6. Buffer
  7. ResourceImpl
  8. Resource
  9. Disposable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BufferImpl(server: Server, peer: synth.Buffer)(numFrames: Int, numChannels: Int, closeOnDisposal: Boolean)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def alloc()(implicit tx: RT): Unit
  5. def allocRead(path: String, startFrame: Long)(implicit tx: RT): Unit

    Allocates and reads the buffer content once (closes the file).

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def cheby(amps: Seq[Float], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true)(implicit tx: RT): Unit
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. def cue(path: String, fileStartFrame: Long = 0L, numFrames: Int = -1)(implicit tx: RT): Unit

    Cues the input sound file for streaming via DiskIn (leaves the file open).

  10. def dispose()(implicit tx: RT): Unit
    Definition Classes
    BufferImpl → Disposable
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def fill(index: Int, num: Int, value: Float)(implicit tx: RT): Unit

    Clears the buffer contents.

    Clears the buffer contents.

    Definition Classes
    BufferImplModifiable
  13. def gen(cmd: Command)(implicit tx: RT): Unit

    Issues a /b_gen command, for example preparing a wave table.

    Issues a /b_gen command, for example preparing a wave table.

    Note that this must not be used where the command has dependencies, such as PreparePartConv which depends on the impulse response input buffer! In that case use addMessage manually.

    Definition Classes
    BufferImplModifiable
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def id: Int
    Definition Classes
    BufferImplBuffer
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def isOnline(implicit tx: RT): Boolean
    Definition Classes
    ResourceImplResource
  18. def mkOnline()(implicit tx: RT): BufferImpl.this.type
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. val numChannels: Int
    Definition Classes
    BufferImplBuffer
  23. val numFrames: Int
    Definition Classes
    BufferImplBuffer
  24. def online0: Boolean
    Attributes
    protected
    Definition Classes
    ResourceImpl
  25. val peer: synth.Buffer
    Definition Classes
    BufferImplBuffer
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. def read(path: String, fileStartFrame: Long = 0L, numFrames: Int = -1, bufStartFrame: Int = 0)(implicit tx: RT): Unit

    Reads the buffer contents from a file (closes the file).

    Reads the buffer contents from a file (closes the file).

    Definition Classes
    BufferImplModifiable
  28. def readChannel(path: String, channels: Seq[Int], fileStartFrame: Long = 0L, numFrames: Int = -1, bufStartFrame: Int = 0)(implicit tx: RT): Unit
    Definition Classes
    BufferImplModifiable
  29. def record(path: String, fileType: AudioFileType = AudioFileType.AIFF, sampleFormat: SampleFormat = SampleFormat.Float)(implicit tx: RT): Unit

    Opens a file to write to in streaming mode (leaving it open), as usable for DiskOut.

  30. final def require(p: Boolean, message: => String): Unit
    Attributes
    protected
    Definition Classes
    ResourceImpl
  31. final def requireOffline()(implicit tx: RT): Unit
    Attributes
    protected
    Definition Classes
    ResourceImpl
  32. final def requireOnline()(implicit tx: RT): Unit
    Attributes
    protected
    Definition Classes
    ResourceImpl
  33. val server: Server
    Definition Classes
    BufferImplResource
  34. final def setOnline(value: Boolean)(implicit tx: RT): Unit
    Attributes
    protected
    Definition Classes
    ResourceImpl
  35. def setn(pairs: (Int, IndexedSeq[Float])*)(implicit tx: RT): Unit
    Definition Classes
    BufferImplModifiable
  36. def setn(values: IndexedSeq[Float])(implicit tx: RT): Unit
    Definition Classes
    BufferImplModifiable
  37. def sine1(partials: Seq[Float], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true)(implicit tx: RT): Unit
  38. def sine2(partials: Seq[(Float, Float)], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true)(implicit tx: RT): Unit
  39. def sine3(partials: Seq[(Float, Float, Float)], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true)(implicit tx: RT): Unit
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. final def timeStamp(implicit tx: RT): TimeStamp
    Definition Classes
    ResourceImplResource
  42. final def timeStamp_=(value: TimeStamp)(implicit tx: RT): Unit
    Definition Classes
    ResourceImplResource
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. def write(path: String, fileType: AudioFileType, sampleFormat: SampleFormat, numFrames: Int, startFrame: Int, leaveOpen: Boolean)(implicit tx: RT): Unit

    Writes the buffer contents once (closes the target file).

    Writes the buffer contents once (closes the target file).

    Definition Classes
    BufferImplBuffer
  47. def zero()(implicit tx: RT): Unit

    Clears the buffer contents.

    Clears the buffer contents.

    Definition Classes
    BufferImplModifiable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Modifiable

Inherited from Buffer

Inherited from ResourceImpl

Inherited from Resource

Inherited from Disposable[RT]

Inherited from AnyRef

Inherited from Any

Ungrouped