I’m trying to test localization for a sound recording I made using TAMAGO 8-channel microphone. However, I get the below exception:
RuntimeError: HARK-Middleware: HARK exception thrown at harkmw/src/node.cc:215 (Node_get_output): C:\msys64\home\NAE2\work\src\for_commit\hark-core\hark-core\src\AudioStreamFromWave.cc, line 278: Bad WAVE header
I made the recording using AUDACITY software (rather than from inside HARK). I did this because I was unsure of the duration I needed for my test recording. I understand that the problem might be in how the audio recording was saved by AUDACITY, but is there any advice on how I can overcome this?
Your WAV file could not be loaded due to the following:
– IEEE float 32bit PCM
Unfortunately, this format is not supported by the AudioStreamFromWave node.
Solution:
To correct a file that AudioStreamFromWave could not read, follow these steps:
Step.1: Please open the WAV file in Audacity. This is the same state as immediately after recording.
Step.2: Please trace like “File => Export => Export Audio…” and display the Export Audio dialog.
Step.3: Please select “Other uncompressed files” for the file type.
Step.4: Please select “WAV (Microsoft)” for the “Header:” item. Please do not choose “WAVEX (Microsoft)” here.
Step.5: Please select “Signed 24-bit PCM” for the “Encoding:” item. TAMAGO-03 has 24-bit resolution. Please select “Signed 16-bit PCM” for other 16-bit microphone arrays.
Step.6: Please click “Save” button.