src/musicutils.h: minimal doc about windows
authorPaul Brossier <piem@piem.org>
Tue, 17 Dec 2013 16:37:52 +0000 (11:37 -0500)
committerPaul Brossier <piem@piem.org>
Tue, 17 Dec 2013 16:37:52 +0000 (11:37 -0500)
src/musicutils.h

index 04e71df..885024a 100644 (file)
@@ -30,7 +30,24 @@ extern "C" {
 #endif
 
 /** create window 
+
+  \param window_type type of the window to create
+  \param size length of the window to create (see fvec_set_window())
  
+*/
+fvec_t *new_aubio_window (char_t * window_type, uint_t size);
+
+/** set elements of a vector to window coefficients
+
+  \param window exsting ::fvec_t to use
+  \param window_type type of the window to create
+
+  List of available window types: "rectangle", "hamming", "hanning",
+  "hanningz", "blackman", "blackman_harris", "gaussian", "welch", "parzen",
+  "default".
+
+  "default" is equivalent to "hanningz".
+
   References:
     
     - <a href="http://en.wikipedia.org/wiki/Window_function">Window
@@ -42,11 +59,6 @@ Uni- versity of Verona, Italy, 2000.
   (<a href="http://profs.sci.univr.it/%7Edafx/Final-Papers/ps/Bernardini.ps.gz">
   ps.gz</a>)
 
-*/
-fvec_t *new_aubio_window (char_t * window_type, uint_t size);
-
-/** set elements of a vector to window coefficients
-
  */
 uint_t fvec_set_window (fvec_t * window, char_t * window_type);