the buffer used internally by the UGen. this number of
frames in the buffer must be a power of two (this is
currently not checked!). The buffer must have been
initialized with a write
command whose leaveOpen
argument is true. Note that the number of channels of
the buffer and of the input signal must be the same,
otherwise DiskOut
will fail silently (and not write
anything to the file). Warning: Crashes the server
if the number of channels exceeds 32.
the signal to be recorded
the buffer used internally by the UGen.
the buffer used internally by the UGen. this number of
frames in the buffer must be a power of two (this is
currently not checked!). The buffer must have been
initialized with a write
command whose leaveOpen
argument is true. Note that the number of channels of
the buffer and of the input signal must be the same,
otherwise DiskOut
will fail silently (and not write
anything to the file). Warning: Crashes the server
if the number of channels exceeds 32.
the signal to be recorded
Abstract method which must be implemented by creating the actual UGen
s
during expansion.
A UGen which writes a signal to a sound file on disk. To achieve this efficiently, a buffer is needs to be provides which is used to buffer the incoming signal.
Note: It might be that the buffer size must be a multiple of (2 * the server's block size). We haven't currently verified this, but to be safe, you should make sure this property is met.
The signal output by the UGen represents the number of frames written.
the buffer used internally by the UGen. this number of frames in the buffer must be a power of two (this is currently not checked!). The buffer must have been initialized with a
write
command whoseleaveOpen
argument is true. Note that the number of channels of the buffer and of the input signal must be the same, otherwiseDiskOut
will fail silently (and not write anything to the file). Warning: Crashes the server if the number of channels exceeds 32.the signal to be recorded
RecordBuf
DiskIn
Buffer#write