Answers.Body: <p>there was a
  <a href="https://bioacoustics.stackexchange.com/questions/1227/how-to-automatically-ignore-sections-of-sound-files-crop-wav-files-before-proc">similar question on this SE</a></p>
  <p>at least one of the answers gave a sample script (in R) to remove the initial couple of seconds</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-30T21:35:56.140Z
Answers.Text: Thank you so much!
Answers.UserDisplayName: Melanie Smith
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-30T19:57:50.000Z
Answers.LastActivityDate: 2023-01-30T19:57:50.000Z
Answers.UserDisplayName: WMXZ
Body: <p>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.</p>
  <p>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).</p>
  <p>Thanks in advance!</p>
  <p>Melanie Smith
  UNH MS Student</p>
  
Tags: <soundscape><hydrophone><data-processing>
Title: How to Remove Hydrophone Alarm from the First 3 Seconds of Every Recording
ThreadText: # How to Remove Hydrophone Alarm from the First 3 Seconds of Every Recording
  
  (Asked by: username_0 on 2023-01-30)
  
  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!
  
  username_0
  UNH MS Student
  
  **Tags:** soundscape, hydrophone, data-processing
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-01-30. Score: 5 | Accepted answer
  
  there was a
  [similar question on this SE](https://bioacoustics.stackexchange.com/questions/1227/how-to-automatically-ignore-sections-of-sound-files-crop-wav-files-before-proc)
  
  at least one of the answers gave a sample script (in R) to remove the initial couple of seconds
  
  > **Comments:**
  > **username_0**: Thank you so much!  
  
  ---
  
  