Edit chains to split wave file into multiples?

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.
mistermax
Posts: 10
Joined: Tue May 22, 2012 9:10 am
Operating System: Windows 7

Edit chains to split wave file into multiples?

Post by mistermax » Thu Mar 24, 2016 1:46 pm

Using Windows 7.

I have a directory with 87 wav files, consisting of 4 octaves of C notes played on synths, normally 2 synths per file. So 8 per file, making around 696 samples.

I'd like to split each wav file out into the 8 samples for use. I've read the Edit Chains page in the manual and http://manual.audacityteam.org/o/man/sp ... racks.html

can chains be used to do the chop and export? If not, has anyone any similar experience? Not adverse to a bit of Python or something if required.

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

Re: Edit chains to split wave file into multiples?

Post by steve » Fri Mar 25, 2016 12:19 pm

mistermax wrote:I'd like to split each wav file out into the 8 samples for use
Will you be splitting into 8 equal length sections, or do you need the batch process to somehow "detect" where to split? If the latter, then how will the process work out where to split?

How long is each file?
mistermax wrote:normally 2 synths per file. So 8 per file
So do some files have more / less than 8 sections?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

mistermax
Posts: 10
Joined: Tue May 22, 2012 9:10 am
Operating System: Windows 7

Re: Edit chains to split wave file into multiples?

Post by mistermax » Fri Mar 25, 2016 3:49 pm

The sections will not always be equal, no, as a number of items are shorter or longer. They are all one note shots though.

Some have less than 8. The larger files have 8.

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

Re: Edit chains to split wave file into multiples?

Post by steve » Fri Mar 25, 2016 6:14 pm

So how will the batch process know where to split the files?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

mistermax
Posts: 10
Joined: Tue May 22, 2012 9:10 am
Operating System: Windows 7

Re: Edit chains to split wave file into multiples?

Post by mistermax » Tue Mar 29, 2016 9:29 am

I'm guessing that I'll need to place all the files with same amount of content in a directory together, batch process those.

Or, if there is a means of instructing the process to listen for silence in the file, possibly?

Really, this is why I came on this forum though, to see if someone knew.

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

Re: Edit chains to split wave file into multiples?

Post by steve » Tue Mar 29, 2016 2:00 pm

You may be able to partially automate the process:

1) Import one file
2) Use "Analyze > Silence Finder" to add labels in the silences between the sounds
3) Use "Export Multiple" to export the labeled regions.
4) File menu > Close
Repeat 87 times.

The process is included in this tutorial: http://manual.audacityteam.org/o/man/sp ... racks.html
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

mistermax
Posts: 10
Joined: Tue May 22, 2012 9:10 am
Operating System: Windows 7

Re: Edit chains to split wave file into multiples?

Post by mistermax » Wed Mar 30, 2016 12:35 pm

So, not using chains.

Thanks anyway.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Edit chains to split wave file into multiples?

Post by Gale Andrews » Wed Mar 30, 2016 1:24 pm

mistermax wrote:So, not using chains.
The missing piece in the jigsaw is that Chains do not support Export Multiple. Do you want to "vote" for that? Sometime we will improve Chains by adding missing features so we will review requests when we do that.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

mistermax
Posts: 10
Joined: Tue May 22, 2012 9:10 am
Operating System: Windows 7

Re: Edit chains to split wave file into multiples?

Post by mistermax » Fri Apr 01, 2016 8:47 am

Yes, I'll vote for it. Seems useful. Link?

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Edit chains to split wave file into multiples?

Post by Gale Andrews » Fri Apr 01, 2016 10:53 am

mistermax wrote:Yes, I'll vote for it. Seems useful. Link?
I've added your vote http://wiki.audacityteam.org/wiki/Featu ... sts#chains.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply