Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Initializing an F-table

Date2008-03-10 21:25
From"Art Hunkins"
Subject[Csnd] Re: Re: Initializing an F-table
Thanks, Steven, I'll try it.

Also, I just discovered GEN 16.

Would this work also?

f1 0 8 -16 0 8 0 0
or perhaps it should be (though I doubt it):
f1 0 8 -16 0 1 0 0

I find the docs a little confusing for GEN 16 - regarding "dur" as number of 
"segments" or "steps". The examples only show a single curve, so I'm 
wondering why "dur" wouldn't be synonymous with function size - and thus 
redundant? (Perhaps in some cases the curve would not last the entire 
table?)

Art Hunkins

----- Original Message ----- 
From: "Steven Yi" 
To: 
Sent: Monday, March 10, 2008 5:08 PM
Subject: [Csnd] Re: Initializing an F-table


> Hi Art,
>
> I think you can use a gen10 with a 0 amplitude, something like f1 0 8 -10 
> 0.
>
> steven
>
>
> On Mon, Mar 10, 2008 at 1:50 PM, Art Hunkins  wrote:
>> I've the feeling this is a really dumb question. Here goes anyway.
>>
>>  I need to initialize an 8-element table to zeroes. One table will then 
>> be
>>  written with i-time frequency data; others will then receive controller 
>> data
>>  (realtime MIDI).
>>
>>  In other words, I'm using the table as an array. The 8 elements are for
>>  storing data for 8 instruments that are identical except for these data
>>  stored in the arrays. The instruments will be numbered 1.1 through 1.8, 
>> and
>>  their fractional parts used for indexing purposes.
>>
>>  The question: what GEN routine do I use?
>>
>>  I assume the basic format would be something like this:
>>
>>  f1 0 8 -?? 0 0 0 0 0 0 0 0
>>
>>  What goes in place of the question marks?
>>
>>  Art Hunkins
>>
>>
>>
>>  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"