Csound Csound-dev Csound-tekno Search About

[Cs-dev] Is the entry in the manual for loopseg wrong?

Date2013-06-21 18:07
Fromhcenteno
Subject[Cs-dev] Is the entry in the manual for loopseg wrong?
Hello,

I was struggling with getting the right behaviour with loopseg but after
reading this thread (
http://csound.1045644.n5.nabble.com/ktime0-in-loopseg-td4569506.html ) I
think I know what's wrong.

In the manual it says:

ksig loopseg kfreq, ktrig, iphase, ktime0, kvalue0 [, ktime1] [, kvalue1] \
      [, ktime2] [, kvalue2] [...] 

So for a single line segment going from 0 to kvalue I used something like
this:

ksig loopseg 1, 0, 0, 0, 0, 100, kvalue

But I wasn't getting the expected result. I realized that maybe iphase and
ktime0 are the same (as per the thread I mentioned) so I got it to work when
I ignored ktime0 and instead used:

ksig loopseg kfreq, ktrig, iphase, kvalue0 [, ktime1] [, kvalue1] \
      [, ktime2] [, kvalue2] [...]

which in my instrument became:

ksig loopseg kfreq, 0, 0, 0, 100, kvalue

And it worked and when changing kvalue0 to any other value it changed the
starting value of the line.

It seems that when updating the manual (as suggested in the thread) instead
of replacing ktime0 with iphase, iphase was added before ktime0. Is this
correct?

Hector






--
View this message in context: http://csound.1045644.n5.nabble.com/Is-the-entry-in-the-manual-for-loopseg-wrong-tp5724729.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net