Navigation

Operators and Keywords

Function List:

C++ API

: audiowrite (filename, y, fs)
: audiowrite (filename, y, fs, name, value, …)

Write audio data from the matrix y to filename at sampling rate fs with the file format determined by the file extension.

Additional name/value argument pairs may be used to specify the following options:

BitsPerSample

Number of bits per sample. Valid values are 8, 16, 24, and 32. Default is 16.

BitRate

Valid argument name, but ignored. Left for compatibility with MATLAB.

Quality

Quality setting for the Ogg Vorbis compressor. Values can range between 0 and 100 with 100 being the highest quality setting. Default is 75.

Title

Title for the audio file.

Artist

Artist name.

Comment

Comment.

Package: octave