- Timestamp:
- Mar 10, 2017, 10:10:17 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:
- 6352034
- Parents:
- ccdc51b
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/cvec.c
rccdc51b r2f99427 140 140 cvec_phas_zeros(s); 141 141 } 142 143 void cvec_logmag(cvec_t *s, smpl_t lambda) { 144 uint_t j; 145 for (j=0; j< s->length; j++) { 146 s->norm[j] = LOG(lambda * s->norm[j] + 1); 147 } 148 } -
src/cvec.h
rccdc51b r2f99427 231 231 void cvec_zeros(cvec_t *s); 232 232 233 /** take logarithmic magnitude 234 235 \param fftgrain cvec to compress 236 \param lambda value to use for normalisation 237 238 */ 239 void cvec_logmag(cvec_t *s, smpl_t lambda); 240 233 241 #ifdef __cplusplus 234 242 }
Note: See TracChangeset
for help on using the changeset viewer.