Csound Csound-dev Csound-tekno Search About

[Csnd] k to i

Date2008-12-24 21:39
FromCarlosJP
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.


Date2008-12-25 21:48
Fromjoachim
Subject[Csnd] Re: k to i
Hi Carlos -

I think there are several ways to solve this, depending on the  
situation. For example:
1) calling a subinstrument via event or scoreline;
2) the timout/reinit pair;
3) solutions at k-rate.
If you like to discuss more, I suggest that you put a .csd or decribe  
your problem more in detail.

Best -
	joachim



Am 24.12.2008 um 22:39 schrieb CarlosJP:

>
> 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"