Note
Go to the end to download the full example code
SoundTrap High Frequency with click detectorΒΆ
This script is an example to compute temporal features and third octave levels on an Acoustic Survey
import pyhydrophone as pyhy
# Sound Files
sound_folder_path = ""
# Output path for the detected clicks
clicks_output_path = "test.pickle"
name = 'SoundTrap'
model = 1
serial_number = 67416073
Vpp = 2
hydrophone = pyhy.SoundTrapHF(name, model, serial_number, Vpp)
"""
Detect clicks on sound data
"""
# Convert the sound clips to click and save
clicks_df = hydrophone.read_HFclicks(sound_folder_path)
clicks_df.to_pickle(clicks_output_path)
Total running time of the script: ( 0 minutes 0.000 seconds)