-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changing pitch of string oscilator produces a small pitch ramp on note on #6985
Comments
wow i think this is a more fundamental bug than just the string oscillator If I take string and modify it so that ::init and ::process both print the pitch, take a string, set the octave to +3 and press middle C i get
so the init call doesn't get the octave shift, but the process call does. I'll dig into this tomorrow. Looks like a real bug at the bottom of the voice code. |
SurgeVoice called osc->init with a pitch which ignored the octave offset and so forth. This meant that the first block of any oscillator with octave +3 would have a 3 octave immediate shift. This long lived bug (since inception) is audible in the String and Modern oscillators which have a variety of memory and smoothing in their handling of pitch. This will subtly change the sound of oscillators with high octaves, but will change it to be correct. Closes surge-synthesizer#6985
SurgeVoice called osc->init with a pitch which ignored the octave offset and so forth. This meant that the first block of any oscillator with octave +3 would have a 3 octave immediate shift. This long lived bug (since inception) is audible in the String and (far less so - just a few samples) Modern oscillators which have a variety of memory and smoothing in their handling of pitch. This will subtly change the sound of oscillators with high octaves, but will change it to be correct. Closes #6985
However string osc pitch initialization still seems buggy. It works fine if changing the osc octave, but changing the osc pitch control or scene octave/pitch controls still breaks. Haven't checked what happens when modulation is involved. |
If you set an osc to string, and adjust its pitch using either scene or osc controls, the osc pitch seems to be initialized with the untransposed pitch and has to ramp to the correct one. Eg. Raising the osc pitch by 3 octaves sounds very different from transposing the incoming midi data. In my testing, no other osc types exhibited this behavior.
The text was updated successfully, but these errors were encountered: