26#ifndef __PITCH_SHIFTER_INTERNAL_H_INCLUDED__
27#define __PITCH_SHIFTER_INTERNAL_H_INCLUDED__
41#if !defined(PITCH_SHIFTER_FRAME_SIZE)
42# if defined(FRAME_SIZE)
43# define PITCH_SHIFTER_FRAME_SIZE ( FRAME_SIZE )
45# define PITCH_SHIFTER_FRAME_SIZE ( 128 )
54typedef struct _pitch_shifter
#define MAX_NUM_CHANNELS
Maximum number of input/output channels supported.
PROC_STATUS
Current status of the processing loop.
CODEC_STATUS
Current status of the codec.
A very basic multichannel pitch shifter.
PITCH_SHIFTER_FFTSIZE_OPTIONS
Available FFT size options.
PITCH_SHIFTER_OSAMP_OPTIONS
Available oversampling options.
#define PITCH_SHIFTER_FRAME_SIZE
Framesize, in time-domain samples.
void pitch_shifter_setCodecStatus(void *const hPS, CODEC_STATUS newStatus)
Sets codec status (see CODEC_STATUS enum)
Main include header for the Spatial_Audio_Framework (SAF)
Include header for SAF externals.
Main struct for the pitch_shifter.
float pitchShift_factor
1: no shift, 0.5: down one octave, 2: up one octave
float ** inFIFO
Input FIFO buffer.
int fftFrameSize
FFT size.
char * progressBarText
Current (re)initialisation step, string.
int new_nChannels
(current value will be replaced by this after next re-init)
float progressBar0_1
Current (re)initialisation progress, between [0..1].
int FIFO_idx
FIFO buffer index.
int stepsize
Hop size in samples.
void * hSmb
pitch-shifter handle
float ** outFIFO
Output FIFO buffer.
PITCH_SHIFTER_OSAMP_OPTIONS osamp_option
see PITCH_SHIFTER_OSAMP_OPTIONS
PROC_STATUS procStatus
see PROC_STATUS
float sampleRate
Host sampling rate, in Hz.
int nChannels
Current number of input/output channels.
PITCH_SHIFTER_FFTSIZE_OPTIONS fftsize_option
see PITCH_SHIFTER_FFTSIZE_OPTIONS
CODEC_STATUS codecStatus
see CODEC_STATUS