Changeset c0b295c for src/mathutils.c
- Timestamp:
- Oct 2, 2009, 2:05:23 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:
- acf7d30
- Parents:
- 38e9732
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mathutils.c
r38e9732 rc0b295c 181 181 } 182 182 183 void fvec_dc_removal(fvec_t * mag) { 184 smpl_t mini = 0.; 185 uint_t length = mag->length, i=0, j; 186 mini = fvec_min(mag); 187 for (j=0;j<length;j++) { 183 void 184 fvec_min_removal (fvec_t * o) 185 { 186 uint_t i, j; 187 smpl_t mini = fvec_min (mag); 188 for (i = 0; i < o->channels; i++) { 189 for (j = 0; j < o->length; j++) { 188 190 mag->data[i][j] -= mini; 189 191 } 192 } 190 193 } 191 194
Note: See TracChangeset
for help on using the changeset viewer.