src/spectral/mfcc.{c,h}: add documentation
authorPaul Brossier <piem@piem.org>
Fri, 25 Sep 2009 21:00:44 +0000 (23:00 +0200)
committerPaul Brossier <piem@piem.org>
Fri, 25 Sep 2009 21:00:44 +0000 (23:00 +0200)
src/spectral/mfcc.c
src/spectral/mfcc.h

index b7dca02..64260d6 100644 (file)
@@ -28,7 +28,7 @@
 
 /** Internal structure for mfcc object */
 
-struct aubio_mfcc_t_
+struct _aubio_mfcc_t
 {
   uint_t win_s;             /** grain length */
   uint_t samplerate;        /** sample rate (needed?) */
index 1994692..875da23 100644 (file)
 
 */
 
+/** \file
+
+  Mel-frequency cepstrum coefficients object
+
+*/
+
 #ifndef MFCC_H
 #define MFCC_H
 
@@ -27,13 +33,15 @@ extern "C"
 {
 #endif
 
-typedef struct aubio_mfcc_t_ aubio_mfcc_t;
+/** mfcc object */
+typedef struct _aubio_mfcc_t aubio_mfcc_t;
 
 /** create mfcc object
 
   \param win_s size of analysis buffer (and length the FFT transform)
   \param samplerate audio sampling rate
-  \param n_coefs number of desired coefficientss
+  \param n_coefs number of desired coefficients
+  \param n_filters number of desired filters
 
 */
 aubio_mfcc_t *new_aubio_mfcc (uint_t win_s, uint_t samplerate,