Buffer

object Buffer
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

trait Modifiable extends Buffer
trait ProxyResource extends Resource

Value members

Concrete methods

def apply(server: Server)(numFrames: Int, numChannels: Int)(implicit tx: RT): Modifiable
def defaultCueBufferSize_=(value: Int): Unit
def defaultRecBufferSize_=(value: Int): Unit
def diskIn(server: Server)(path: String, startFrame: Long, numFrames: Int, numChannels: Int)(implicit tx: RT): Buffer
def diskOut(server: Server)(path: String, fileType: AudioFileType, sampleFormat: SampleFormat, numFrames: Int, numChannels: Int)(implicit tx: RT): Buffer

Utility resource creation that defers buffer disposal until point where node has been freed.

Utility resource creation that defers buffer disposal until point where node has been freed.

def fft(server: Server)(size: Int)(implicit tx: RT): Modifiable
def wrap(server: Server, peer: Buffer, closeOnDisposal: Boolean)(implicit tx: RT): Modifiable
def writeWithNode(buf: Buffer, nr: NodeRef, path: String)(action: => Unit)(implicit exec: ExecutionContext): Resource

Writes the buffer content to a file when the node ends. The caller is responsible for eventually freeing the buffer! This is because we do not open a transaction after writing completes.

Writes the buffer content to a file when the node ends. The caller is responsible for eventually freeing the buffer! This is because we do not open a transaction after writing completes.