I'm trying to modulate the pulse width across the "boundary" of the Shape input.
That is, the Shape input to the waveformMod can be between -1.0 to +1.0.
from my testing I've found that when Shape = 0.0, the duty cycle is 50%,
when Shape = -0.9, the duty cycle is 90% (hi 90% of the time), and for 0.9, the duty cycle is 10%.
I'd like to be able to have a modulation source connected to the Shape input be able to wrap around to negative when it would
otherwise go above +1.0.
Anyone got any ideas on how to do this?
here's a screen shot of the block diagram.
The test code i have is attached.
right now when the shape input goes above one, the output goes away. Then it comes back when the shape input goes back below 1.0.
(I need some sort of "wrap" module that wraps the value of the signal to negative when above 1.0 and back to positive when below -1.0).
That is, the Shape input to the waveformMod can be between -1.0 to +1.0.
from my testing I've found that when Shape = 0.0, the duty cycle is 50%,
when Shape = -0.9, the duty cycle is 90% (hi 90% of the time), and for 0.9, the duty cycle is 10%.
I'd like to be able to have a modulation source connected to the Shape input be able to wrap around to negative when it would
otherwise go above +1.0.
Anyone got any ideas on how to do this?
here's a screen shot of the block diagram.
The test code i have is attached.
right now when the shape input goes above one, the output goes away. Then it comes back when the shape input goes back below 1.0.
(I need some sort of "wrap" module that wraps the value of the signal to negative when above 1.0 and back to positive when below -1.0).