-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello,
I have found an issue when using Pypam to process recordings collected using the ST300 HF model SoundTrap recorder with the high-frequency click detector enabled.
According to the ST manufacturer website, in this configuration the ST records "continuous audio at a low sample rate, while simultaneously capturing short audio snippets of each click detection at full 576 kHz sample rate". It appears to me that in the xml log files, there are multiple event logs with file type = "wav" in each file, even though one of them is actually for the "snippet" files. Pypam seems to be pulling the sample count listed for the snippets (PROC_EVENT ID = "13") instead of the sample count listed for the 48kHz wavs (PROC_EVENT ID = "5"). This resulted in a calculated wav file duration of ~220s instead of ~14,400s for this continuous recording.
I am not entirely sure of the solution, but I have included images of the jpg output from Pypam as well as an example log file highlighting the discrepancy between the two "wav" events in the xml file in case that is helpful.
Thank you!

