Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: k to i

Date2008-12-25 04:17
From"Art Hunkins"
Subject[Csnd] Re: Re: Re: k to i
Lou,

No, I should think that this would require reinit code.

Actually, I use line for this, run through a table conversion if other than 
a straight-line function is called for. It is variable at k-rate.

Art Hunkins

----- Original Message ----- 
From: "Lou Cohen" 
To: 
Sent: Wednesday, December 24, 2008 10:21 PM
Subject: [Csnd] Re: Re: k to i


> Art,
>
> Does this mean that an i-time parameter can be varied at k-rate, as in:
>
> krisetemp init 1
> idur = p3
> idec init 0.1
> krisetemp = krisetemp * 1.0001
> irise = i(krisetemp)
> kres linen kamp, irise, idur, idec
>
> I can't quite imagine what happens at initialization time, and what 
> happens
> later on with code like this.
>
> Thanks for clarifying! and happy holidays to all.
>
> -Lou
>
>
> On 12/24/08 17:25, "Art Hunkins     "  wrote:
>
>> Use the i function - as in, i(x). X is the k-time variable. Just don't 
>> use
>> it in a k-rate expression; use it alone.
>>
>> Art Hunkins
>>
>> ----- Original Message -----
>> From: "CarlosJP" 
>> To: 
>> Sent: Wednesday, December 24, 2008 4:39 PM
>> Subject: [Csnd] k to i
>>
>>
>>>
>>> Hi,
>>>
>>> I would like to control exp envelope duration from a fltk valuator. The
>>> problem is that expseg dur paramater is an i-time one and the output of
>>> the
>>> valuator has k-rate instead. It's fine for me if an idur variable is 
>>> first
>>> initialized to the current value of the valuator (that is, ignoring 
>>> later
>>> widget changes during that note's span), but I don't know how to achieve
>>> that initial k to i conversion, if possible at all. Any help would be
>>> appreciated.
>>>
>>> Best regards
>>> -Carlos
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/k-to-i-tp21156957p21156957.html
>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> 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"
>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"