How to convert a set of files with audacity?
Forum rules
This forum is for Audacity on GNU/Linux.
Please state:
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see 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 Linux you are using,
- the exact three-section version number of Audacity from Help menu > About Audacity,
- whether you installed your distribution's release, PPA version, or compiled Audacity from source code.
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see 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.
-
sido-auda-city
- Posts: 4
- Joined: Fri May 22, 2015 4:28 pm
- Operating System: Please select
How to convert a set of files with audacity?
Hello guys
Let us just say that I have a folder that contains 30 music files. They are all in MP3 format. I would like to convert them to Advanced Audio Codec aka AAC. Converting each file alone will take a lot of time, so here is my question:
Is there a way to convert those 30 files in a quicker way like converting them all at once?
Thank you.
Let us just say that I have a folder that contains 30 music files. They are all in MP3 format. I would like to convert them to Advanced Audio Codec aka AAC. Converting each file alone will take a lot of time, so here is my question:
Is there a way to convert those 30 files in a quicker way like converting them all at once?
Thank you.
-
kozikowski
- Forum Staff
- Posts: 69374
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: How to convert a set of files with audacity?
Audacity has a tool called "Chains" which is just the Batch tools everywhere else.
http://manual.audacityteam.org/o/man/ch ... ation.html
However, don't fall in love with the idea of doing them all at once. The first thing Audacity does is decompress the MP3 and convert each one into Super High Quality internal format. So four or five songs is going to go through all your memory—maybe sooner. If you do any effects, it's even worse because Audacity has to make UNDO copies.
You will have to install the FFMpeg add-on software to manage AAC. I'm pretty sure Audacity won't do that by itself.
Oh, and the result will be a lower quality than the originals. You can't convert between compressed formats without collecting the sound damage from each format.
Koz
http://manual.audacityteam.org/o/man/ch ... ation.html
However, don't fall in love with the idea of doing them all at once. The first thing Audacity does is decompress the MP3 and convert each one into Super High Quality internal format. So four or five songs is going to go through all your memory—maybe sooner. If you do any effects, it's even worse because Audacity has to make UNDO copies.
You will have to install the FFMpeg add-on software to manage AAC. I'm pretty sure Audacity won't do that by itself.
Oh, and the result will be a lower quality than the originals. You can't convert between compressed formats without collecting the sound damage from each format.
Koz
-
kozikowski
- Forum Staff
- Posts: 69374
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: How to convert a set of files with audacity?
I can't find the FFMpeg for linux, so you're on your own, or you may not need it. I can't tell.
Koz
Koz
-
sido-auda-city
- Posts: 4
- Joined: Fri May 22, 2015 4:28 pm
- Operating System: Please select
Re: How to convert a set of files with audacity?
So, you do not advice me to use the feature?
Re: How to convert a set of files with audacity?
Code: Select all
apt-get install ffmpeg-
kozikowski
- Forum Staff
- Posts: 69374
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: How to convert a set of files with audacity?
What he said.should do it on Debian.
Koz
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: How to convert a set of files with audacity?
@sido-auda-city, please always provide the information from the pink panel at the top of the page. We have no idea what version of Linux or Audacity you are using unless you tell us.
See http://manual.audacityteam.org/o/man/fa ... html#linff.
However you can batch-convert with FFmpeg on its own. If you write a bash script something like this it should work (I think), assuming you want to use the FFmpeg native AAC encoder:
You can also use handbrake which has a GUI:
(or use whatever package installer your distro provides).
Gale
Koz misinformed you. Chains in Audacity do not yet support AAC export.sido-auda-city wrote:So, you do not advice me to use the feature?
Installing ffmpeg if it is not already installed on the system does not magically ensure Audacity can use it unless Audacity has been compiled with FFmpeg support and unless the version of FFmpeg or libav you install is compatible with Audacity.cyrano wrote:Code: Select all
apt-get install ffmpeg
See http://manual.audacityteam.org/o/man/fa ... html#linff.
However you can batch-convert with FFmpeg on its own. If you write a bash script something like this it should work (I think), assuming you want to use the FFmpeg native AAC encoder:
Code: Select all
#!/bin/bash
for %%a in ("*.mp3") do ffmpeg -i "%%a" -strict experimental -acodec aac "newfiles\%%~na.m4a"
done
Code: Select all
apt-get install handbrake-gtkGale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual