audiowrite

Writes an audio file.

📝 Syntax

  • audiowrite(filename, y, fs)

  • audiowrite(filename, y, fs, fieldname, fieldvalue, ...)

📥 Input argument

  • filename - a string: filename to create.

  • y - a matrix: audio data.

  • fs - an integer value: sampling rate.

  • fieldname - a string: 'BitsPerSample', 'BitRate', 'Quality', 'Title', 'Artist' or 'Comment' .

  • fieldvalue - value associated to the fieldname.

📄 Description

audiowrite writes an audio file.

More than 26 files format supported. Seeaudiosupportedformats function to have all supported formats.

💡 Example

🔗 See also

audioplayer, audiosupportedformats.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?