selection and number of samples

Help for Audacity on Windows.
Forum rules
ImageThis 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.
booboo_US
Posts: 22
Joined: Tue Aug 21, 2012 11:25 pm
Operating System: Please select

selection and number of samples

Post by booboo_US » Wed Aug 22, 2012 8:21 am

Hi Everyone:
I have a two part question:
1- is there a way in audacity to select the silent section of the track? I did not see anything on this.
2- is there anyway of counting the number of samples in the selection? Or do I have to actually count them myself one by one? I hope there is a command.

Thank you.

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: selection and number of samples

Post by steve » Wed Aug 22, 2012 8:57 am

There's not exactly those functions, but several similar ones. What exactly are you wanting to do?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

booboo_US
Posts: 22
Joined: Tue Aug 21, 2012 11:25 pm
Operating System: Please select

Re: selection and number of samples

Post by booboo_US » Wed Aug 22, 2012 5:02 pm

Thank you for your reply steve. On a previous post I was asking questions on how to create seamless, gapless MP3 files, and you sent me the link http://wiki.hydrogenaudio.org/index.php?title=Gapless. in that article, it mentiones to count the number of samples in the padding and encoder delay of the file. So, I am trying to get this information for the silence section at the beginning and end of each track and make adjustments per the article. That is why I wanted to see if there is a way to count the number of samples. Thanks for your help. I would appreciate all suggestions.

waxcylinder
Forum Staff
Posts: 14685
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: selection and number of samples

Post by waxcylinder » Wed Aug 22, 2012 5:20 pm

booboo_US wrote:... I wanted to see if there is a way to count the number of samples.
Just change the display format in the Selection Toolbar (normally at the bottom of the Window) and change the display format to Samples - see http://manual.audacityteam.org/o/man/au ... on_Toolbar

Then when you make a selection Audacity will do the counting for you.

WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: selection and number of samples

Post by steve » Wed Aug 22, 2012 5:40 pm

But after counting the samples, don't export the files again or the gap will change.
You will need to import the MP3 files, count the samples, then close the project without saving so that you know the gap length of the files that you have imported and not changed them.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

booboo_US
Posts: 22
Joined: Tue Aug 21, 2012 11:25 pm
Operating System: Please select

Re: selection and number of samples

Post by booboo_US » Wed Aug 22, 2012 6:17 pm

waxcylinder wrote:
booboo_US wrote:... I wanted to see if there is a way to count the number of samples.
Just change the display format in the Selection Toolbar (normally at the bottom of the Window) and change the display format to Samples - see http://manual.audacityteam.org/o/man/au ... on_Toolbar

Then when you make a selection Audacity will do the counting for you.

WC
Thank you. This helps a lot.

booboo_US
Posts: 22
Joined: Tue Aug 21, 2012 11:25 pm
Operating System: Please select

Re: selection and number of samples

Post by booboo_US » Wed Aug 22, 2012 6:20 pm

steve wrote:But after counting the samples, don't export the files again or the gap will change.
You will need to import the MP3 files, count the samples, then close the project without saving so that you know the gap length of the files that you have imported and not changed them.
Thank you Steve again. I assume when you say "don't export the files again or the gap will change", you mean I should not recreate the MP3 file? I should open the file in Audacity, get the information, and simply close it without saving anything. Then go to foobar and make the changes. Did I understand you correctly? Thanks.

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: selection and number of samples

Post by steve » Wed Aug 22, 2012 6:45 pm

booboo_US wrote:you mean I should not recreate the MP3 file? I should open the file in Audacity, get the information, and simply close it without saving anything. Then go to foobar and make the changes. Did I understand you correctly? Thanks.
Exactly :)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

booboo_US
Posts: 22
Joined: Tue Aug 21, 2012 11:25 pm
Operating System: Please select

Re: selection and number of samples

Post by booboo_US » Wed Aug 22, 2012 10:53 pm

steve wrote:
booboo_US wrote:you mean I should not recreate the MP3 file? I should open the file in Audacity, get the information, and simply close it without saving anything. Then go to foobar and make the changes. Did I understand you correctly? Thanks.
Exactly :)
Thanks Steve. One other thing, about these delays and paddings. I have two tracks with the following starting and stopping samples (as reported from Audacity):

track 1: Start=576 End of track=11,548,799 length of track= 11,548,223
track 2: Start=1181 End of track=10,225,151 length of track= 10,223,970

In foobar, when I go to input the MP3 gapless playback info, I get:
track 1: Encoder delay=576 desired length of track=11,546,791
track 2: Encoder delay=576 desired length of track=10,223,763

Can you please help me to see what values to put for the delay and desired length of track to get a true gapless sets of tracks. Thanks for all your help.

DVDdoug
Forum Crew
Posts: 9419
Joined: Fri Sep 10, 2010 11:30 pm
Operating System: Windows 10

Re: selection and number of samples

Post by DVDdoug » Thu Aug 23, 2012 12:10 am

track 1: Start=576 End of track=11,548,799 length of track= 11,548,223
track 2: Start=1181 End of track=10,225,151 length of track= 10,223,970

...Can you please help me to see what values to put for the delay and desired length of track to get a true gapless sets of tracks.
It looks like you've selected the audio starting at the end of the gap. So, your gap information should be 576 & 1181.
On a previous post I was asking questions on how to create seamless, gapless MP3 files...
I took a look at your previous post, and you said you were making an MP3 CD for your car... There is a good chance that your car stereo won't read the gap information and simply won't play gaplessly. :( If your player doesn't support gapless MP3 playbqack, maybe it supports AAC or WMA. As far as I know, these formats don't suffer from the gap problem.

Post Reply