Changeset f080cbf
- Timestamp:
- Oct 1, 2017, 10:25:54 PM (7 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
- Children:
- dfe058a0
- Parents:
- 20c8769
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/cvec.c
r20c8769 rf080cbf 157 157 158 158 void cvec_logmag(cvec_t *s, smpl_t lambda) { 159 160 161 162 163 164 165 166 167 168 159 #if defined(HAVE_INTEL_IPP) 160 aubio_ippsMulC(s->norm, lambda, s->norm, (int)s->length); 161 aubio_ippsAddC(s->norm, 1.0, s->norm, (int)s->length); 162 aubio_ippsLn(s->norm, s->norm, (int)s->length); 163 #else 164 uint_t j; 165 for (j=0; j< s->length; j++) { 166 s->norm[j] = LOG(lambda * s->norm[j] + 1); 167 } 168 #endif 169 169 }
Note: See TracChangeset
for help on using the changeset viewer.