3
$\begingroup$

I am currently doing soundscape analysis across three years. However, the data from one of the years has a hydrophone alarm while the other two years do not. As you can understand, this is a problem when I am trying to compare noise values.

Does anyone have recommendations on how I can remove the first 3 seconds from each file (about 1100 files)? I know Audacity has some trimming functions, but I am hoping for a way to do it in a batch (R, Sox-o-matic, or another program?). I would then also need to add 3 seconds to the name of the file (to reflect the new start time).

Thanks in advance!

Melanie Smith UNH MS Student

$\endgroup$

1 Answer 1

5
$\begingroup$

there was a similar question on this SE

at least one of the answers gave a sample script (in R) to remove the initial couple of seconds

$\endgroup$
1
  • $\begingroup$ Thank you so much! $\endgroup$ Commented Jan 30, 2023 at 21:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.