Audacity command line version

Hi appreciated team,
I am Fran, an old Audacity user, and I have just filled your survey for users .

And … I have found the question about the topics the users would find useful you to focus on in the future very interesting.
And … at that moment my mind did not trigger any “other thing” that I would find really use ful.
So I am writing to you in order to try to amend that .

Let me te ll you:
I would find really useful, to have a way to invoke audacity functions via command line, for the users to be able to automate their digital audio processing pro cedures.
At least for me, that would be reall y useful.

====================

Let me tell you more: I am also a softwar e developer.

I am now involved in a new big open source task which will involve sharing some hundreds of scripts, kind of bash, Python, Java applications, sed and awk commands, …

Scripts which might trust in other command line or gui applications (a mixture of Windows like and Unix like applications, some programmed by me, some others not).

I am not planning to share the video and audio tools wrappers I plan to use for my automations in order not to promote piracy, although I think that at this moment it is not a very important factor.

But those command line tools would help me a lot at the task of automating my processes.

I am just now involved in the creation of some videos (screen captures with audio) of one of the applications I share: a music player

And … some times the audio (normally stored in legal mp3 audio files) is not loud enough. (well, I mean that is not at the optimum final peak level of 0dB).

The video builder application I use, creates a mkv from which you can to extract the audio (just in aac format), then I must convert it into mp3 (with an app I bought this morning at the Microsoft Store), then I can use (manually) your amplifier processor, do save the output back in a mp3 file, and then merge that mp3 with the video track just creating back the mkv file with the audio either normalized or amplified.

This is this morning example:

Original video track, without normalizing:

https://frojasg1.com:8443/resource_counter/resourceCounter?operation=countAndForward&url=https%3A%2F%2Ffrojasg1.com%2Fdemos%2Faplicaciones%2FJMusicPlayer%2F20260828.AlasDeMariposa.sin.normalizar.mp4%3Forigin%3Dauda&origin=web

Video track after having normalized the audio with Audacity:

https://frojasg1.com:8443/resource_counter/resourceCounter?operation=countAndForward&url=https%3A%2F%2Ffrojasg1.com%2Fdemos%2Faplicaciones%2FJMusicPlayer%2F20260828.AlasDeMariposa.mp4%3Forigin%3Dauda&origin=web

I have found the tools for doing almost everything, but now is the turn to see if I can invoke the audacity functionality automatically.

As I do not feel like programming myself those functions (I might success with the amplifier, or with the normalizer, but I do not think I would at others, like the one of noise reduction or others more sophisticated, and it would be a pity to overlap efforts)

It would be nice the availability of some command line tools, some for giving information (about the media file formats or indicators of the audio streams, like their max peak in dB, or others I cannot imagine now), and others supplying the ability of processing input files (normalizing, amplifying, noise reduction, …), with the option to concatenate them (that I think could be easily done via a temporary .wav file, and then convert it back at the end of the processing).

It would be cool for me to have that great power in my hands.

====================

I have read about the enquiry of some users for using audacity via command line at your Forum (but the latest dates from 2014, quite old!)

I do not know if there has been any progress since then

Fran

That’s a lot of transcoding generation loss.

SoX, nice to know !

Thanks

Although I have spent the whole day adjusting an old wav reader I found on the Internet (in C !!), and I have been able to manage for programming the audio amplifier.
Finally I have taken ffmpeg to convert it into wav, and then to apply the amplifier just programmed.

SoX sounds like something more complete, I will have a look