Skip to content
Snippets Groups Projects
Commit 3985a89d authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

port 0120b99c59c8d79e28e2a54c4b081fac2ee93959 from Pd-l2ork: removed debugging...

port 0120b99c59c8d79e28e2a54c4b081fac2ee93959 from Pd-l2ork: removed debugging info from the autotune external
parent 848a2753
No related branches found
No related tags found
No related merge requests found
...@@ -906,7 +906,7 @@ t_int *autotune_perform(t_int *w) ...@@ -906,7 +906,7 @@ t_int *autotune_perform(t_int *w)
// Convert to semitones // Convert to semitones
tf = (float) -12*log10((float)aref*pperiod)*L2SC; tf = (float) -12*log10((float)aref*pperiod)*L2SC;
//fprintf(stderr,"tf=%f aref=%f pperiod=%f\n", tf, aref, pperiod); //fprintf(stderr,"tf=%f aref=%f pperiod=%f\n", tf, aref, pperiod);
post("pperiod=%f conf=%f\n", pperiod, conf); //post("pperiod=%f conf=%f\n", pperiod, conf);
float pp_test = x->pperiod/(x->pperiod - pperiod); float pp_test = x->pperiod/(x->pperiod - pperiod);
if (pp_test < 0.5 || pp_test > 2) if (pp_test < 0.5 || pp_test > 2)
pp_test = 1; pp_test = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment