shithub: aubio

Download patch

ref: 5ce98d8d6eba7b8d3986b03441fbe80dc092b2b9
parent: c2f3981edb2d49f3e464929464da953ca9d97ded
author: Paul Brossier <piem@altern.org>
date: Tue Sep 5 12:34:13 EDT 2006

use omode in aubiopitch
use omode in aubiopitch


--- a/python/aubiopitch
+++ b/python/aubiopitch
@@ -105,6 +105,7 @@
 if options.smoothing: params.pitchsmooth = int(options.smoothing)
 if options.pitchmax:  params.pitchmax    = int(options.pitchmax)
 if options.pitchmin:  params.pitchmin    = int(options.pitchmin)
+if options.omode:     params.omode       = int(options.omode)
 #mintol     = float(options.mintol)*step
 # default take back system delay
 if options.delay: params.pitchdelay = float(options.delay)