Changeset 633400d for src/spectral/phasevoc.c
- Timestamp:
- Dec 5, 2018, 10:34:39 PM (5 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- 283a619a
- Parents:
- 5b46bc3 (diff), f19db54 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/phasevoc.c
r5b46bc3 r633400d 89 89 goto beach; 90 90 } else if (win_s < hop_s) { 91 AUBIO_ERR("pvoc: hop size (%d) is larger than win size (%d)\n", win_s, hop_s);91 AUBIO_ERR("pvoc: hop size (%d) is larger than win size (%d)\n", hop_s, win_s); 92 92 goto beach; 93 93 } … … 142 142 AUBIO_FREE (pv); 143 143 return NULL; 144 } 145 146 uint_t aubio_pvoc_set_window(aubio_pvoc_t *pv, const char_t *window) { 147 return fvec_set_window(pv->w, (char_t*)window); 144 148 } 145 149 … … 209 213 synthold[i] += synth[i + pv->hop_s] * pv->scale; 210 214 } 215 216 uint_t aubio_pvoc_get_win(aubio_pvoc_t* pv) 217 { 218 return pv->win_s; 219 } 220 221 uint_t aubio_pvoc_get_hop(aubio_pvoc_t* pv) 222 { 223 return pv->hop_s; 224 }
Note: See TracChangeset
for help on using the changeset viewer.