- Timestamp:
- Dec 17, 2013, 5:30:13 PM (11 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:
- e84ab04
- Parents:
- 1ece4f8
- Location:
- src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/fmat.c
r1ece4f8 r4ed0ed1 22 22 #include "fmat.h" 23 23 24 fmat_t * new_fmat (uint_t length, uint_t height) {24 fmat_t * new_fmat (uint_t height, uint_t length) { 25 25 if ((sint_t)length <= 0 || (sint_t)height <= 0 ) { 26 26 return NULL; -
src/fmat.h
r1ece4f8 r4ed0ed1 50 50 51 51 */ 52 fmat_t * new_fmat(uint_t length, uint_t height);52 fmat_t * new_fmat(uint_t height, uint_t length); 53 53 54 54 /** fmat_t buffer deletion function -
src/io/audio_unit.c
r1ece4f8 r4ed0ed1 105 105 106 106 /* the floats coming from and to the device callback */ 107 o->output_frames = new_fmat( blocksize, sw_output_channels);108 o->input_frames = new_fmat( blocksize, sw_input_channels);107 o->output_frames = new_fmat(sw_output_channels, blocksize); 108 o->input_frames = new_fmat(sw_input_channels, blocksize); 109 109 110 110 /* check for some sizes */ -
src/spectral/filterbank.c
r1ece4f8 r4ed0ed1 44 44 45 45 /* allocate filter tables, a matrix of length win_s and of height n_filters */ 46 fb->filters = new_fmat ( win_s / 2 + 1, n_filters);46 fb->filters = new_fmat (n_filters, win_s / 2 + 1); 47 47 48 48 return fb; -
src/spectral/mfcc.c
r1ece4f8 r4ed0ed1 67 67 mfcc->in_dct = new_fvec (n_filters); 68 68 69 mfcc->dct_coeffs = new_fmat (n_ coefs, n_filters);69 mfcc->dct_coeffs = new_fmat (n_filters, n_coefs); 70 70 71 71 /* compute DCT transform dct_coeffs[i][j] as -
src/synth/sampler.c
r1ece4f8 r4ed0ed1 43 43 s->blocksize = blocksize; 44 44 s->source_output = new_fvec(blocksize); 45 s->source_output_multi = new_fmat( blocksize, 4);45 s->source_output_multi = new_fmat(4, blocksize); 46 46 s->source = NULL; 47 47 s->playing = 0;
Note: See TracChangeset
for help on using the changeset viewer.