audioinfo

Get audio file information.

📝 Syntax

  • info = audioinfo(filename)

📥 Input argument

  • filename - a string: an valid audio filename.

📤 Output argument

  • info - a struct: information about audio file.

📄 Description

audioinfo returns a structure with information about audio file.

Many audio formats are supported as OGG, FLAC, WAV, RAW.

💡 Example


wav_file = [modulepath('audio'), '/examples/haha.wav'];
info = audioinfo(wav_file)

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?