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
Ordering
- Alphabetic
- By Inheritance
Inherited
- BufferImpl
- Serializable
- Serializable
- Product
- Equals
- Modifiable
- Buffer
- ResourceImpl
- Resource
- Disposable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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: Txn): Unit
-
def
allocRead(path: String, startFrame: Long)(implicit tx: Txn): 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: Txn): Unit
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
cue(path: String, fileStartFrame: Long = 0L, numFrames: Int = -1)(implicit tx: Txn): Unit
Cues the input sound file for streaming via DiskIn (leaves the file open).
-
def
dispose()(implicit tx: Txn): Unit
- Definition Classes
- BufferImpl → Disposable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
fill(index: Int, num: Int, value: Float)(implicit tx: Txn): Unit
Clears the buffer contents.
Clears the buffer contents.
- Definition Classes
- BufferImpl → Modifiable
-
def
gen(cmd: Command)(implicit tx: Txn): Unit
- Definition Classes
- BufferImpl → Modifiable
-
final
def
getClass(): Class[_]
- 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: Txn): Boolean
- Definition Classes
- ResourceImpl → Resource
-
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
read(path: String, fileStartFrame: Long = 0L, numFrames: Int = -1, bufStartFrame: Int = 0)(implicit tx: Txn): 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: Txn): Unit
- Definition Classes
- BufferImpl → Modifiable
-
def
record(path: String, fileType: AudioFileType = AudioFileType.AIFF, sampleFormat: SampleFormat = SampleFormat.Float)(implicit tx: Txn): 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: Txn): Unit
- Attributes
- protected
- Definition Classes
- ResourceImpl
-
final
def
requireOnline()(implicit tx: Txn): Unit
- Attributes
- protected
- Definition Classes
- ResourceImpl
-
val
server: Server
- Definition Classes
- BufferImpl → Resource
-
final
def
setOnline(value: Boolean)(implicit tx: Txn): Unit
- Attributes
- protected
- Definition Classes
- ResourceImpl
-
def
setn(pairs: (Int, IndexedSeq[Float])*)(implicit tx: Txn): Unit
- Definition Classes
- BufferImpl → Modifiable
-
def
setn(values: IndexedSeq[Float])(implicit tx: Txn): Unit
- Definition Classes
- BufferImpl → Modifiable
- def sine1(partials: Seq[Float], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true)(implicit tx: Txn): Unit
- def sine2(partials: Seq[(Float, Float)], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true)(implicit tx: Txn): Unit
- def sine3(partials: Seq[(Float, Float, Float)], normalize: Boolean = true, wavetable: Boolean = true, clear: Boolean = true)(implicit tx: Txn): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
timeStamp(implicit tx: Txn): TimeStamp
- Definition Classes
- ResourceImpl → Resource
-
final
def
timeStamp_=(value: TimeStamp)(implicit tx: Txn): Unit
- Definition Classes
- ResourceImpl → Resource
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
write(path: String, fileType: AudioFileType, sampleFormat: SampleFormat, numFrames: Int, startFrame: Int, leaveOpen: Boolean)(implicit tx: Txn): 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: Txn): 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
- Deprecated
(Since version ) see corresponding Javadoc for more information.