Csound Csound-dev Csound-tekno Search About

[Csnd] using ftgen or ftgenonce or ftgentmp in a specific instrument

Date2012-09-08 20:13
FromStefan Thomas
Subject[Csnd] using ftgen or ftgenonce or ftgentmp in a specific instrument
Dear community,
I  use the following  ftable in an instrument with number 101
iwave ftgen 0, 0, 2^13, 11, inumparts, 1, ibright
Inumparts and and ibright are dependend on midikey and keyvelocity.
I have the feeling that this instrument needs more working memory than others, there seem to be more buffer underruns than in other patches.
I want to ask You if it would be better to use ftgenonce or ftgentmp, or wouldn't that  make a difference?



Date2012-09-08 23:46
FromMichael Gogins
SubjectRe: [Csnd] using ftgen or ftgenonce or ftgentmp in a specific instrument
Use ftgenonce in this case. The table will be allocated the first time
that instr 101 is invoked. The next time instr 101 is invoked, the
table will be looked up from its arguments, and re-used.

Regards,
Mike

On Sat, Sep 8, 2012 at 3:13 PM, Stefan Thomas
 wrote:
> Dear community,
> I  use the following  ftable in an instrument with number 101
> iwave ftgen 0, 0, 2^13, 11, inumparts, 1, ibright
> Inumparts and and ibright are dependend on midikey and keyvelocity.
> I have the feeling that this instrument needs more working memory than
> others, there seem to be more buffer underruns than in other patches.
> I want to ask You if it would be better to use ftgenonce or ftgentmp, or
> wouldn't that  make a difference?
>
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2012-09-09 09:04
FromStefan Thomas
SubjectRe: [Csnd] using ftgen or ftgenonce or ftgentmp in a specific instrument
Thanks, I' will try it with ftgenonce.

2012/9/9 Michael Gogins <michael.gogins@gmail.com>
Use ftgenonce in this case. The table will be allocated the first time
that instr 101 is invoked. The next time instr 101 is invoked, the
table will be looked up from its arguments, and re-used.

Regards,
Mike

On Sat, Sep 8, 2012 at 3:13 PM, Stefan Thomas
<kontrapunktstefan@gmail.com> wrote:
> Dear community,
> I  use the following  ftable in an instrument with number 101
> iwave ftgen 0, 0, 2^13, 11, inumparts, 1, ibright
> Inumparts and and ibright are dependend on midikey and keyvelocity.
> I have the feeling that this instrument needs more working memory than
> others, there seem to be more buffer underruns than in other patches.
> I want to ask You if it would be better to use ftgenonce or ftgentmp, or
> wouldn't that  make a difference?
>
>



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2012-09-09 09:40
FromStefan Thomas
SubjectRe: [Csnd] using ftgen or ftgenonce or ftgentmp in a specific instrument
Or would it maybee   be better to use gbuzz instead of gen11? Those 2 do more ore less the same, don't they?

2012/9/9 Stefan Thomas <kontrapunktstefan@gmail.com>
Thanks, I' will try it with ftgenonce.


2012/9/9 Michael Gogins <michael.gogins@gmail.com>
Use ftgenonce in this case. The table will be allocated the first time
that instr 101 is invoked. The next time instr 101 is invoked, the
table will be looked up from its arguments, and re-used.

Regards,
Mike

On Sat, Sep 8, 2012 at 3:13 PM, Stefan Thomas
<kontrapunktstefan@gmail.com> wrote:
> Dear community,
> I  use the following  ftable in an instrument with number 101
> iwave ftgen 0, 0, 2^13, 11, inumparts, 1, ibright
> Inumparts and and ibright are dependend on midikey and keyvelocity.
> I have the feeling that this instrument needs more working memory than
> others, there seem to be more buffer underruns than in other patches.
> I want to ask You if it would be better to use ftgenonce or ftgentmp, or
> wouldn't that  make a difference?
>
>



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"