Convert Seaglider PMAR-XL sound files to .wav format
Version 1.0.3 (7,56 ko) par
David Mellinger
Read Seaglider audio PMAR-XL .dat files; also convert them to WAVE (.wav) or other soundfile format, optionally downsampling in the process.
pmarIn.m function: Read sound from a PMAR-XL (Seaglider acoustic system) file and return the samples and header information.
convertPmar.m script: Given one or more directories, each full of subdirectories with .dat soundfiles recorded by the PMAR-XL acoustic recording system on a Seaglider(tm), convert the soundfiles to WAVE (.wav) files. The resulting .wav files have the start date/time of each PMAR file in the .wav file name. Also create a fileheaders.txt file in each of these directories with a copy of the header portion of each .dat file, which is text. Optionally, filter and downsample the files to a lower sample rate as they're being converted (downsampling requires the signal processing toolbox).
Citation pour cette source
David Mellinger (2026). Convert Seaglider PMAR-XL sound files to .wav format (https://fr.mathworks.com/matlabcentral/fileexchange/107245-convert-seaglider-pmar-xl-sound-files-to-wav-format), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2021b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.3 | Added the ability to cope with incomplete headers in the PMAR's .dat files, provided the 'samplerate' and 'start' fields are still there. (Note that .dat file headers are readable in a text editor.) |
||
| 1.0.2 | Added a feature to use a user-specified sample rate for every output file; this makes output sample rates uniform. |
||
| 1.0.1 | Fixed a bad default parameter value |
||
| 1.0.0 |
