changed some comments
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 15 Nov 2010 01:29:04 +0000 (01:29 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 15 Nov 2010 01:29:04 +0000 (01:29 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@230 01035d8c-6547-0410-b346-abe4f91aad63

codec2/src/sine.c

index d9b0ce21531f2648b6ec1760a5307ff3a18bd18e..c79ded8868c090d06574385bdf0b90d035e016d9 100644 (file)
@@ -363,14 +363,14 @@ float est_voicing_mbe(
     COMP   W[],
     COMP   Sw_[],         /* DFT of all voiced synthesised signal  */
                           /* useful for debugging/dump file        */
-    COMP   Ew[],          /* DFT of error                        */
+    COMP   Ew[],          /* DFT of error                          */
     float prev_Wo)
 {
     int   i,l,al,bl,m;    /* loop variables */
     COMP  Am;             /* amplitude sample for this band */
     int   offset;         /* centers Hw[] about current harmonic */
     float den;            /* denominator of Am expression */
-    float error;          /* accumulated error between originl and synthesised */
+    float error;          /* accumulated error between original and synthesised */
     float Wo;            
     float sig, snr;
     float elow, ehigh, eratio;
@@ -430,7 +430,7 @@ float est_voicing_mbe(
     else
        model->voiced = 0;
  
-    /* post processing, helps clean up some voicing errors ---------------------*/
+    /* post processing, helps clean up some voicing errors ------------------*/
 
     /* 
        Determine the ratio of low freancy to high frequency energy,
@@ -479,7 +479,7 @@ float est_voicing_mbe(
        if ((eratio < -4.0) && (model->Wo <= sixty))
            model->voiced = 0;
     }
-    //printf(" v: %d snr: %f eratio: %3.2f %f\n", model->voiced, snr, eratio, dF0);
+    //printf(" v: %d snr: %f eratio: %3.2f %f\n",model->voiced,snr,eratio,dF0);
 
     return snr;
 }