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).
引用格式
David Mellinger (2024). Convert Seaglider PMAR-XL sound files to .wav format (https://www.mathworks.com/matlabcentral/fileexchange/107245-convert-seaglider-pmar-xl-sound-files-to-wav-format), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2021b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
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 |