2024-02-02 02:09 AM - last edited on 2024-07-24 03:17 AM by Amel NASRI
Hi,
I am currently using SensorTile.box Pro with FP-SNS-DATALOG2 FW.
After acquisition, I would need to convert the data from the microphone from .dat to .wav and to do this I am using the hsdatalog_to_wav.py example provided. Unfortunately, the resulting .wav seems to be empty. Duration is correct but no sound is present.
Attached a picture of the .dat file converted to .csv (phases with no sound and with sound are visible) and the .wav file.
Thank you for the support
Solved! Go to Solution.
2024-02-05 01:22 AM
Hello @Gerva
I've just converted the audio file properly, so I can guarantee that the upcoming v2.1.0 will work as expected.
Have you already tested the script using "-s mp23db01hp_mic" as argument (python hsdatalog_to_wav.py Test_Mic -s mp23db01hp_mic)?
Best regards
Simone
2024-02-05 12:44 AM
Hello @Gerva
we are closing a planned maintenance release, so we can work on the possible issue in the next days release the a fix (if needed) in a couple of weeks.
Can you share with us the complete acquisition folder and the Python version you are using? Are you using FP-SNS-DATALOG2 latest version (v2.0.1)?
Best regards
Simone
2024-02-05 12:58 AM
Hi Simone,
Thank you for your feedback. I confirm that we are using SNS-DATALOG2 v2.0.1. Python version is 3.9 and 3.10.
Here the folder link as I cannot share .dat o .zip file here.
BR
2024-02-05 01:22 AM
Hello @Gerva
I've just converted the audio file properly, so I can guarantee that the upcoming v2.1.0 will work as expected.
Have you already tested the script using "-s mp23db01hp_mic" as argument (python hsdatalog_to_wav.py Test_Mic -s mp23db01hp_mic)?
Best regards
Simone