System object: dsp.AudioFileWriter
Write one frame of audio output samples
Starting in R2016b, instead of using the
to perform the operation defined by the System
object™, you can
call the object with arguments, as if it were a function. For example,
= step(obj,x) and
y = obj(x) perform
one frame of audio samples,
to the output file.
AUDIO is either
a vector or an M-by-N matrix for mono or N-channel audio inputs respectively.
obj specifies the System
which to run this
The object performs an initialization the first time the
is executed. This initialization locks nontunable
properties (MATLAB) and input specifications, such as dimensions, complexity,
and data type of the input data. If you change a nontunable property
or an input specification, the System
object issues an error.
To change nontunable properties or inputs, you must first call the
to unlock the object.