[pvoc] add missing aubio_pvoc_get_hop/win
authorPaul Brossier <piem@piem.org>
Fri, 26 Oct 2018 18:02:51 +0000 (20:02 +0200)
committerPaul Brossier <piem@piem.org>
Fri, 26 Oct 2018 18:02:51 +0000 (20:02 +0200)
src/spectral/phasevoc.c
src/spectral/phasevoc.h

index f1ec77e..05ebdb0 100644 (file)
@@ -212,3 +212,13 @@ static void aubio_pvoc_addsynth(aubio_pvoc_t *pv, fvec_t *synth_new)
   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;
+}
index b98402e..e3caf2d 100644 (file)
@@ -88,6 +88,7 @@ void aubio_pvoc_rdo(aubio_pvoc_t *pv, cvec_t * fftgrain, fvec_t *out);
 
 */
 uint_t aubio_pvoc_get_win(aubio_pvoc_t* pv);
+
 /** get hop size
 
   \param pv phase vocoder to get the hop size from