final case class BufferImpl(server: Server, peer: synth.Buffer)(numFrames: Int, numChannels: Int, closeOnDisposal: Boolean) extends ResourceImpl with Modifiable with Product with Serializable
- Alphabetic
- By Inheritance
- BufferImpl
- Serializable
- Product
- Equals
- Modifiable
- Buffer
- ResourceImpl
- Resource
- Disposable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def alloc()(implicit tx: RT): Unit
- def allocRead(path: String, startFrame: Long)(implicit tx: RT): Unit
Allocates and reads the buffer content once (closes the file).
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cheby(amps: Seq[Float], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true)(implicit tx: RT): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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).
- def dispose()(implicit tx: RT): Unit
- Definition Classes
- BufferImpl → Disposable
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fill(index: Int, num: Int, value: Float)(implicit tx: RT): Unit
Clears the buffer contents.
Clears the buffer contents.
- Definition Classes
- BufferImpl → Modifiable
- def gen(cmd: Command)(implicit tx: RT): Unit
Issues a
/b_gencommand, for example preparing a wave table.Issues a
/b_gencommand, for example preparing a wave table.Note that this must not be used where the command has dependencies, such as
PreparePartConvwhich depends on the impulse response input buffer! In that case useaddMessagemanually.- Definition Classes
- BufferImpl → Modifiable
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def id: Int
- Definition Classes
- BufferImpl → Buffer
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isOnline(implicit tx: RT): Boolean
- Definition Classes
- ResourceImpl → Resource
- def mkOnline()(implicit tx: RT): BufferImpl.this.type
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val numChannels: Int
- Definition Classes
- BufferImpl → Buffer
- val numFrames: Int
- Definition Classes
- BufferImpl → Buffer
- def online0: Boolean
- Attributes
- protected
- Definition Classes
- ResourceImpl
- val peer: synth.Buffer
- Definition Classes
- BufferImpl → Buffer
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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
- BufferImpl → Modifiable
- def readChannel(path: String, channels: Seq[Int], fileStartFrame: Long = 0L, numFrames: Int = -1, bufStartFrame: Int = 0)(implicit tx: RT): Unit
- Definition Classes
- BufferImpl → Modifiable
- 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.
- final def require(p: Boolean, message: => String): Unit
- Attributes
- protected
- Definition Classes
- ResourceImpl
- final def requireOffline()(implicit tx: RT): Unit
- Attributes
- protected
- Definition Classes
- ResourceImpl
- final def requireOnline()(implicit tx: RT): Unit
- Attributes
- protected
- Definition Classes
- ResourceImpl
- val server: Server
- Definition Classes
- BufferImpl → Resource
- final def setOnline(value: Boolean)(implicit tx: RT): Unit
- Attributes
- protected
- Definition Classes
- ResourceImpl
- def setn(pairs: (Int, IndexedSeq[Float])*)(implicit tx: RT): Unit
- Definition Classes
- BufferImpl → Modifiable
- def setn(values: IndexedSeq[Float])(implicit tx: RT): Unit
- Definition Classes
- BufferImpl → Modifiable
- def sine1(partials: Seq[Float], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true)(implicit tx: RT): Unit
- def sine2(partials: Seq[(Float, Float)], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true)(implicit tx: RT): Unit
- def sine3(partials: Seq[(Float, Float, Float)], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true)(implicit tx: RT): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def timeStamp(implicit tx: RT): TimeStamp
- Definition Classes
- ResourceImpl → Resource
- final def timeStamp_=(value: TimeStamp)(implicit tx: RT): Unit
- Definition Classes
- ResourceImpl → Resource
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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
- BufferImpl → Buffer
- def zero()(implicit tx: RT): Unit
Clears the buffer contents.
Clears the buffer contents.
- Definition Classes
- BufferImpl → Modifiable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated