#include "ckernel_tts.h"#include "checked_float_buffer.h"#include <math.h>#include <stdint.h>#include <string.h>Go to the source code of this file.
Macros | |
| #define | CK_SOURCE_PI_F 3.14159265358979323846f |
Functions | |
| int | audio_harmonic_source_checked_f32 (const float *f0, size_t f0_capacity, const float *gaussian, size_t gaussian_capacity, float *output, size_t output_capacity, float *phase_scratch, size_t scratch_capacity, size_t frames, size_t upsample, size_t harmonics, float sample_rate, float voiced_threshold, float sine_amp, float noise_std) |
| static int | audio_harmonic_source_impl_f32 (const float *f0, size_t f0_capacity, const float *gaussian, size_t gaussian_capacity, float *output, size_t output_capacity, float *phase_scratch, size_t scratch_capacity, size_t frames, size_t upsample, size_t harmonics, float sample_rate, float voiced_threshold, float sine_amp, float noise_std, int weighted_fma_interpolation) |
| int | audio_harmonic_source_weighted_fma_checked_f32 (const float *f0, size_t f0_capacity, const float *gaussian, size_t gaussian_capacity, float *output, size_t output_capacity, float *phase_scratch, size_t scratch_capacity, size_t frames, size_t upsample, size_t harmonics, float sample_rate, float voiced_threshold, float sine_amp, float noise_std) |
| #define CK_SOURCE_PI_F 3.14159265358979323846f |
Definition at line 8 of file audio_harmonic_source_checked.c.
| int audio_harmonic_source_checked_f32 | ( | const float * | f0, |
| size_t | f0_capacity, | ||
| const float * | gaussian, | ||
| size_t | gaussian_capacity, | ||
| float * | output, | ||
| size_t | output_capacity, | ||
| float * | phase_scratch, | ||
| size_t | scratch_capacity, | ||
| size_t | frames, | ||
| size_t | upsample, | ||
| size_t | harmonics, | ||
| float | sample_rate, | ||
| float | voiced_threshold, | ||
| float | sine_amp, | ||
| float | noise_std | ||
| ) |
Definition at line 106 of file audio_harmonic_source_checked.c.
References audio_harmonic_source_impl_f32().
|
static |
Definition at line 15 of file audio_harmonic_source_checked.c.
References CK_AUDIO_EXTENT_INVALID, CK_AUDIO_EXTENT_LIMIT, CK_AUDIO_EXTENT_OK, CK_AUDIO_EXTENT_OVERFLOW, ck_checked_finite(), ck_checked_overlap(), ck_checked_region(), CK_SOURCE_PI_F, left, and right.
Referenced by audio_harmonic_source_checked_f32(), and audio_harmonic_source_weighted_fma_checked_f32().
| int audio_harmonic_source_weighted_fma_checked_f32 | ( | const float * | f0, |
| size_t | f0_capacity, | ||
| const float * | gaussian, | ||
| size_t | gaussian_capacity, | ||
| float * | output, | ||
| size_t | output_capacity, | ||
| float * | phase_scratch, | ||
| size_t | scratch_capacity, | ||
| size_t | frames, | ||
| size_t | upsample, | ||
| size_t | harmonics, | ||
| float | sample_rate, | ||
| float | voiced_threshold, | ||
| float | sine_amp, | ||
| float | noise_std | ||
| ) |
Definition at line 120 of file audio_harmonic_source_checked.c.
References audio_harmonic_source_impl_f32().