[Csnd] Drawing a "LFO"?

Hello everybody!

For a new instrument i want to use something what controls k-values like an LFO - but i actually want to draw the values in table like manner. So it’s more like an linseg which repeats endlessly and maybe can be triggerd by an MIDI-note.

How can i do this?
I already tried something like this, but this doesn’t work at all.

iTable ftgen 0, 0, 2048, 7, 1, 512, 10, 512, 1000, 1024, 1
kEnv oscil 1, 1, iTable
printk 0.125, kEnv

I guess there is a pretty easy solution.

Greetings,
Philipp
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here

Hi!

Probably loopseg? https://csound.com/manual/loopseg.html

Tarmo

T, 21. märts 2023 18:08 Philipp Neumann <kontakt@philippneumann.eu> kirjutas:

Hello everybody!

For a new instrument i want to use something what controls k-values like an LFO - but i actually want to draw the values in table like manner. So it’s more like an linseg which repeats endlessly and maybe can be triggerd by an MIDI-note.

How can i do this?
I already tried something like this, but this doesn’t work at all.

iTable ftgen 0, 0, 2048, 7, 1, 512, 10, 512, 1000, 1024, 1
kEnv oscil 1, 1, iTable
printk 0.125, kEnv

I guess there is a pretty easy solution.

Greetings,
Philipp
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Great, Tarmo!

This is it. Thanks!