[Csnd] loopseg syntax
Date | 2013-09-05 14:07 |
From | jean-pierre lemoine |
Subject | [Csnd] loopseg syntax |
Please help to me to correctly understand the syntax of loopseg. I am puzzled by my code that was working as I expect, but as I have a warning message "wrong number of argument", I am trying to figure out how to correctly code loopseg. For this I am trying this little code extracted from the doc
From the manual ksig loopseg kfreq, ktrig, iphase, ktime0, kvalue0 [, ktime1] [, kvalue1] \ [, ktime2] [, kvalue2] [...] But the following code display only one value change, not what is expected
|
Date | 2013-09-05 19:07 |
From | joachim heintz |
Subject | Re: [Csnd] loopseg syntax |
which version of csound, and of the manual, do you use? there was a change / correction, in 5.13 as i just read. iain has some examples and explanations here: http://en.flossmanuals.net/csound/a-envelopes/ have a look at 05A10_lpshold_loopseg.csd. best - joachim Am 05.09.2013 15:07, schrieb jean-pierre lemoine: > Please help to me to correctly understand the syntax of loopseg. I am > puzzled by my code that was working as I expect, but as I have a warning > message "wrong number of argument", I am trying to figure out how to > correctly code loopseg. For this I am trying this little code extracted > from the doc > > From the manual > > ksig loopsegkfreq, ktrig, iphase, ktime0, kvalue0 [, ktime1] [, kvalue1] \ > > [, ktime2] [, kvalue2] [...] > > But the following code display only one value change, not what is expected > > |
Date | 2013-09-05 22:21 |
From | jean-pierre lemoine |
Subject | Re: [Csnd] loopseg syntax |
Thanks Joachim for looking at this question. Base on my test, this is working only at the end, which is not what the documentation describes.
If I decode the example you suggest to look at, I interpret, assuming that ktemp must be related to a time value trigger =0 pair 1 = 0,0 pair 2 = 0.1, 1 pair 3 = 55/kTempo, 1
pair 4 = 0.1, 0 pair 5 = 5/kTempo, 0 phase = 0 Phase is at the end kAmpEnv loopseg kBtFreq, 0, 0, 0,0.1, 1, 55/kTempo, 1, 0.1,0, 5/kTempo,0,0 On Thu, Sep 5, 2013 at 8:07 PM, joachim heintz <jh@joachimheintz.de> wrote: which version of csound, and of the manual, do you use? there was a change / correction, in 5.13 as i just read. |