Csound Csound-dev Csound-tekno Search About

Gen02, does it have to be power of 2?

Date2016-03-08 09:55
FromPeter Burgess
SubjectGen02, does it have to be power of 2?
I thought I'd read someone saying on the list that all the Gen
routines can be any size these days, my error message suggests that
only Gens 1, 23, 28 and 49 can be. Is that right?

I'm trying to right out a 10 EDO scale in an ftable, and I'm getting this:

ftable 132: deferred size for GENs 1, 23, 28 or 49 only
f132     0.00     0.00    -2.00  261.63 ...
INIT ERROR in instr 0: ftgen error
gifScale10    ftgen    0    0    0    -2    261.625565032
300.5288561774    345.2170027202    369.9944223318    425.0119842906
 488.2105672086    523.251130064    601.0577123549    690.4340054403
 739.9888446636    850.0239685812    976.4211344173    1046.502260128
  1202.1154247097    1380.8680108806    1479.9776893271
1700.0479371624    1952.8422688345

Date2016-03-08 09:59
FromRory Walsh
SubjectRe: Gen02, does it have to be power of 2?
There shouldn't be any problem here, as long as you set the size of the table. 

On 8 March 2016 at 09:55, Peter Burgess <pete.soundtechnician@gmail.com> wrote:
I thought I'd read someone saying on the list that all the Gen
routines can be any size these days, my error message suggests that
only Gens 1, 23, 28 and 49 can be. Is that right?

I'm trying to right out a 10 EDO scale in an ftable, and I'm getting this:

ftable 132: deferred size for GENs 1, 23, 28 or 49 only
f132     0.00     0.00    -2.00  261.63 ...
INIT ERROR in instr 0: ftgen error
gifScale10    ftgen    0    0    0    -2    261.625565032
300.5288561774    345.2170027202    369.9944223318    425.0119842906
 488.2105672086    523.251130064    601.0577123549    690.4340054403
 739.9888446636    850.0239685812    976.4211344173    1046.502260128
  1202.1154247097    1380.8680108806    1479.9776893271
1700.0479371624    1952.8422688345


--
http://algorythmradio.com
https://soundcloud.com/algorythmradio

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-03-08 10:01
FromPeter Burgess
SubjectRe: Gen02, does it have to be power of 2?
aha! ofcourse, it's defered length it's complaining about. Thanks!

On Tue, Mar 8, 2016 at 9:59 AM, Rory Walsh  wrote:
> There shouldn't be any problem here, as long as you set the size of the
> table.
>
> On 8 March 2016 at 09:55, Peter Burgess 
> wrote:
>>
>> I thought I'd read someone saying on the list that all the Gen
>> routines can be any size these days, my error message suggests that
>> only Gens 1, 23, 28 and 49 can be. Is that right?
>>
>> I'm trying to right out a 10 EDO scale in an ftable, and I'm getting this:
>>
>> ftable 132: deferred size for GENs 1, 23, 28 or 49 only
>> f132     0.00     0.00    -2.00  261.63 ...
>> INIT ERROR in instr 0: ftgen error
>> gifScale10    ftgen    0    0    0    -2    261.625565032
>> 300.5288561774    345.2170027202    369.9944223318    425.0119842906
>>  488.2105672086    523.251130064    601.0577123549    690.4340054403
>>  739.9888446636    850.0239685812    976.4211344173    1046.502260128
>>   1202.1154247097    1380.8680108806    1479.9776893271
>> 1700.0479371624    1952.8422688345
>>
>>
>> --
>> http://algorythmradio.com
>> https://soundcloud.com/algorythmradio
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
>
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here