|
aubio 0.5.0-alpha
|
Pitch shifting object. More...
Go to the source code of this file.
Typedefs | |
| typedef struct _aubio_pitchshift_t | aubio_pitchshift_t |
| pitch shifting object | |
Functions | |
| void | aubio_pitchshift_do (aubio_pitchshift_t *o, const fvec_t *in, fvec_t *out) |
| execute pitch shifting on an input signal frame | |
| void | del_aubio_pitchshift (aubio_pitchshift_t *o) |
| deletion of the pitch shifting object | |
| aubio_pitchshift_t * | new_aubio_pitchshift (const char_t *method, smpl_t transpose, uint_t hop_size, uint_t samplerate) |
| creation of the pitch shifting object | |
| uint_t | aubio_pitchshift_get_latency (aubio_pitchshift_t *o) |
| get the latency of the pitch shifting object, in samples | |
| uint_t | aubio_pitchshift_set_pitchscale (aubio_pitchshift_t *o, smpl_t pitchscale) |
| set the pitch scale of the pitch shifting object | |
| smpl_t | aubio_pitchshift_get_pitchscale (aubio_pitchshift_t *o) |
| get the pitchscale of the pitch shifting object | |
| uint_t | aubio_pitchshift_set_transpose (aubio_pitchshift_t *o, smpl_t transpose) |
| set the transposition of the pitch shifting object, in semitones | |
| smpl_t | aubio_pitchshift_get_transpose (aubio_pitchshift_t *o) |
| get the transposition of the pitch shifting object, in semitones | |
Pitch shifting object.
aubio_pitchshift_t can be used to transpose a stream of blocks of frames.
Definition in file pitchshift.h.
| typedef struct _aubio_pitchshift_t aubio_pitchshift_t |
pitch shifting object
Definition at line 39 of file pitchshift.h.
| void aubio_pitchshift_do | ( | aubio_pitchshift_t * | o, |
| const fvec_t * | in, | ||
| fvec_t * | out ) |
execute pitch shifting on an input signal frame
| o | pitch shifting object as returned by new_aubio_pitchshift() |
| in | input signal of size [hop_size] |
| out | output pitch candidates of size [1] |
References aubio_pitchshift_do().
Referenced by aubio_pitchshift_do().
| uint_t aubio_pitchshift_get_latency | ( | aubio_pitchshift_t * | o | ) |
get the latency of the pitch shifting object, in samples
| o | pitch shifting object as returned by new_aubio_pitchshift() |
References aubio_pitchshift_get_latency().
Referenced by aubio_pitchshift_get_latency().
| smpl_t aubio_pitchshift_get_pitchscale | ( | aubio_pitchshift_t * | o | ) |
get the pitchscale of the pitch shifting object
| o | pitch shifting object as returned by new_aubio_pitchshift() |
References aubio_pitchshift_get_pitchscale().
Referenced by aubio_pitchshift_get_pitchscale().
| smpl_t aubio_pitchshift_get_transpose | ( | aubio_pitchshift_t * | o | ) |
get the transposition of the pitch shifting object, in semitones
| o | pitch shifting object as returned by new_aubio_pitchshift() |
References aubio_pitchshift_get_transpose().
Referenced by aubio_pitchshift_get_transpose().
| uint_t aubio_pitchshift_set_pitchscale | ( | aubio_pitchshift_t * | o, |
| smpl_t | pitchscale ) |
set the pitch scale of the pitch shifting object
| o | pitch shifting object as returned by new_aubio_pitchshift() |
| pitchscale | new pitch scale of the pitch shifting object |
pitchscale is a frequency ratio. It should be in the range [0.25, 4].
References aubio_pitchshift_set_pitchscale().
Referenced by aubio_pitchshift_set_pitchscale().
| uint_t aubio_pitchshift_set_transpose | ( | aubio_pitchshift_t * | o, |
| smpl_t | transpose ) |
set the transposition of the pitch shifting object, in semitones
| o | pitch shifting object as returned by new_aubio_pitchshift() |
| transpose | new pitch transposition of the pitch shifting object, expressed in semitones (should be in the range [-24;+24]) |
References aubio_pitchshift_set_transpose().
Referenced by aubio_pitchshift_set_transpose().
| void del_aubio_pitchshift | ( | aubio_pitchshift_t * | o | ) |
deletion of the pitch shifting object
| o | pitch shifting object as returned by new_aubio_pitchshift() |
References del_aubio_pitchshift().
Referenced by del_aubio_pitchshift().
| aubio_pitchshift_t * new_aubio_pitchshift | ( | const char_t * | method, |
| smpl_t | transpose, | ||
| uint_t | hop_size, | ||
| uint_t | samplerate ) |
creation of the pitch shifting object
| method | set pitch shifting algorithm ("default") |
| transpose | initial pitch transposition |
| hop_size | step size between two consecutive analysis instant |
| samplerate | sampling rate of the signal |
References new_aubio_pitchshift().
Referenced by new_aubio_pitchshift().