Chain to trim off first 25 seconds

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.
Post Reply
ROWELG
Posts: 2
Joined: Sun Apr 15, 2012 4:53 pm
Operating System: Please select

Chain to trim off first 25 seconds

Post by ROWELG » Sun Apr 15, 2012 5:38 pm

I have spent days trying to figure out how to create a simple chain to cut off 25 seconds of the start of an mp3 file.
In the "Select Command" I see no effect choice of edit or trim, and I see no means to add those effects to the "Select Command" drop down menu!
It would be great to add or remove commands from "Select Command" drop down! Then it would be nice to run the chain through a directory of files!

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

Re: Chain to trim off first 25 seconds

Post by steve » Sun Apr 15, 2012 6:14 pm

It is not currently possible to do that in an Audacity Chain.

If you are comfortable with command line programs and batch files it can be done using SoX

It would be possible in Audacity if Audacity Chains supported Nyquist Plug-ins. This has been written and tested but has not yet been included in any release version of Audacity. If you would like to vote for adding this feature (Nyquist support in Chains) then let me know and I'll move this post to the "Adding features" section of the forum.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

ROWELG
Posts: 2
Joined: Sun Apr 15, 2012 4:53 pm
Operating System: Please select

Re: Chain to trim off first 25 seconds

Post by ROWELG » Sun Apr 15, 2012 8:58 pm

I would think that timming time off of beginning and endings of music files would be a commonplace macro (chain)!
I would think that adding/deleting applicable effects to/from "select commands" dropdown menu would be commonplace setup!
I would like them to be considered in future improvements! Thanks

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

Re: Chain to trim off first 25 seconds

Post by steve » Sun Apr 15, 2012 9:19 pm

ROWELG wrote: I would think that timming time off of beginning and endings of music files would be a commonplace macro (chain)!
Perhaps surprisingly it does not seem to be very common. The question of trimming a set amount of time of the beginning/end of a file has come up before, but not very often.
ROWELG wrote:I would think that adding/deleting applicable effects to/from "select commands" dropdown menu would be commonplace setup!
Unfortunately it is not simple to do. The way that the code is currently written the effects that are available as Chain commands are hard coded so effects that are not bundled as standard in Audacity cannot be added without recompiling the source code. The changes proposed in the "Nyquist support in Chains" feature request makes an important change to how the Chain commands are called in that the Chain effect list is created at run-time from the list of currently installed effects. This change is (IMHO) a powerful addition to Chains as it would allow custom effects to be used for batch processing.
ROWELG wrote:I would like them to be considered in future improvements! Thanks
There is currently a proposal for this feature here: http://wiki.audacityteam.org/wiki/Propo ... _in_Chains
I'll add an example "user case" linking to this forum topic.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply