-
Notifications
You must be signed in to change notification settings - Fork 403
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
Copying and pasting wavetable oscillators sometimes does not work properly #1060
Comments
I've confirmed this is a bug in 1.6.1.1 as well; which is good. It means my .wav file changes didn't introduce it. But also is bad. It means I have more code to look at to figure it out :) Thanks for the accurate bug report. |
Well that was wrong! Will keep notes to self in a more private spot until this is fixed ;) |
OK this bug was introduced between 1.6.0 beta-9 and 1.6.1.1 Looking at the "copy" code I think it is that the "copy" code doesn't deal with dynamic wavetables properly. |
With the introduction of Dynamic WTs, Wavetable Copy was broken meaning Oscillator Copy and Paste on wavetables was broken. This fix makes copy follow the dynamic code path correctly. Closes surge-synthesizer#1060
With the introduction of Dynamic WTs, Wavetable Copy was broken meaning Oscillator Copy and Paste on wavetables was broken. This fix makes copy follow the dynamic code path correctly. Closes #1060
Confirmed, it works now! The only thing is that the name of the selected wavetable from the copied OSC does not appear after pasting, instead it says the generic "(Patch Wavetable)" name. I don't know if this is related to this issue or even fixable, since I just realized that Cloning an instance of Surge in FL Studio with a wavetable OSC loaded gives the same result; the new instance of surge does not have the name of the wavetable either. |
Yeah that’s right; cloning makes an in memory copy and loses affiliation with the on-disk image. Just like if you save your state in the DAW and then re-open it. I’ve occasionally thought about fixing this (like store an ‘original name’) but that’s a bit deceptive. It is a wierd behavior though I agree. |
(I think the fundamental reason for this - that surge stores the contents of the wavetable in the patch rather than the reference - is absolutely correct behavior. It’s just the display name issue) |
OK, sounds good, not really important after all! |
When fixing the unison for tuning, I divided where I should have multiplied. This restores the untuned unison to the 1.6.1.1 behavior and still works coherently with tuning. All parth of surge-synthesizer#1060
When fixing the unison for tuning, I divided where I should have multiplied. This restores the untuned unison to the 1.6.1.1 behavior and still works coherently with tuning. All parth of #1060
Copying and pasting oscillators now always pastes OSC 1 to whatever destination you paste to. Probably a side-effect to the fix above. |
Copying (with modulation) does seem to work fine though. |
Huh the fix above wouldn’t do that but could easily be another bug! I’ll look |
can reproduce though. Will look! |
Can you spot the bug? (I can!) |
Way back in 1.6.0 beta 5 we introduced this bug that always copied oscillator 0. Closes surge-synthesizer#1060
Anyway, pull request in |
Way back in 1.6.0 beta 5 we introduced this bug that always copied oscillator 0. Closes #1060
Bug Description
When pasting certain wavetables in an oscillator after copying them from another oscillator, the result is not the same as the first one.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should behave like the first OSC we copied the data from.
Screenshots
OSC 1 (the one we copied from)
OSC 2 (the one we pasted data from 1)
Desktop config:
The text was updated successfully, but these errors were encountered: