This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Typedefs | |
typedef _aubio_resampler_t | aubio_resampler_t |
resampler object | |
Functions | |
aubio_resampler_t * | new_aubio_resampler (float ratio, uint_t type) |
create resampler object | |
void | del_aubio_resampler (aubio_resampler_t *s) |
delete resampler object | |
uint_t | aubio_resampler_process (aubio_resampler_t *s, fvec_t *input, fvec_t *output) |
resample input in output |
This object resamples an input vector into an output vector using libsamplerate. See http://www.mega-nerd.com/SRC/
uint_t aubio_resampler_process | ( | aubio_resampler_t * | s, | |
fvec_t * | input, | |||
fvec_t * | output | |||
) |
resample input in output
s | resampler object | |
input | input buffer of size N | |
output | output buffer of size N*ratio |
aubio_resampler_t* new_aubio_resampler | ( | float | ratio, | |
uint_t | type | |||
) |
create resampler object
ratio | output_sample_rate / input_sample_rate | |
type | libsamplerate resampling type |