Page 1 of 1
how to remove some portion of audio for some seconds ..
Posted: Thu Feb 11, 2021 10:44 am
by jagag
how to remove some portion of audio for some seconds ..
I have 20 mins audio file..for every 10 seconds .i need to remove 3 seconds of audio clip automatically..Is it possible...
Re: how to remove some portion of audio for some seconds ..
Posted: Thu Feb 11, 2021 10:51 am
by steve
jagag wrote: ↑Thu Feb 11, 2021 10:44 am
I have 20 mins audio file..for every 10 seconds .i need to remove 3 seconds of audio clip automatically.
Do you mean at exactly regular intervals? If so, is the 3 seconds included in the 10 seconds?
What do you mean by "remove"? Just silencing the audio, or deleting it completely so that the track becomes shorter?
Does it matter that the remaining audio will have abrupt changes (and possibly "click") at each edit point?
Re: how to remove some portion of audio for some seconds ..
Posted: Thu Feb 11, 2021 10:53 am
by jagag
yes i want to remove 3 seconds ..
Re: how to remove some portion of audio for some seconds ..
Posted: Thu Feb 11, 2021 11:49 am
by steve
- Select the audio.
- Apply this code in the Nyquist Prompt (see: https://manual.audacityteam.org/man/nyquist_prompt.html)
Code: Select all
;version 4
;type analyze tool
;control cut "Length to cut (seconds)" float "" 3 0 100
;control skip "Length to skip (seconds)" float "" 10 0 100
(defun make-labels ()
(let ((dur (/ len *sound-srate*))
(labels ())
(start skip)
(end (+ skip cut))
repeats)
(setf repeats (truncate (/ dur (+ cut skip))))
(dotimes (i repeats labels)
(push (list start end "") labels)
(setf start (+ start cut skip))
(setf end (+ start cut)))))
(if (or (= cut 0) (= skip 0))
"Error.\nBoth controls must be greater than zero."
(make-labels))
- Press "Ctrl + A" (select all)
- "Edit menu > Labelled Audio > Delete"
Re: how to remove some portion of audio for some seconds ..
Posted: Thu Feb 11, 2021 11:59 am
by jagag
Thank you sp much ...love you
Re: how to remove some portion of audio for some seconds ..
Posted: Thu Feb 11, 2021 12:11 pm
by steve
Out of interest - what is this for?
Re: how to remove some portion of audio for some seconds ..
Posted: Thu Feb 11, 2021 12:36 pm
by jagag
for avoiding copy rights..

Re: how to remove some portion of audio for some seconds ..
Posted: Thu Feb 11, 2021 12:43 pm
by steve
I hope you mean "protecting your copyright" rather than bypassing someone else's.
Re: how to remove some portion of audio for some seconds ..
Posted: Thu Feb 11, 2021 12:45 pm
by jagag
yes protecting my rights..
Re: how to remove some portion of audio for some seconds ..
Posted: Thu Feb 11, 2021 1:09 pm
by steve
A common and effective way to do that is to add a "watermark" to the recording.
The "watermark" is usually a spoken word such as "Demo" or the name of your website - it can be anything, but there's added value in using something "promotional" such as your web address.
To make the watermark very difficult to remove, use a stereo effect on it, such as Reverb.
To apply the watermark:
1. Import the main audio track.
2. Import the short "watermark" audio
3. Select the "watermark" audio plus say 10 seconds of silence.
4. Use the "Repeat" effect to repeat the selected "watermark + silence" enough times to be the same length as the main track.
5. "Ctrl + A" (select All)
6. "Tracks menu > Mix > Mix and Render"
7. If necessary, "Normalize" the track so that it does not clip.
8. Export.