[solved] the [sin] operator in gen~ versus [cos~] in Max
Oct 04 2018 | 3:42 pm
Hi
I am using the following simple algorithm in gen~ to create a 'fat' unipolar Hanning window (for use in my granulator engine). I believe I stumbled upon this idea more by good luck than advanced trigonometry.
phasor~ --> [gen~ triangle --> sin]. This creates a broad sinewave window, of the same frequency and phase as the phasor. I can increase the width of the resultant window by inserting a scalar >1 between triangle and sin operators, and also change the shape of the window by altering the 'peak' value to triangle.
My question is why can I not achieve this in MSP? I phase-shifted the phasor ramp and then repeated the above algorithm but I just get a bipolar wave at twice the frequency. Does the sin operator in gen just return the sine value of its input or is it doing something else?
Brendan