Update: turns out I wrongly assumed it phased at the lowest point, turns out phase is at 0.
I couldn’t find any posts about this, so I wonder if it is me doing something wrong here or not.
I am trying to make a LFO that combines several LFO’s to make a single complex LFO. All was going great until I wanted to implement phase shifting between two phasors.
What I noticed is that it works great if both LFO’s have the same frequency, however once I changed one of the LFO’s frequencies I got some unexpected behaviour.
So I made a slimmed down setup with two sinus phasors and a sync button. With both phasors at the same frequency the sync button does what you expect and the waveforms stack on top of each other. Double the rate of one of the phasors however and they go out of phase and stay that way even after resyncing.
That to me makes no sense as a double rate phasor should stay in sync, it just makes twice as many waves.
I made a video on my Instagram displaying the issue:
I’m wondering if there’s some squirrely graphics thing going on for you involving the the two waveform nodes. To rule that out, you might combine the two signals into one and run a single waveform of the resulting signal.
Yeah the waveforms aren’t in phase, but there’s also nothing wrong with what’s going on in the video. @dcLargo@ThaTyger what are you expecting it to look like? Perhaps what you have in your head is a phase shifted version of what you’re seeing here, like maybe 90 degrees or something?
Yeah I got the math, just made an incorrect assumption it seems. Will check that tread out.
I am working on this (most likely very inefficient) contraption that allows the user to pick from 4 phase states (0 / 90 / 180 / 270) and that is where I ran into the issue. But I should be able to fix it now that I know where I made the mistake =)
Actually not a bad idea. Was thinking about that as an efficiency update anyways. For symplicity sake I’ve just duplicated the one LFO 4 times. So that is less efficient anyways. Some reworking to do. Haven’t honestly looked into libraries and stuff will do =)