Hey
First I am going to apologize for not uising the right language. Still learning here, and the technial terms is for me one of the harder areas to get right... I know what I am aiming for, but cant always get the lingo right. Anyway, to the subjects:
I am curious about it I want to use for example 2 tables inside one object.
For example the table/read interp. If I want to use 2 of them in an object, would I have to delare the functions used a second time?
The init code of the table/play is:
// Table/Play //
pos = 0;
pstart = 0;
pstop = 1;
And the k-rate code is:
// Table/Play //
if ((inlet_start+Loopval_a>0) && !pstart) {
pstart = 1;
pstop = 0;
uint32_t asat = _USAT(inletpos+param_position,27);
pos = ((uint64_t)(asat>>(27-attr_t.LENGTHPOW)))<<32;
} else if (!(inlet_start+Loopval_a>0)) {
pstart = 0;
}
if ((inlet_stop>0) && !pstop) {
pstop = 1;
pstart = 0;
}
uint32_t f0;
MTOFEXTENDED(inlet_pitch + 0xFEC747D4 - param_pitch,f0);
Would I have to declare those functions, the ...
pos = 0;
pstart = 0;
pstop = 1;
a second time for the second table? And rename the new ones so I have both....
pos = 0;
pstart = 0;
pstop = 1;
pos2 = 0;
pstart2 = 0;
pstop2 = 1;
Thanks, Jaffa