Re: [Csnd] simple vco2 question
Date | 2017-11-18 23:54 |
From | Partev Barr Sarkissian |
Subject | Re: [Csnd] simple vco2 question |
I don't see an envelope generator. Is that intentional? -PBS ========================================= --- zappfinger@GMAIL.COM wrote: From: Richard <zappfinger@GMAIL.COM> To: CSOUND@LISTSERV.HEANET.IE Subject: [Csnd] simple vco2 question Date: Sat, 18 Nov 2017 11:37:06 +0100 This is driving me... Why does this simple alwayson instr not work?
instr vco kamp init .5 koct invalue "vcooct" ; octave kwave invalue "vcoout" ; waveform kwavetrig changed kwave kocttrig changed koct ikwaveform init 0 if (kwavetrig ==1 || kocttrig ==1) then reinit REINIT_VCO endif REINIT_VCO: if (kwave==1) then kwaveform = 0 ;SAW elseif (kwave==2) then kwaveform = 2 ; SQUARE elseif (kwave==3) then kwaveform = 12 ; TRIANGEL endif kfreq = p4 kamp = p5 printk2 kamp ;avco vco2 kamp, kfreq, i(kwaveform) ;avco vco2 kamp, kfreq avco vco2 .4, kfreq ; NO sound, only when I use the following line I get sound... ;avco vco2 .4,440 outs avco, avco rireturn endin
Richard Netscape. Just the Net You Need. |
Date | 2017-11-19 07:05 |
From | Richard |
Subject | Re: [Csnd] simple vco2 question |
In the widget of the csd I sent there are 2 envelope generators,
they can be triggered by keyboard or LFO. Richard On 19/11/17 00:54, Partev Barr
Sarkissian wrote:
|