dsp.AudioFileWriter
Stream to audio file
Description
The dsp.AudioFileWriter
System object™ writes audio samples to an audio file.
To write audio samples to an audio file:
Create the
dsp.AudioFileWriter
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Syntax
Description
returns an
audio file writer System object, afw
= dsp.AudioFileWriterafw
. This object writes audio samples to an
audio file.
returns an audio file writer System object, afw
= dsp.AudioFileWriter(File name
)afw
. This object has the
Filename
property set to File
name
.
returns an audio file writer object with each specified property set to the
specified value. Enclose each property name in single quotes. Unspecified
properties have default values.afw
= dsp.AudioFileWriter(Name,Value
)
Properties
Usage
Syntax
Description
Input Arguments
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
Limitations
The following platform-specific restrictions apply when writing these files:
Windows 7 | macOS |
---|---|
|
|
| |
|
|
|
Algorithms
This object implements the algorithm, inputs, and outputs described on the To Multimedia File block reference page. The object properties correspond to the block parameters, except:
The object
FileFormat
property does not support video-only file formats.The object has no corresponding property for the Write parameter. The object writes only audio content to files.
The object has no corresponding property for the Video compressor parameter.
The object has no corresponding property for the File color format parameter.
The object has no corresponding property for the Image signal parameter.