audioread - unified audio file input function
audioread provides a single, unified function for reading audio files in a range of different file formats, including wav, mp3, aac, flac, AIFF, etc. In most cases, access is actually provided by external binaries, but this is hidden within audioread (and its subfunctions). The idea is to make your code independent of the kind of audio files used as input.
In addition, audioread provides support for common modifications performed during sound input, namely resampling (changing the sampling rate), casting multi-channel signals to mono, and loading only a limited time range of the sound. Care has been taken to ensure that short subregions of very large soundfiles can be read with the minimum of memory overhead (for instance, without having to load in the entire soundfile at any time.
Zitieren als
Dan Ellis (2024). audioread - unified audio file input function (https://www.mathworks.com/matlabcentral/fileexchange/32894-audioread-unified-audio-file-input-function), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
- Test and Measurement > Data Acquisition Toolbox > Multichannel Audio Input and Output >
Tags
Quellenangaben
Inspiriert von: mp3read and mp3write, m4aread - read MPEG4 (AAC or M4A) compressed audio files, flacwrite - write out a FLAC-encoded audio file using flac, m4awrite - write m4a format audio file
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
audioread/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.2.0.0 | FIxed bug reading flac files with downsampling that would truncate 2nd half of file. |
||
1.1.0.0 | Better handling of errors in external programs |
||
1.0.0.0 |