Changeset d95ff38 for src/spectral/phasevoc.h
- Timestamp:
- Dec 4, 2009, 1:38:30 AM (14 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 741bdda
- Parents:
- 0b9a02a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/phasevoc.h
r0b9a02a rd95ff38 26 26 using a HanningZ window and a swapped version of the signal to simplify the 27 27 phase relationships across frames. The window sizes and overlap are specified 28 at creation time. Multiple channels are fully supported.28 at creation time. 29 29 30 30 */ … … 44 44 \param win_s size of analysis buffer (and length the FFT transform) 45 45 \param hop_s step size between two consecutive analysis 46 \param channels number of channels47 46 48 47 */ 49 aubio_pvoc_t * new_aubio_pvoc (uint_t win_s, uint_t hop_s , uint_t channels);48 aubio_pvoc_t * new_aubio_pvoc (uint_t win_s, uint_t hop_s); 50 49 /** delete phase vocoder object 51 50 … … 57 56 /** compute spectral frame 58 57 59 This function accepts an input vector of size [ channels]x[hop_s]. The58 This function accepts an input vector of size [hop_s]. The 60 59 analysis buffer is rotated and filled with the new data. After windowing of 61 60 this signal window, the Fourier transform is computed and returned in … … 71 70 72 71 This function takes an input spectral frame fftgrain of size 73 [ channels]x[buf_s] and computes its inverse Fourier transform. Overlap-add72 [buf_s] and computes its inverse Fourier transform. Overlap-add 74 73 synthesis is then computed using the previously synthetised frames, and the 75 74 output stored in out. … … 94 93 */ 95 94 uint_t aubio_pvoc_get_hop(aubio_pvoc_t* pv); 96 /** get channel number97 98 \param pv phase vocoder to get the number of channels from99 100 */101 uint_t aubio_pvoc_get_channels(aubio_pvoc_t* pv);102 95 103 96 #ifdef __cplusplus
Note: See TracChangeset
for help on using the changeset viewer.