Rubber Band Library
1.8.1
|
Go to the documentation of this file.
24 #ifndef _RUBBERBAND_C_API_H_
25 #define _RUBBERBAND_C_API_H_
31 #define RUBBERBAND_VERSION "1.8.1"
32 #define RUBBERBAND_API_MAJOR_VERSION 2
33 #define RUBBERBAND_API_MINOR_VERSION 5
91 struct RubberBandState_;
95 unsigned int channels,
97 double initialTimeRatio,
98 double initialPitchScale);
unsigned int rubberband_retrieve(const RubberBandState, float *const *output, unsigned int samples)
@ RubberBandOptionPhaseLaminar
void rubberband_set_formant_option(RubberBandState, RubberBandOptions options)
double rubberband_get_pitch_scale(const RubberBandState)
@ RubberBandOptionPitchHighSpeed
void rubberband_set_time_ratio(RubberBandState, double ratio)
@ RubberBandOptionTransientsMixed
@ RubberBandOptionThreadingNever
@ RubberBandOptionDetectorCompound
void rubberband_set_key_frame_map(RubberBandState, unsigned int keyframecount, unsigned int *from, unsigned int *to)
@ RubberBandOptionDetectorSoft
void rubberband_calculate_stretch(RubberBandState)
@ RubberBandOptionDetectorPercussive
@ RubberBandOptionProcessOffline
void rubberband_set_pitch_option(RubberBandState, RubberBandOptions options)
@ RubberBandOptionWindowLong
void rubberband_set_detector_option(RubberBandState, RubberBandOptions options)
void rubberband_process(RubberBandState, const float *const *input, unsigned int samples, int final)
void rubberband_set_debug_level(RubberBandState, int level)
@ RubberBandOptionStretchPrecise
@ RubberBandOptionChannelsApart
void rubberband_set_default_debug_level(int level)
void rubberband_set_phase_option(RubberBandState, RubberBandOptions options)
double rubberband_get_time_ratio(const RubberBandState)
RubberBandOption
This is a C-linkage interface to the Rubber Band time stretcher.
@ RubberBandOptionPitchHighConsistency
void rubberband_set_max_process_size(RubberBandState, unsigned int samples)
unsigned int rubberband_get_samples_required(const RubberBandState)
struct RubberBandState_ * RubberBandState
void rubberband_set_transients_option(RubberBandState, RubberBandOptions options)
@ RubberBandOptionTransientsSmooth
@ RubberBandOptionSmoothingOn
@ RubberBandOptionChannelsTogether
void rubberband_reset(RubberBandState)
@ RubberBandOptionFormantPreserved
@ RubberBandOptionProcessRealTime
@ RubberBandOptionStretchElastic
void rubberband_delete(RubberBandState)
@ RubberBandOptionThreadingAuto
@ RubberBandOptionWindowStandard
@ RubberBandOptionFormantShifted
unsigned int rubberband_get_channel_count(const RubberBandState)
@ RubberBandOptionTransientsCrisp
int rubberband_available(const RubberBandState)
void rubberband_set_pitch_scale(RubberBandState, double scale)
@ RubberBandOptionPitchHighQuality
unsigned int rubberband_get_latency(const RubberBandState)
@ RubberBandOptionPhaseIndependent
@ RubberBandOptionThreadingAlways
@ RubberBandOptionWindowShort
void rubberband_study(RubberBandState, const float *const *input, unsigned int samples, int final)
void rubberband_set_expected_input_duration(RubberBandState, unsigned int samples)
@ RubberBandOptionSmoothingOff
RubberBandState rubberband_new(unsigned int sampleRate, unsigned int channels, RubberBandOptions options, double initialTimeRatio, double initialPitchScale)