Help with editing
Forum rules
This forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Help with editing
I am using Ver 2.1.1 on Windows 7. I have a clip of organ music I recorded using a single track Sansa Clip. Unfortunately during the recording a hot air furnace in the auditorium came on resulting in several loud clicks over a few seconds of the recording. I have loaded the clip into Audacity and was unable to understand the Tutorial on editing. What I need is someone to walk me through the editing process. Many thanks...mac895
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Help with editing
Please post a WAV file that is a sample of the offending audio. See How to post an audio sample.
Gale
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Help with editing
I think I have saved a sample of the recording where the outside noise occyrred. I will try to attach it
- Attachments
-
- VORC008 Rev 1.wav
- (286.48 KiB) Downloaded 21 times
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Help with editing
I doubt the furnace caused the clicks. You have severe overshoot clipping where the samples reverse polarity. Instead of flat topping at the positive (top) part of the waveform, they shoot down to the bottom (negative) part:mac895 wrote:I think I have saved a sample of the recording where the outside noise occyrred. I will try to attach it
That abrupt change of direction causes a severe click.
You can zoom in (CTRL + 1) then select a region about the size of the region in the image above, then use Effect > Repair....
As far as I know we don't have a plugin that deals with that type of clipping by selecting all the audio at once. If there is such, someone will say.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Help with editing
I moved your question about copying material from our Tutorials to http://forum.audacityteam.org/viewtopic ... 46&t=87842.
Gale
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
-
barry.beattie
- Posts: 62
- Joined: Wed Mar 22, 2017 5:21 am
- Operating System: Windows 10
Re: Help with editing
To expand on Gale's correct answer...Gale Andrews wrote: I doubt the furnace caused the clicks. You have severe overshoot clipping where the samples reverse polarity. Instead of flat topping at the positive (top) part of the waveform, they shoot down to the bottom (negative) part:
That abrupt change of direction causes a severe click.
You can zoom in (CTRL + 1) then select a region about the size of the region in the image above, then use Effect > Repair....
As far as I know we don't have a plugin that deals with that type of clipping by selecting all the audio at once. If there is such, someone will say.
Gale
" You have severe overshoot clipping where the samples reverse polarity."
Looking at 24 bit waveforms... as part of the analog to digital process, the initial waveform is captured 48,000 or 44,100 times a second (48kHz or 44.1kHz sample rate)...
... and converted into a large number - so big that it takes (say) 24 bits of memory to store/manipulate (lets ignore 32 bit floating, dither, etc). Because the waveform swings around a center line the number can be positive or negative. It's a whole number so it's a "Signed" (+ or -) "integer" (whole number).
https://en.wikipedia.org/wiki/24-bit
that number calculated from the sampling process (for 24 bit) is somewhere between −8,388,608 to 8,388,607.
When some code tries to push that number past its end point (too big), it loops right around to the negative side and works up towards zero
eg: 8,388,607 + 3 = −8,388,606
or in this case, probably generates an error and is held at −8,388,608 for a few samples before the wavefom starts to come back from 8,388,607 (looking at the image of the waveform).
I wonder if this was handled with later code along the lines of (sloppy pseudocode):
if (sampleValue) greater than "8,388,607" then
sampleValue = "8,388,607" // effectively limiting the number, stops it from "reversing polarity"
end if
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Help with editing
So are you requesting an Audacity feature to correct reverse polarity? I think someone (tried to) modify Clipfix to do this, some years ago.
Gale
Gale
barry.beattie wrote:To expand on Gale's correct answer...Gale Andrews wrote: I doubt the furnace caused the clicks. You have severe overshoot clipping where the samples reverse polarity. Instead of flat topping at the positive (top) part of the waveform, they shoot down to the bottom (negative) part:
That abrupt change of direction causes a severe click.
You can zoom in (CTRL + 1) then select a region about the size of the region in the image above, then use Effect > Repair....
As far as I know we don't have a plugin that deals with that type of clipping by selecting all the audio at once. If there is such, someone will say.
Gale
" You have severe overshoot clipping where the samples reverse polarity."
Looking at 24 bit waveforms... as part of the analog to digital process, the initial waveform is captured 48,000 or 44,100 times a second (48kHz or 44.1kHz sample rate)...
... and converted into a large number - so big that it takes (say) 24 bits of memory to store/manipulate (lets ignore 32 bit floating, dither, etc). Because the waveform swings around a center line the number can be positive or negative. It's a whole number so it's a "Signed" (+ or -) "integer" (whole number).
https://en.wikipedia.org/wiki/24-bit
that number calculated from the sampling process (for 24 bit) is somewhere between −8,388,608 to 8,388,607.
When some code tries to push that number past its end point (too big), it loops right around to the negative side and works up towards zero
eg: 8,388,607 + 3 = −8,388,606
or in this case, probably generates an error and is held at −8,388,608 for a few samples before the wavefom starts to come back from 8,388,607 (looking at the image of the waveform).
I wonder if this was handled with later code along the lines of (sloppy pseudocode):
if (sampleValue) greater than "8,388,607" then
sampleValue = "8,388,607" // effectively limiting the number, stops it from "reversing polarity"
end if
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Help with editing
That was me It was one of my first attempts to modify a Nyquist plug-in.Gale Andrews wrote: I think someone (tried to) modify Clipfix to do this, some years ago.
See: http://forum.audacityteam.org/viewtopic ... 433#p31433
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Help with editing
Do you still regard that code as alpha/pre-alpha from your now more experienced perspective?steve wrote:That was me It was one of my first attempts to modify a Nyquist plug-in.Gale Andrews wrote: I think someone (tried to) modify Clipfix to do this, some years ago.
See: http://forum.audacityteam.org/viewtopic ... 433#p31433
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Help with editing
I recorded using a single track Sansa Clip.
So, now we know the Sansa has a bad defect when recording!You have severe overshoot clipping where the samples reverse polarity. Instead of flat topping at the positive (top) part of the waveform, they shoot down to the bottom (negative) part:
An ADC (or DAC or any digital signal processing) should clip if you try to go over the maximum. Clipping is distortion and it's bad too, so it's best if you can keep your levels down, but polarity reversal is a LOT worse.