Tom7777 ·
Hi i hope this request is ok here. How would one code a LFO with a solid input within the code itself and a single output to connect it to a VCA, pan ect?
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
Tom7777 ·
Hi i hope this request is ok here. How would one code a LFO with a solid input within the code itself and a single output to connect it to a VCA, pan ect?
stefan ·
What do you mean by solid input and single output?
Tom7777 ·
I mean that there is no input on the module the amount is set within the code itself but there is a output connections to link to whatever in a structure.
stefan ·
Aha. You should'nt have said "with a solid input" then 🙂
Here's a way that ought to work:
monoout out; float cnt; float freq; freq = 1.0 / 44100.0; cnt = cnt + freq; cnt = cnt - (cnt >= 1.0) & 1.0; out = sin1(cnt);
Tom7777 ·
Thanks stefancrs this works great is there any way to convert the output to float or int values?
Wrote something here? To have a post removed or your name hidden, write to [email protected].