mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 08:09:41 +02:00
Allow more decimal places for noise generator amplitude.
Noise generator now has the same precision as Tone and Chirp.
This commit is contained in:
parent
4d0c7cd97b
commit
19e068f087
@ -220,7 +220,7 @@ void EffectNoise::PopulateOrExchange(ShuttleGui & S)
|
||||
{
|
||||
S.AddChoice(_("Noise type:"), wxT(""), &typeChoices)->SetValidator(wxGenericValidator(&mType));
|
||||
|
||||
FloatingPointValidator<double> vldAmp(1, &mAmp, NUM_VAL_NO_TRAILING_ZEROES);
|
||||
FloatingPointValidator<double> vldAmp(6, &mAmp, NUM_VAL_NO_TRAILING_ZEROES);
|
||||
vldAmp.SetRange(MIN_Amp, MAX_Amp);
|
||||
S.AddTextBox(_("Amplitude (0-1):"), wxT(""), 12)->SetValidator(vldAmp);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user