Open rvega opened 12 years ago
If you want to change the range in code. You need to change GUITimbre.cpp lines 187 and 215, and DSPSynthesizerVoice.cpp lines 245 and 288. Look at void DSPSynthesizerVoice::process also, it will help understand what's happening.
Also, look at the terminal output while moving the sliders. It will help you figure out what the actual values are.
The contour variable sets the amount of changes that the envelopes affect the filters. Right now, it can be changed between -5 and 5 but this range does not allow for a sensible change. I temporaroly made the range really ample (-100,100). We need to play with the sliders a little and figure out a sensible range for the two contour variables.
Also, I think the slider should be grouped with the LOW PASS ENVELOPE and HIGH PASS ENVELOPE sliders and be called "TO FREQUENCY". This way it'll be consistent with the labeling and pacing for the TO AMPLITUDE" and "TO FREQUENCY" sliders. What do you think?