Contrast Analysis not Working
Forum rules
This 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.
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.
-
jasperjones
- Posts: 5
- Joined: Fri Mar 16, 2012 1:33 pm
- Operating System: Please select
Contrast Analysis not Working
Problem occurs in 2.0 on Win 7 Pro x64 installed with the .exe installer.
The thread title basically says it all. I frequently used contrast analysis in the beta, now it's not working anymore. Regardless of what I do, whenever I click the "Measure selection" button in the Contrast Analysis box, I get an error message "you can only measure on track at a time" (yes, i know) and a contrast analysis result of "Please enter valid times." Needless to say, I do enter valid times.
Thoughts?
The thread title basically says it all. I frequently used contrast analysis in the beta, now it's not working anymore. Regardless of what I do, whenever I click the "Measure selection" button in the Contrast Analysis box, I get an error message "you can only measure on track at a time" (yes, i know) and a contrast analysis result of "Please enter valid times." Needless to say, I do enter valid times.
Thoughts?
Re: Contrast Analysis not Working
The Contrast tool only works on mono tracks.
I'm unsure if the tool was ever intended to work on stereo tracks. Did it work on stereo tracks in your previous version? Do you know the exact version number that you were using previously?
I'm unsure if the tool was ever intended to work on stereo tracks. Did it work on stereo tracks in your previous version? Do you know the exact version number that you were using previously?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Contrast Analysis not Working
Previously, Contrast measured the bottom track in the project irrespective of which track was selected. If you only had one stereo track, Contrast would just analyse the bottom (right) channel. If you had five stereo tracks, it analyzed the right channel of the fifth stereo track.steve wrote:The Contrast tool only works on mono tracks.
I'm unsure if the tool was ever intended to work on stereo tracks.
Contrast was then fixed so that it only measured a single selected mono track.
So to measure contrast on a stereo track now, use the Track Drop-Down Menu to "Split Stereo Track", then you can select and analyse one channel of the track or the other.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
-
jasperjones
- Posts: 5
- Joined: Fri Mar 16, 2012 1:33 pm
- Operating System: Please select
Re: Contrast Analysis not Working
Thank you very much!
Re: Contrast Analysis not Working
The Manual says:steve wrote:The Contrast tool only works on mono tracks.
I'm unsure if the tool was ever intended to work on stereo tracks.
http://manual.audacityteam.org/man/Analyze_Menu
"Contrast Analysis is designed to analyze a single mono or stereo speech track"
So if it would be possible, could someone make it work so that it works again on stereo tracks (both Windows and Mac and Linux versions)?
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Contrast Analysis not Working
Thanks for the reminder that we did not update the Manual, which I have now done. The Manual was wrong in suggesting that "if you have multiple tracks open, Contrast Analysis will calculate rms values based on all of the tracks, whether they are selected or not" - as above, it analysed only the bottom track or channel.ahjteam wrote:The Manual says:steve wrote:The Contrast tool only works on mono tracks.
I'm unsure if the tool was ever intended to work on stereo tracks.
http://manual.audacityteam.org/man/Analyze_Menu
"Contrast Analysis is designed to analyze a single mono or stereo speech track"
As above, it never did analyze a stereo track, only the bottom (right) channel of it. Averaging out rms in multiple tracks would mean more coding and complexity which might not be worth it. And if the user has selected multiple tracks, it probably isn't useful for Contrast to make a decision to operate just on the bottom one.ahjteam wrote:So if it would be possible, could someone make it work so that it works again on stereo tracks (both Windows and Mac and Linux versions)?
I agree it would save user's time that if an unsplit stereo track was selected, Contrast simply went ahead and analyzed the right channel with an appropriate message. But again this may mean significant new coding.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Contrast Analysis not Working
Hey Gale. Can you change it so, that it calculates both channels (so just does two passes, first left and then right), then just adds them together and divides the result by 2 for an average? (a+b)/2Gale Andrews wrote:Thanks for the reminder that we did not update the Manual, which I have now done. The Manual was wrong in suggesting that "if you have multiple tracks open, Contrast Analysis will calculate rms values based on all of the tracks, whether they are selected or not" - as above, it analysed only the bottom track or channel.ahjteam wrote:The Manual says:steve wrote:The Contrast tool only works on mono tracks.
I'm unsure if the tool was ever intended to work on stereo tracks.
http://manual.audacityteam.org/man/Analyze_Menu
"Contrast Analysis is designed to analyze a single mono or stereo speech track"
As above, it never did analyze a stereo track, only the bottom (right) channel of it. Averaging out rms in multiple tracks would mean more coding and complexity which might not be worth it. And if the user has selected multiple tracks, it probably isn't useful for Contrast to make a decision to operate just on the bottom one.ahjteam wrote:So if it would be possible, could someone make it work so that it works again on stereo tracks (both Windows and Mac and Linux versions)?
I agree it would save user's time that if an unsplit stereo track was selected, Contrast simply went ahead and analyzed the right channel with an appropriate message. But again this may mean significant new coding.
Gale
Re: Contrast Analysis not Working
That probably isn't the correct way to handle stereo tracks, but more importantly the WCAG 2.0, Success Criteria 1.4.7 does not specify how stereo sound should be handled. http://www.eramp.com/WCAG_2_audio_contr ... l_help.htmahjteam wrote:Hey Gale. Can you change it so, that it calculates both channels (so just does two passes, first left and then right), then just adds them together and divides the result by 2 for an average? (a+b)/2
For example, if a voice is panned to one side and background music is panned to the other side, then it will probably be easier to pick out what the voice is saying (less contrast) than if both voice and music are panned centre.
(The other issue is that neither Gale nor myself are Audacity developers.)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Contrast Analysis not Working
Yes, so if you split the stereo track then run Contrast on each channel, it isn't easy to interpret the result.steve wrote:For example, if a voice is panned to one side and background music is panned to the other side, then it will probably be easier to pick out what the voice is saying (less contrast) than if both voice and music are panned centre.
It's also unfortunate that for most of the examples WCAG actually show a selection in a stereo pair, which now won't work and which scenario wasn't considered by them.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Contrast Analysis not Working
So it appears that they were working on the assumption that stereo tracks are fairly similar in both channels?Gale Andrews wrote:It's also unfortunate that for most of the examples WCAG actually show a selection in a stereo pair, which now won't work and which scenario wasn't considered by them.
If that's the case, what was the reason for the "fix"?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)