-
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
Microtuning affects oscillator display #1590
Comments
surge/src/common/gui/COscillatorDisplay.cpp Line 156 in 2888e8e
The code is in pitch space. 95.15-48+some goop is the pitch but that must imply a frequency so I can find that frequency or close to it in pitch space instead ... should be a smallish fix. Nice find! |
OK I've confirmed the note being played is around note 42 but what we really want is "the note where the pitch is 11.414" (pitch is basically frequency / 8.16etc... and is the internal representation surge uses). So the fix here is to, if in non-standard-tuning, find a pair of notes which bracket the ignored tuning. Not that hard but a bit tedious. Will fix before we ship 1.6.6 |
The OSC display pitch is a note but that note gives a radically different frequency on short and long scales, improperly changing the oscillator display. Instead search for a note which has the pitch we want when in non-standard tuning. Closes surge-synthesizer#1590
The OSC display pitch is a note but that note gives a radically different frequency on short and long scales, improperly changing the oscillator display. Instead search for a note which has the pitch we want when in non-standard tuning. Closes #1590
Obviously waveform display is drawn by sending a MIDI note number then rendered by the resulting tone, but microtuning messes with this. I assume this is middle C (261 Hz in 12-TET 440 Hz). A number of microtunings mess this frequency up, so maybe there should be a way to force the waveform display to always draw at 261 Hz?
The text was updated successfully, but these errors were encountered: