- Use logarithmic curve for VCO-Humanize parameter slider
- VCO and VCF Humanize 0 to 100% git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@244 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
+4
-4
@@ -250,8 +250,8 @@ void JaySynth::humanizeVarianceChanged_VCO(void)
|
||||
{
|
||||
#ifdef WITH_OLD_HUMANIZE
|
||||
// humanizeParam(SYNTH_PARAM_TUNE, true, 0x1234561, 0, 10*humanize_var_vco);
|
||||
humanizeParam(SYNTH_PARAM_OSC_0_DETUNE, true, 0x293857, 0, 10*humanize_var_vco);
|
||||
humanizeParam(SYNTH_PARAM_OSC_1_DETUNE, true, 0x137573, 0, 10*humanize_var_vco);
|
||||
humanizeParam(SYNTH_PARAM_OSC_0_DETUNE, true, 0x293857, 0, 2*humanize_var_vco);
|
||||
humanizeParam(SYNTH_PARAM_OSC_1_DETUNE, true, 0x137573, 0, 2*humanize_var_vco);
|
||||
|
||||
// Re-Read parameter
|
||||
// setParameter(SYNTH_PARAM_TUNE, params[SYNTH_PARAM_TUNE]);
|
||||
@@ -280,8 +280,8 @@ void JaySynth::humanizeVarianceChanged_VCO(void)
|
||||
|
||||
void JaySynth::humanizeVarianceChanged_VCF(void)
|
||||
{
|
||||
humanizeParam(SYNTH_PARAM_VCF_F, true, 0x1234561, 0, humanize_var_vcf);
|
||||
humanizeParam(SYNTH_PARAM_VCF_Q, true, 0x1234561, 0, 0.1*humanize_var_vcf);
|
||||
humanizeParam(SYNTH_PARAM_VCF_F, true, 0x1234561, 0, 2*humanize_var_vcf);
|
||||
humanizeParam(SYNTH_PARAM_VCF_Q, true, 0x1234561, 0, 0.2*humanize_var_vcf);
|
||||
|
||||
// Re-Read parameter
|
||||
setParameter(SYNTH_PARAM_VCF_F, params[SYNTH_PARAM_VCF_F]);
|
||||
|
||||
@@ -41,12 +41,12 @@ static const param_info_t param_info[] =
|
||||
{
|
||||
SYNTH_PARAM_HUMANIZE_VAR_VCO,
|
||||
"Humanize Spread VCO",
|
||||
/*Base*/10.0, /*kexp*/1.0, /*scenter*/0.0, /*min*/0, /*pcenter*/-1, /*max*/10, /*interval*/0.01
|
||||
/*Base*/10.0, /*kexp*/1.0, /*scenter*/0.0, /*min*/0, /*pcenter*/-1, /*max*/100, /*interval*/0.1
|
||||
},
|
||||
{
|
||||
SYNTH_PARAM_HUMANIZE_VAR_VCF,
|
||||
"Humanize Spread VCF",
|
||||
/*Base*/1.0, /*kexp*/1.0, /*scenter*/0.0, /*min*/0, /*pcenter*/-1, /*max*/200, /*interval*/0.1
|
||||
/*Base*/1.0, /*kexp*/1.0, /*scenter*/0.0, /*min*/0, /*pcenter*/-1, /*max*/100, /*interval*/0.1
|
||||
},
|
||||
{
|
||||
SYNTH_PARAM_HUMANIZE_VAR_ENV,
|
||||
|
||||
Reference in New Issue
Block a user