src/spectral/*.h: add link to examples
authorPaul Brossier <piem@piem.org>
Sun, 3 Mar 2013 03:53:15 +0000 (22:53 -0500)
committerPaul Brossier <piem@piem.org>
Sun, 3 Mar 2013 03:53:15 +0000 (22:53 -0500)
src/spectral/fft.h
src/spectral/filterbank.c
src/spectral/filterbank.h
src/spectral/filterbank_mel.h
src/spectral/mfcc.h
src/spectral/phasevoc.h

index 3ae4be8..c61963c 100644 (file)
@@ -22,6 +22,8 @@
 
   Fast Fourier Transform object
 
+  \example src/spectral/test-fft.c
+
 */
 
 #ifndef FFT_H_
index 13d7f6e..39dfa5d 100644 (file)
@@ -69,7 +69,6 @@ aubio_filterbank_do (aubio_filterbank_t * f, cvec_t * in, fvec_t * out)
 
   /* for each filter */
   for (fn = 0; fn < max_filters; fn++) {
-
     /* for each sample */
     for (j = 0; j < max_length; j++) {
       out->data[fn] += in->norm[j] * f->filters->data[fn][j];
index 0799dc2..6813faf 100644 (file)
@@ -25,6 +25,8 @@
 
   General-purpose spectral filterbank object.
 
+  \example spectral/test-filterbank.c
+
 */
 
 #ifndef FILTERBANK_H
@@ -35,7 +37,11 @@ extern "C"
 {
 #endif
 
-/** filterbank object */
+/** filterbank object
+
+  This object stores a matrix of spectral filter coefficients.
+
+ */
 typedef struct _aubio_filterbank_t aubio_filterbank_t;
 
 /** create filterbank object
index 6d338cd..d2e8876 100644 (file)
@@ -27,6 +27,8 @@
     - ::aubio_filterbank_set_triangle_bands: overlapping triangular bands,
     - ::aubio_filterbank_set_mel_coeffs_slaney: Mel frequency bands.
 
+  \example spectral/test-filterbank_mel.c
+
 */
 
 #ifndef FILTERBANK_MEL_H
index a0d43c9..004c011 100644 (file)
@@ -23,6 +23,8 @@
 
   Mel-frequency cepstrum coefficients object
 
+  \example spectral/test-mfcc.h
+
 */
 
 #ifndef MFCC_H
index 17f85d4..cd4f739 100644 (file)
@@ -27,6 +27,8 @@
   phase relationships across frames. The window sizes and overlap are specified
   at creation time.
 
+  \example spectral/test-phasevoc.c
+
 */
 
 #ifndef _PHASEVOC_H