[PD] rhythm_esitamtor_0.1 .

joge . gboy at nycap.rr.com
Tue Feb 26 15:48:15 CET 2002


i got this bad boy to compile on windows however i had to comment a
identifier called "rint" , it lead to an unresolved external . does any one
know where i could find this external, or was it part of one of the old pd
release but is not longer included ?  i am jsut worried that the variable
that is defined with this "rint" identifier might not be doing it job
properly .  here is he line of code and the modification i made to it :

/* Then, the exact "continuous" IOI is discretized (quantized) */

/* ioi_index = (unsigned)rint (ioi / ge->ioi_resolution); */

ioi_index = (unsigned) (ioi / ge->ioi_resolution);



it can be found in the file  rhythm_ioi_histogram.c

also there is another occurence of "rint" in rhythm_quantum.c .  it reads :



/* first_index = (unsigned)rint (ge->min_quantum/ge->ioi_resolution); */

first_index = (unsigned) (ge->min_quantum/ge->ioi_resolution);



thanks again !



joge .





More information about the Pd-list mailing list