Changeset fa0ef3b
- Timestamp:
- Mar 26, 2017, 4:21:48 PM (8 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, sampler
- Children:
- fa3edc6
- Parents:
- b669066
- Location:
- src/spectral
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/awhitening.c
rb669066 rfa0ef3b 94 94 } 95 95 96 uint_t 97 aubio_spectral_whitening_set_floor (aubio_spectral_whitening_t *o, smpl_t floor) 98 { 99 o->floor = floor; 100 return AUBIO_OK; 101 } 102 103 smpl_t aubio_spectral_whitening_get_floor (aubio_spectral_whitening_t *o) 104 { 105 return o->floor; 106 } 107 96 108 void 97 109 aubio_spectral_whitening_reset (aubio_spectral_whitening_t * o) -
src/spectral/awhitening.h
rb669066 rfa0ef3b 81 81 82 82 \param o spectral whitening object as returned by new_aubio_spectral_whitening() 83 \param relax_time relaxation time in seconds 83 \param relax_time relaxation time in seconds between 20 and 500, defaults 250 84 84 85 85 */ … … 95 95 smpl_t aubio_spectral_whitening_get_relax_time (aubio_spectral_whitening_t * o); 96 96 97 /** set floor for spectral whitening 98 99 \param o spectral whitening object as returned by new_aubio_spectral_whitening() 100 \param floor value (typically between 1.e-6 and .2, defaults to 1.e-4) 101 102 */ 103 uint_t aubio_spectral_whitening_set_floor (aubio_spectral_whitening_t * o, 104 smpl_t floor); 105 106 /** get floor of spectral whitening 107 108 \param o spectral whitening object as returned by new_aubio_spectral_whitening() 109 \return floor value 110 111 */ 112 smpl_t aubio_spectral_whitening_get_floor (aubio_spectral_whitening_t * o); 113 97 114 /** deletion of a spectral whitening 98 115
Note: See TracChangeset
for help on using the changeset viewer.