Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] gen28 problem

Date2008-08-15 19:02
Fromvictor
SubjectRe: [Cs-dev] gen28 problem
Well, my comments still apply. I don't think the manual
example ever worked. The space opcode requires
power-of-two tables.

Victor
----- Original Message ----- 
From: "Dave Phillips" 
To: "Developer discussions" 
Sent: Friday, August 15, 2008 6:18 PM
Subject: Re: [Cs-dev] gen28 problem


> jpff wrote:
>> What I do not understand at the present is the references to table 1 as
>> deferred.  But you have deferred table 2 which is correct -- code 
>> requires
>> size of zero.
> My bad, I pasted the wrong error. It should have read:
>
>    INIT ERROR in instr 1: deferred-size ftable 2.000000 illegal here
>
> Best,
>
> dp
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the 
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-08-15 19:42
FromDave Phillips
SubjectRe: [Cs-dev] gen28 problem
victor wrote:
> Well, my comments still apply. I don't think the manual
> example ever worked. The space opcode requires
> power-of-two tables.
>   

Hi Victor,

I set the table:

f2 0 8192 28 "/home/dlphilp/move"

then:

dlphilp@The3800:~/cs-files> csound ss-simple.csd
[snip]
SECTION 1:
ftable 2: GEN28 requires zero table length
f  2     0.00   256.00    28.00  "/home/dlphilp/move2" ...
INIT ERROR in instr 1: Invalid ftable no. 2.000000
a1      a2      a3      a4      space   asig    2       ktime   .1      
0       0
          B  0.000 - note deleted.  i1 had 1 init errors
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score.              overall amps:      0.0      0.0      0.0      0.0
1 errors in performance
0 2048-byte soundblks of floats written to dac:system:playback_
Pt_Stop called



Here's my brief CSD now:



-+rtaudio=jack -d -m0 -g -f -odac:system:playback_ -M0 -b128


sr=44100
ksmps=100
nchnls=4

instr 1
kamp = p4
kfreq = p5
ifn = p6
aosc oscili kamp,kfreq,ifn
kenv linseg 0,p3*.50,1,p3*.50,0
asig = aosc*kenv
ktime              line  0, p3, 5
a1, a2, a3, a4     space asig, 2, ktime, 0, 0, 0
outq a1, a2, a3, a4
endin



f1 0 8192 10 1 0 .9 0 0 .7 0 0 0 .4  0 0 0 0 .01
f2 0 8192 28 "/home/dlphilp/move"

i1 0 60 5000 220 1
e



Suggestions ?

Best,

dp




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net