Pitch Shift Audio Effect.
More...
Go to the source code of this file.
|
#define | HIGH 1.25 |
|
#define | HIGHER 1.5 |
|
#define | HIGHEST 2 |
|
#define | LOW .85 |
|
#define | LOWER .7 |
|
#define | LOWEST .5 |
|
#define | M_PI 3.14159265358979323846 |
|
#define | MAX_FRAME_LENGTH 256 |
|
|
| AST_MODULE_INFO_STANDARD_EXTENDED (ASTERISK_GPL_KEY,"Audio Effects Dialplan Functions") |
|
static void | destroy_callback (void *data) |
|
static int | load_module (void) |
|
static int | pitch_shift (struct ast_frame *f, float amount, struct fft_data *fft_data) |
|
static int | pitchshift_cb (struct ast_audiohook *audiohook, struct ast_channel *chan, struct ast_frame *f, enum ast_audiohook_direction direction) |
|
static int | pitchshift_helper (struct ast_channel *chan, const char *cmd, char *data, const char *value) |
|
static void | smb_fft (float *fft_buffer, long fft_frame_size, long sign) |
|
static void | smb_pitch_shift (float pitchShift, long num_samps_to_process, long fft_frame_size, long osamp, float sample_rate, int16_t *indata, int16_t *outdata, struct fft_data *fft_data) |
|
static int | unload_module (void) |
|
Pitch Shift Audio Effect.
- Author
- David Vossel dvoss.nosp@m.el@d.nosp@m.igium.nosp@m..com
Definition in file func_pitchshift.c.
Initial value:= {
.name = "PITCH_SHIFT",
.write = pitchshift_helper,
}
Definition at line 509 of file func_pitchshift.c.
Initial value:= {
.type = "pitchshift",
}
static void destroy_callback(void *data)
Helper function used by datastores to destroy the speech structure upon hangup.
Definition at line 174 of file func_pitchshift.c.