Csound Csound-dev Csound-tekno Search About

[Csnd] Problem with vco2init

Date2019-10-19 11:22
Frommichel RODRIGUEZ
Subject[Csnd] Problem with vco2init
Hi everyone, 

I'm a new CSound user, and I'm having difficulties with vco2init. when i create function tables, this code works : 
giSquSub1  ftgen 1, 0, 1024, 7, ...
giSquSub2  ftgen 2, 0, 1024, 7, ...
giSquSub3  ftgen 3, 0, 1024, 7, ...

giSaw2     ftgen 5, 0, 4096, 7, -1, 1024,-1, 0,-0.5, 1024,0, 0, -1,1024,-1,0,0.5,1024,1  
gi_nextfree vco2init -giSaw2, 4, 1.05, 4096, 4096, giSaw2
giSaw2Vco2 = -giSaw2

giSaw5     ftgen 6, 0, 4096, 7, -1, 1000,-1, 0, -0.5, 24, -0.5, 0, -1, 
                                    1000,-1, 0,    0, 24,    0, 0, -1,
                                    1000,-1 ,0,  0.5, 24,  0.5, 0, -1,
                                    1000,-1, 0,    1, 24,    1
gi_nextfree2 vco2init -giSaw5, 4, 1.05, 4096, 4096, giSaw5
giSaw2Vco5 = -giSaw5

the first vco2init is ok, but if i put something else thant 4 in the second vco2init, I have an error :
"INIT ERROR in instr 0 line 91: function table is NULL, check that ibasfn is available"
I don't undestand the role of the ibasfn parameter. I previously thought that I could put "normal" tables at 10, 11,12... and reserve the first 10 for vco2init but it didn't work either 

Any explanation or suggestion ? 

thanks ! 

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