| I took this from the documentation of oscil, omitting what is not
applicable:
kphase: phase of sampling, expressed as a fraction of a cycle (0 to 1)
Andres Cabrera schreef:
> Thanks for checking, I just fixed kdurN. Can you draft a small line
> describing kphase?
>
> Cheers,
> Andrés
>
>
> On Mon, Mar 10, 2008 at 2:09 PM, Mark Van Peteghem
> wrote:
>
>> Thanks, but it still contains an error, the kdurN should be removed; at
>> least judging by what I found by experimenting.
>> And perhaps there should be information on what kphase does, although
>> the name makes it obvious.
>>
>> Andres Cabrera schreef:
>>
>>
>>
>>> Thanks for the feedback. The new manual entry attached below. If you
>>>
>> > have an example to share, it would be great.
>> >
>> > Cheers,
>> > Andrés
>> >
>> >
>> > loopsegp
>> >
>> > loopsegp — Control signals based on linear segments.
>> > Description
>> >
>> > Generate control signal consisiting of linear segments delimited by
>> > two or more specified points. The entire envelope can be looped at
>> > time-variant rate. Each segment coordinate can also be varied at
>> > k-rate.
>> > Syntax
>> >
>> > ksig loopsegp kphase, kvalue0, kdur0, kvalue1 \
>> > [, kdur1, ... , kvalueN, kdurN]
>> >
>> > Performance
>> >
>> > ksig - output signal
>> >
>> > kphase - NO INFORMATION
>> >
>> > kvalue0 ...kvalueN - values of points
>> >
>> > kdur0 ...kdurN - duration of points expessed in fraction of a cycle
>> >
>> > loopsegp opcode is similar to loopseg; the only difference is that,
>> > instead of frequency, a time-variant phase is required. If you use a
>> > phasor to get the phase value, you will have a behaviour identical to
>> > loopseg, but interesting results can be achieved when using phases
>> > having non-linear motions, making loopsegp more powerful and general
>> > than loopseg.
>> >
>> >
>> >
>> > On Mon, Mar 10, 2008 at 5:24 AM, Mark Van Peteghem
>> > wrote:
>> >
>> >> Hi,
>> >>
>> >> It seems that the documentation of loopsegp is not correct. Instead of
>> >>
>> >> ksig loopsegp kphase, kvalue0, ktime0, kvalue1, ktime1 \
>> >> [, ... , kvalueN, ktimeN]
>> >>
>> >> it should be
>> >>
>> >> ksig loopsegp kphase, kvalue0, ktime0, kvalue1 \
>> >> [, ktime1, ... , kvalueN]
>> >>
>> >> so it ends with a value, not a time.
>> >>
>> >> As an example, I wanted to start with a triangle, so I tried
>> >>
>> >> ksig loopsegp kph, 1, 0, -1, 1, 1, 1
>> >>
>> >> quite similar to what you would do with loopseg (except for reversing
>> >> times and values), but after some trial and error I discovered it had to be
>> >>
>> >> ksig loopsegp kph, 1, 1, -1, 1, 1
>> >>
>> >> It would also help if they were called kdur0, kdur1, ... instead of
>> >> ktime0, ktime1, ....
>> >>
>> >> Finally the documentation mentions initphase, but it doesn't seem to be
>> >> used.
>> >>
>> >>
>> >> --
>> >> Mark
>> >> _________________________________________
>> >> When you get lemons, you make lemonade.
>> >> When you get hardware, you make software.
>> >>
>> >>
>> >>
>> >> Send bugs reports to this list.
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> >>
>> >>
>> >
>> >
>> > Send bugs reports to this list.
>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> >
>> >
>>
>> --
>>
>>
>> Mark
>> _________________________________________
>> When you get lemons, you make lemonade.
>> When you get hardware, you make software.
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
--
Mark
_________________________________________
When you get lemons, you make lemonade.
When you get hardware, you make software.
|