shithub: aubio

Download patch

ref: a6ba2ed1d0ebf7321dca9ae2f9013ae9e038994a
parent: 2d128dafb33d3724aef11a383d6220c856c5fb49
author: Paul Brossier <piem@piem.org>
date: Mon Sep 19 16:13:44 EDT 2016

src/effects/pitchshift.h: improve documentation

--- a/src/effects/pitchshift.h
+++ b/src/effects/pitchshift.h
@@ -86,7 +86,7 @@
 */
 uint_t aubio_pitchshift_set_pitchscale (aubio_pitchshift_t * o, smpl_t pitchscale);
 
-/** set the pitchscale of the pitch shifting object
+/** get the pitchscale of the pitch shifting object
 
   \param o pitch shifting object as returned by ::new_aubio_pitchshift()
 
@@ -95,10 +95,11 @@
 */
 smpl_t aubio_pitchshift_get_pitchscale (aubio_pitchshift_t * o);
 
-/** set the transposition of the pitch shifting object
+/** set the transposition of the pitch shifting object, in semitones
 
   \param o pitch shifting object as returned by new_aubio_pitchshift()
-  \param transpose new pitch transposition of the pitch shifting object
+  \param transpose new pitch transposition of the pitch shifting object, expressed
+  in semitones (should be in the range [-24;+24])
 
   \return 0 if successfull, non-zero otherwise
 
@@ -105,11 +106,11 @@
 */
 uint_t aubio_pitchshift_set_transpose (aubio_pitchshift_t * o, smpl_t transpose);
 
-/** set the transposition of the pitch shifting object
+/** get the transposition of the pitch shifting object, in semitones
 
   \param o pitch shifting object as returned by ::new_aubio_pitchshift()
 
-  \return transposition of the pitch shifting object
+  \return transposition of the pitch shifting object, in semitones
 
 */
 smpl_t aubio_pitchshift_get_transpose (aubio_pitchshift_t * o);
--