Changeset 82f0effd for src


Ignore:
Timestamp:
Sep 6, 2017, 2:01:22 PM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
Children:
965adee
Parents:
e1d9cc3
Message:

src/spectral/phasevoc.h: add _set_window

Location:
src/spectral
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/phasevoc.c

    re1d9cc3 r82f0effd  
    142142  AUBIO_FREE (pv);
    143143  return NULL;
     144}
     145
     146uint_t aubio_pvoc_set_window(aubio_pvoc_t *pv, const char_t *window) {
     147  return fvec_set_window(pv->w, (char_t*)window);
    144148}
    145149
  • src/spectral/phasevoc.h

    re1d9cc3 r82f0effd  
    9696uint_t aubio_pvoc_get_hop(aubio_pvoc_t* pv);
    9797
     98/** set window type
     99
     100  \param pv phase vocoder to set the window type
     101  \param window_type a string representing a window
     102
     103  \return 0 if successful, non-zero otherwise
     104
     105 */
     106uint_t aubio_pvoc_set_window(aubio_pvoc_t *pv, const char_t *window_type);
     107
    98108#ifdef __cplusplus
    99109}
Note: See TracChangeset for help on using the changeset viewer.