This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Typedefs | |
typedef _aubio_scale_t | aubio_scale_t |
scale object | |
Functions | |
aubio_scale_t * | new_aubio_scale (smpl_t flow, smpl_t fhig, smpl_t ilow, smpl_t ihig) |
create a scale object | |
void | del_aubio_scale (aubio_scale_t *s) |
delete a scale object | |
void | aubio_scale_do (aubio_scale_t *s, fvec_t *input) |
scale input vector | |
void | aubio_scale_set (aubio_scale_t *s, smpl_t ilow, smpl_t ihig, smpl_t olow, smpl_t ohig) |
modify scale parameters after object creation |
This object, inspired from the scale object in FTS, the jMax engine, scales the values of a vector according to an affine function defined as follow:
void aubio_scale_do | ( | aubio_scale_t * | s, | |
fvec_t * | input | |||
) |
scale input vector
s | scale object as returned by new_aubio_scale | |
input | vector to scale |
void aubio_scale_set | ( | aubio_scale_t * | s, | |
smpl_t | ilow, | |||
smpl_t | ihig, | |||
smpl_t | olow, | |||
smpl_t | ohig | |||
) |
modify scale parameters after object creation
s | scale object as returned by new_aubio_scale | |
olow | lower value of output function | |
ohig | higher value of output function | |
ilow | lower value of input function | |
ihig | higher value of output function |
void del_aubio_scale | ( | aubio_scale_t * | s | ) |
delete a scale object
s | scale object as returned by new_aubio_scale |
aubio_scale_t* new_aubio_scale | ( | smpl_t | flow, | |
smpl_t | fhig, | |||
smpl_t | ilow, | |||
smpl_t | ihig | |||
) |
create a scale object
flow | lower value of output function | |
fhig | higher value of output function | |
ilow | lower value of input function | |
ihig | higher value of output function |