shithub: aubio

Download patch

ref: 5332c2908bdf6af2b7ed769ba8a3ebf0e42bbaf8
parent: 9cf6462eb4ac7a99f8f7f8b6215bfa90061eafec
parent: e302bb4be0e1dc25e7186786ba48ef34897e1cb7
author: Paul Brossier <piem@piem.org>
date: Mon Oct 29 16:36:18 EDT 2018

Merge branch 'fix/phasevoc'

--- a/src/spectral/phasevoc.c
+++ b/src/spectral/phasevoc.c
@@ -212,3 +212,13 @@
   for (i = 0; i < pv->end; i++)
     synthold[i] += synth[i + pv->hop_s] * pv->scale;
 }
+
+uint_t aubio_pvoc_get_win(aubio_pvoc_t* pv)
+{
+  return pv->win_s;
+}
+
+uint_t aubio_pvoc_get_hop(aubio_pvoc_t* pv)
+{
+  return pv->hop_s;
+}
--- a/src/spectral/phasevoc.h
+++ b/src/spectral/phasevoc.h
@@ -88,6 +88,7 @@
 
 */
 uint_t aubio_pvoc_get_win(aubio_pvoc_t* pv);
+
 /** get hop size
 
   \param pv phase vocoder to get the hop size from