Browse Source

cmProc2.c : Removed use of oSpecVa from cmDspSpecDist.

master
kevin 9 years ago
parent
commit
2f95f6f329
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      cmProc2.c

+ 4
- 4
cmProc2.c View File

5691
     p->envV[atkN+i] = p->rlsLvl + (G*i/rlsN);
5691
     p->envV[atkN+i] = p->rlsLvl + (G*i/rlsN);
5692
   }
5692
   }
5693
 
5693
 
5694
-  printf("rmsN:%i atkN:%i rlsN:%i thr:%f %f rls:%f %f\n",p->rmsN,atkN,rlsN,threshDb,p->threshLvl,rlsDb,p->rlsLvl);
5694
+  //printf("rmsN:%i atkN:%i rlsN:%i thr:%f %f rls:%f %f\n",p->rmsN,atkN,rlsN,threshDb,p->threshLvl,rlsDb,p->rlsLvl);
5695
 
5695
 
5696
   //for(i=0; i<p->envN; ++i)
5696
   //for(i=0; i<p->envN; ++i)
5697
   //  printf("%i %f\n",i,p->envV[i]);
5697
   //  printf("%i %f\n",i,p->envV[i]);
5941
   cmSpecDist_t* p = cmObjAlloc( cmSpecDist_t, ctx, ap );
5941
   cmSpecDist_t* p = cmObjAlloc( cmSpecDist_t, ctx, ap );
5942
 
5942
 
5943
   //p->iSpecVa   = cmVectArrayAlloc(ctx,kRealVaFl);
5943
   //p->iSpecVa   = cmVectArrayAlloc(ctx,kRealVaFl);
5944
-  p->oSpecVa   = cmVectArrayAlloc(ctx,kRealVaFl);
5944
+  //p->oSpecVa   = cmVectArrayAlloc(ctx,kRealVaFl);
5945
 
5945
 
5946
   if( procSmpCnt != 0 )
5946
   if( procSmpCnt != 0 )
5947
   {
5947
   {
5962
   
5962
   
5963
   cmSpecDistFinal(p);
5963
   cmSpecDistFinal(p);
5964
   //cmVectArrayFree(&p->iSpecVa);
5964
   //cmVectArrayFree(&p->iSpecVa);
5965
-  cmVectArrayFree(&p->oSpecVa);
5965
+  //cmVectArrayFree(&p->oSpecVa);
5966
   cmMemPtrFree(&p->hzV);
5966
   cmMemPtrFree(&p->hzV);
5967
   cmMemPtrFree(&p->iSpecM);
5967
   cmMemPtrFree(&p->iSpecM);
5968
   cmMemPtrFree(&p->oSpecM);
5968
   cmMemPtrFree(&p->oSpecM);
6086
   cmRC_t rc = cmOkRC;
6086
   cmRC_t rc = cmOkRC;
6087
 
6087
 
6088
   //cmVectArrayWrite(p->iSpecVa, "/home/kevin/temp/frqtrk/iSpec.va");
6088
   //cmVectArrayWrite(p->iSpecVa, "/home/kevin/temp/frqtrk/iSpec.va");
6089
-  cmVectArrayWrite(p->oSpecVa, "/home/kevin/temp/expand/oSpec.va");
6089
+  //cmVectArrayWrite(p->oSpecVa, "/home/kevin/temp/expand/oSpec.va");
6090
 
6090
 
6091
   cmPvAnlFree(&p->pva);
6091
   cmPvAnlFree(&p->pva);
6092
   cmPvSynFree(&p->pvs);
6092
   cmPvSynFree(&p->pvs);

Loading…
Cancel
Save