Csound Csound-dev Csound-tekno Search About

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

Date2008-03-11 14:46
From"Art Hunkins"
Subject[Csnd] Re: Re: Re: Re: Initializing an F-table
Thanks, Rick - and I hope things are equally well with you. (I'm heavy at 
work on my latest real-time piece - this time using up to 64 pots/sliders. I 
recently purchased a Doepfer Drehbank and feel the need to justify my doing 
so!)

Oeyvind's suggestion of
f1 0 8 2 0
is the best of all. (I don't quite know how I missed that one.)

Regarding a manual addition, yes. I've done a bit of followup work as well 
(as you can note below). As a result, I suggest the following three 
paragraphs be added to the "f statement" page, at the bottom of the "Special 
Considerations" section (Andres, please take note):

The simplest way to fill a table (f1) with 0's is:
f1 0 xx 2 0
where xx = table size.

The simplest way to fill a table (f1) with *any* single value is:
f1 0 xx -7 yy xx yy
where xx = table size and yy = any single value

In both of the above examples, table size must be a power of 2 or power-of-2 
plus 1.


Art Hunkins

----- Original Message ----- 
From: "Dr. Richard Boulanger" 
To: 
Sent: Monday, March 10, 2008 11:42 PM
Subject: [Csnd] Re: Re: Re: Initializing an F-table


> Maybe something for somewhere in the manual?
>
> Greetings and best wishes to you Art!
>
> -Richard
>
> On Mar 10, 2008, at 11:36 PM, Art Hunkins wrote:
>
>> Thanks, too, Victor.
>>
>> I've found that *all* these work:
>>
>> f1 0 8 7 0 8 0 (Victor)
>> f1 0 8 10 0 (Steven)
>> f1 0 8 16 0 8 0 0 (mine)
>> f1 0 8 16 0 1 0 0 (mine)
>>
>> I presume the last one works either because: 1) 0's are added  whenever 
>> values are not specified, or 2) the line from 0 to 0 is  extended 
>> indefinitely (i.e., for 7 more values).
>>
>> Art Hunkins
>>
>> ----- Original Message ----- From: "victor" 
>> To: 
>> Sent: Monday, March 10, 2008 5:33 PM
>> Subject: [Csnd] Re: Initializing an F-table
>>
>>
>>> gen 07  : f1 0 1024 7  0 1024 0 ?
>>>
>>> Victor
>>> ----- Original Message ----- From: "Art Hunkins" 
>>> To: 
>>> Sent: Monday, March 10, 2008 8:50 PM
>>> Subject: [Csnd] Initializing an F-table
>>>
>>>
>>>> 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"
>>
>>
>>
>> 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" 


Date2008-03-28 22:18
From"Andres Cabrera"
Subject[Csnd] Re: Re: Re: Re: Re: Initializing an F-table
AttachmentsNone