A built-in effect (C++) has many advantages over a plug-in implementation but a plug-in may be a useful temporary solution while we wait. (We are likely to be waiting years for a built-in version).Gale Andrews wrote:This is more difficult because of the plans for a similar effect written in C++.steve wrote:Hopefully we will have room to include a proper "cross fade" effect (that applies a cross-fade) at some point.
It's tricky for the Logarithmic and Exponential fade types. They would need to become "normalized", so the default settings will look quite different from v26.Gale Andrews wrote:I don't like hidden controls much, but how much work would it be to code it in but leave it commented out?steve wrote:Personally I like the "Mid-fade" control, but the interface is greatly simplified by removing it. For "advanced users" I don't think there would be any problem in just adding one "Mid-fade" control, but as you have pointed out that may produce confusion for novice users.
Not hard for the others.
Yes. We had the "normalized exponential" in v24.Gale Andrews wrote:(Re: "normalized exponential"...)
If it was an additional "fade type" (so we had 14 types), is it compatible with the "dB Scale" choice?
Other than fading from/to silence, the normalized fade with default "Mid-fade" is identical to the current version.
The current version never goes below -145 dB gain.
The "Normalized" version can go to absolute silence, and the amount of "curve" (hence how long the fade remains at a low level) is adjustable.
It would be possible, but it's not very "clean".Gale Andrews wrote:And if we get into commenting out a control, is it possible to comment out a particular fade type cleanly?
The multiple choice controls present a list of choices.
The returned value is the position of the choice in the list (counting from 0), so for example, if you have 10 items in the menu they are numbered 0 to 9. If you select the 4th item, then the control takes the value "3".
The problem with changing the list is that it will change the numbering of the rest of the list. For example, if there are 10 items and you comment out the 4th item, then items 5 to 10 become items 4 to 9.
The dB values need to be negative for below unity gain.Gale Andrews wrote:Before we added the "linear" choice, I had suggested (without liking it very much):Code: Select all
;control units "Units (dB or % of original level)" choice "dB,Percent" 0 ;control max-gain "High Point dB increase or %" real "" 0 0 100 ;control min-gain "Low Point dB reduction or %" real "" 100 0 100
Short answer: NoGale Andrews wrote:Is there any way for a control to expose different controls (after a reload of the GUI) - "with the control set this way, the commented out controls are treated as uncommented, and (if wanted), the uncommented controls are commented"?
Longer answer: The plug-in header is parsed by Audacity before running the plug-in, so the interface is created before the plug-in code can do anything.
You're suggesting that users will see the values 0 and 1 and think "ah ha, I'll ignore the fact that it says 'Gain', it must mean Amplitude"Gale Andrews wrote:Again, not totally the point if the expectation is created that this is "amplitude".
I even used a single digit "1" rather than "1.0" so that it looks different from the track scale.
Do they also think that "Gas Mark 5" means that the oven will shut down after 5 minutes because that's what their microwave does?
I agree that we should try and make it "not so over-complex that a relative beginner couldn't do a partial fade" but "Gain" is not "Amplitude" and the control clearly says "Gain" and not "Amplitude". I don't see that the numbers 1 and 0 strongly suggest otherwise.
There is also potential for confusion with a % scale. Does "20 %" mean:
a) 20 % lower than the original
b) 20 % of the original (80 % lower)
c) 20 % target level
I don't think that we can completely eliminate all ambiguity - we can try to make clear for the majority of users, but those that still "don't get it" will have to either RTFM, ask on the forum or not use it. We should not be depriving millions of users just because a few that will probably never need the effect may find it too difficult.
I'm not sure that I'm a typical "power user", but much of the time I would find the linear scale most convenient.Gale Andrews wrote:Of the current three "Gain Values" choices, as a power user, which would be your first, second and third choice to have as default?
I also think that this would be the most convenient for most novice users.
Can you think of a clearer expression than "Gain Values: linear scale"?
If I'm wanting to fade by a specific amount - for example to match the peak level of another track, I would probably use the "Amplify" effect to read the peak levels, so I would then use dB.
Given the choice, I doubt that I would ever use the % scale.