Changeset 23493b5 for src/temporal
- Timestamp:
- Apr 21, 2016, 7:11:55 PM (9 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:
- eaee767
- Parents:
- 69f74f0
- Location:
- src/temporal
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/temporal/filter.c
r69f74f0 r23493b5 40 40 41 41 void 42 aubio_filter_do_outplace (aubio_filter_t * f, fvec_t * in, fvec_t * out)42 aubio_filter_do_outplace (aubio_filter_t * f, const fvec_t * in, fvec_t * out) 43 43 { 44 44 fvec_copy (in, out); … … 94 94 95 95 lvec_t * 96 aubio_filter_get_feedback ( aubio_filter_t * f)96 aubio_filter_get_feedback (const aubio_filter_t * f) 97 97 { 98 98 return f->a; … … 100 100 101 101 lvec_t * 102 aubio_filter_get_feedforward ( aubio_filter_t * f)102 aubio_filter_get_feedforward (const aubio_filter_t * f) 103 103 { 104 104 return f->b; … … 106 106 107 107 uint_t 108 aubio_filter_get_order ( aubio_filter_t * f)108 aubio_filter_get_order (const aubio_filter_t * f) 109 109 { 110 110 return f->order; … … 112 112 113 113 uint_t 114 aubio_filter_get_samplerate ( aubio_filter_t * f)114 aubio_filter_get_samplerate (const aubio_filter_t * f) 115 115 { 116 116 return f->samplerate; -
src/temporal/filter.h
r69f74f0 r23493b5 87 87 88 88 */ 89 void aubio_filter_do_outplace (aubio_filter_t * f, fvec_t * in, fvec_t * out);89 void aubio_filter_do_outplace (aubio_filter_t * f, const fvec_t * in, fvec_t * out); 90 90 91 91 /** filter input vector forward and backward … … 105 105 106 106 */ 107 lvec_t *aubio_filter_get_feedback ( aubio_filter_t * f);107 lvec_t *aubio_filter_get_feedback (const aubio_filter_t * f); 108 108 109 109 /** returns a pointer to feedforward coefficients \f$ b_i \f$ … … 114 114 115 115 */ 116 lvec_t *aubio_filter_get_feedforward ( aubio_filter_t * f);116 lvec_t *aubio_filter_get_feedforward (const aubio_filter_t * f); 117 117 118 118 /** get order of the filter … … 123 123 124 124 */ 125 uint_t aubio_filter_get_order ( aubio_filter_t * f);125 uint_t aubio_filter_get_order (const aubio_filter_t * f); 126 126 127 127 /** get sampling rate of the filter … … 132 132 133 133 */ 134 uint_t aubio_filter_get_samplerate ( aubio_filter_t * f);134 uint_t aubio_filter_get_samplerate (const aubio_filter_t * f); 135 135 136 136 /** get sampling rate of the filter -
src/temporal/resampler.c
r69f74f0 r23493b5 62 62 63 63 void 64 aubio_resampler_do (aubio_resampler_t * s, fvec_t * input, fvec_t * output)64 aubio_resampler_do (aubio_resampler_t * s, const fvec_t * input, fvec_t * output) 65 65 { 66 66 s->proc->input_frames = input->length; … … 93 93 94 94 void 95 aubio_resampler_do (aubio_resampler_t * s UNUSED, fvec_t * input UNUSED, fvec_t * output UNUSED)95 aubio_resampler_do (aubio_resampler_t * s UNUSED, const fvec_t * input UNUSED, fvec_t * output UNUSED) 96 96 { 97 97 } -
src/temporal/resampler.h
r69f74f0 r23493b5 56 56 57 57 */ 58 void aubio_resampler_do (aubio_resampler_t * s, fvec_t * input,58 void aubio_resampler_do (aubio_resampler_t * s, const fvec_t * input, 59 59 fvec_t * output); 60 60
Note: See TracChangeset
for help on using the changeset viewer.