Compress Dynamics problem: plugin stops working

Help for Audacity 2.x.x on Windows.
Forum rules
ImageThis forum is for Audacity 2.x.x 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.
philiptory
Posts: 13
Joined: Tue Oct 25, 2011 5:56 pm
Operating System: Please select

Compress Dynamics problem: plugin stops working

Post by philiptory » Fri Jul 20, 2018 9:26 am

I have a problem with the Compress Dynamics plugin - it has suddenly stopped working.

I have successfully used Chris's Compress Dynamics 1.2.6 for over a year, processing seminars, church sermons, and audio books. It is so-o-o good at what it does! But for the last couple of days, I will process 2 or 3 files, and then it suddenly stops working.

Sequence: After I open an audio MP3 file, I start Compress Dynamics. The parameter settings window appears, but as soon as I click on OK, that window closes, and no processing takes place. I try again, but the same happens - no processing.

I restarted my PC (Windows 10 Pro with 8 cores, 16 Gb memory, and 90 Gb free disk space) but the same thing happens again: it sometimes works once or twice, but then it stops working.

I checked for latest updates on Audacity, and updated it today to v2.2.2, but I still get the same problem.

Can anyone help? Have you any ideas please?

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

Re: Compress Dynamics problem: plugin stops working

Post by steve » Fri Jul 20, 2018 9:40 am

I'm not sure if this applies to Chris's compressor, but some Nyquist plug-ins have to load the entire track into the first 32-bit addressable RAM (the first 2GB of machine RAM). This usually works out at about 45 minutes for a track with a sampling rate of 44100 Hz. If tracks are too long, plug-ins with this limitation will usually fail in the manner that you describe. The workaround in this case is to select no more than about 45 minutes at a time (about half an hour of audio is usually a good safe bet).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

philiptory
Posts: 13
Joined: Tue Oct 25, 2011 5:56 pm
Operating System: Please select

Re: Compress Dynamics problem: plugin stops working

Post by philiptory » Mon Jul 23, 2018 7:54 am

Hello friends,
Whoops! It seems that I had a string of defective MP3 files to process.
I had downloaded a set of seminar MP4 files from Facebook. Then I wanted to convert them into MP3s ready to process them and listen on my mobile phone.
I used a free MP4 conversion application -- but it obviously has a bugette.
The fix was to do a basic process on my dodgy MP3s in Audacity -- such as export it as an MP3 file. Then close it. Then reopen the processed file, and Compress Dynamics now works perfectly! ;-)
All the best, and thanks for looking.

philiptory
Posts: 13
Joined: Tue Oct 25, 2011 5:56 pm
Operating System: Please select

Re: Compress Dynamics problem: plugin stops working

Post by philiptory » Mon Jul 23, 2018 9:29 am

WOW! . . . I just discovered that Audacity can process MP4 files directly into MP3! Now that took maybe an hour of hunting round the internet for better apps to do this for me, before I discovered this!
AUDACITY DEVELOPERS! -- Is there a way to make this more obvious to users? It's not in the Windows 10 File Explorer > right-click options for MP4 files. I had to dig for it, and create the link myself!
What else can Audacity do that could be in a > right-click option?
Don't let's hide a good feature!
Best wishes, and thanks for creating Audacity.

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

Re: Compress Dynamics problem: plugin stops working

Post by steve » Mon Jul 23, 2018 11:23 am

philiptory wrote:
Mon Jul 23, 2018 9:29 am
I just discovered that Audacity can process MP4 files directly into MP3!
Not exactly.
Audacity does not process files directly. Audacity copies the audio data from files into the Audacity project. Editing and processing is applied to the audio data in the project, and then the audio data may be exported as a new audio file.

If you have FFmpeg installed for Audacity (which you clearly have), then Audacity can import and export many additional file types. See: https://manual.audacityteam.org/man/faq ... tml#ffdown
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

philiptory
Posts: 13
Joined: Tue Oct 25, 2011 5:56 pm
Operating System: Please select

Re: Compress Dynamics problem: plugin stops working

Post by philiptory » Mon Jul 23, 2018 12:22 pm

Hi Steve,
OK, that may be the way it does it in the background, but to the user (people like me), I now have it on my *.mp4 > right-click > Open with > Audacity. I only want the Audio from it. I have wasted hours over the last week or so in processing MP4s the hard way . . . I just didn't have a clue that Audacity could do it so cleanly.
If you were to include it in the standard right-click options, I would have found it very quickly.
How about it? Everyone knows Audacity is for Audio; they won't expect to process the video. And you could include any other video file types that Audacity can work with.
While I think of it, if I want to set the MP3 tags, I use a free application called MP3tag (see https://www.mp3tag.de/en/). This is accessible from the *first* level of the right-click in File Explorer:
right-click > Mp3tag.
But Audacity is on the next level down:
right-click > Open with > Audacity.
Would it be possible to enhance this to operate from the first level, instead of having to drill down to it? Please?
(As for FFmpeg, I don't know if or when I might have added this (as a plugin?) -- I've used it for years!)
Thank you for your interest and your answers.
God bless you.
Philip

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

Re: Compress Dynamics problem: plugin stops working

Post by steve » Mon Jul 23, 2018 1:03 pm

Associating files of a particular type with an application is an operating system (Windows) option.

When Audacity is first installed, you are asked if you want to associate Audacity project files (.AUP files) with Audacity.
Audacity "Project" files are the only file type that Audacity actually opens. Other media types may be "imported" into an Audacity project, but usually they are associated with a media player, so that when you "open" a media file, it plays (which most will agree is the correct behaviour).
philiptory wrote:
Mon Jul 23, 2018 12:22 pm
But Audacity is on the next level down:
right-click > Open with > Audacity.
I rarely use Windows, but I believe it has an option to "always open with..." so that you can associate files of a particular type with the application of your choice. If, for example, you tell Windows to always open WAV files with Audacity, then the default behaviour when double clicking on a WAV file will be to launch Audacity (if it is not already running), and import the WAV file into the Audacity project.

While this option is available in Windows, it is not generally recommended because it interferes with being able to double click on a file to play it in a media player.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

edwinn
Posts: 129
Joined: Fri Feb 27, 2015 12:46 am
Operating System: Windows 7

Re: Compress Dynamics problem: plugin stops working

Post by edwinn » Mon Jul 23, 2018 3:42 pm

I simply drag a downloaded MP4 video out of Win File Manager (or Explorer) and drop in into Audacity where is opens lickety-split. From there you can edit it or Export to MP3 right away. This instead of using the context menu in Explorer.


-Ed

philiptory
Posts: 13
Joined: Tue Oct 25, 2011 5:56 pm
Operating System: Please select

Re: Compress Dynamics problem: plugin stops working

Post by philiptory » Tue Jul 24, 2018 8:14 am

Good idea, Ed, I'll try and remember that. Fortunately, I have dual monitors!
● Just to apply the "Think User" rule for a moment: Is there some way you can tell your users that they can use Audacity to extract audio tracks from movie files? I wasted so many hours doing it the hard way, and only came across using Audacity by accident after several exhausting searches on Google for MP4 to MP3 converters...
● Perhaps a "Tips and Tricks" popup, or mailer? As I always thought of Audacity as something that processed existing audio files, it just didn't occur to me that it would extract audio from MP4 videos.
● Another possible: How about a SEO-optimised "convert_mp4_to_mp3.php" page on your web site? Judging by the 218,000 pages in Google already covering this topic, it's a popular one!
Over to you!
Best wishes, Ed, and God bless you.
Philip Tory, Gloucester, England.

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

Re: Compress Dynamics problem: plugin stops working

Post by steve » Tue Jul 24, 2018 8:45 am

philiptory wrote:
Tue Jul 24, 2018 8:14 am
Is there some way you can tell your users that they can use Audacity to extract audio tracks from movie files?
On the website "About > Features > Export and Import" it says:
Import and export AC3, M4A/M4R (AAC) and WMA with the optional FFmpeg library (this also supports import of audio from video files).
In the "Getting Started" guide in the manual
(Getting Started > Learn how to: import and play an existing audio file)
it says:
For most other cases (including audio from video files), you can install the optional FFmpeg library to import your file,
In the main Audacity manual:
Front page > Audacity Foundations (in the "Using Audacity" section) > Importing audio
it says:
Audio File Formats Supported by Audacity

The audio formats importable by Audacity as shipped are:
  • Uncompressed audio formats: most WAV and AIFF files including all PCM variants.
  • Compressed audio formats: Ogg Vorbis, FLAC, MP2 and MP3.
You can install the optional FFmpeg library to import a much larger range of audio formats including AC3, AMR(NB), M4A, MP4 and WMA (if the files are not DRM-protected to work only in particular software). FFmpeg will also import audio from most video files or DVDs that are not DRM-protected. On Mac only, Audacity can import M4A, MP4 and MOV files without FFmpeg.
In the FAQ, under "Opening and Saving Files", it says:
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply