[effects] improve pitchscale documentation
authorPaul Brossier <piem@piem.org>
Wed, 24 Oct 2018 16:45:19 +0000 (18:45 +0200)
committerPaul Brossier <piem@piem.org>
Fri, 7 Dec 2018 00:28:56 +0000 (01:28 +0100)
src/effects/pitchshift.h
src/effects/timestretch.h

index c27eed7..8abf058 100644 (file)
@@ -81,6 +81,8 @@ uint_t aubio_pitchshift_get_latency (aubio_pitchshift_t * o);
   \param o pitch shifting object as returned by new_aubio_pitchshift()
   \param pitchscale new pitch scale of the pitch shifting object
 
+  pitchscale is a frequency ratio. It should be in the range [0.25, 4].
+
   \return 0 if successfull, non-zero otherwise
 
 */
index 960fb30..8320b53 100644 (file)
@@ -141,6 +141,8 @@ smpl_t aubio_timestretch_get_stretch (aubio_timestretch_t * o);
   \param o time stretching object as returned by new_aubio_timestretch()
   \param pitchscale new pitch scale of the time stretching object
 
+  pitchscale is a frequency ratio. It should be in the range [0.25, 4].
+
   \return 0 if successfull, non-zero otherwise
 
 */