I want to output two LFOs with different shapes, levels and frequencies simultaneously at one output, so that the signals of both LFOs are mixed.
Being a novice in programming, I got so far that I have to assign an LFO to an output action. But it looks I can not just add 2 LFOs in an output action, as I get an arithmetic error. Please, how can achieve this goal? Thanks in advance for any help!
EDIT
Here’s another example. I have a VCO with only one pitch CV input. I want to control it with a CV from my MIDI-CV interface, and I want to add a vibrato to it. While I ran out of LFOs, attenuators and unity gain mixers, I still have a crow. So I want to patch the pitch CV into crow input 1, create an LFO inside crow, mix the LFO with the pitch CV from input 1, and output the sum at crow’s output 1.
I can “pass thru” the CV at input 1 with the script below, but when I add an LFO action, its result get “overwritten” with the passed thru CV. Please, what can I do to mix both?
function init()
input[1].mode( 'stream', 0.001 )
end
function stream_input_1_to_output_1()
output[1].volts = input[1].volts
end
input[1].stream = stream_input_1_to_output_1
Thanks much in advance!