SAF
|
A multi-channel decorrelator. More...
#include "decorrelator_internal.h"
Go to the source code of this file.
Functions | |
void | decorrelator_create (void **const phDecor) |
Creates an instance of decorrelator. | |
void | decorrelator_destroy (void **const phDecor) |
Destroys an instance of decorrelator. | |
void | decorrelator_init (void *const hDecor, int sampleRate) |
Initialises decorrelator with default settings, and samplerate. | |
void | decorrelator_initCodec (void *const hDecor) |
Intialises the codec variables, based on current global/user parameters. | |
void | decorrelator_process (void *const hDecor, const float *const *inputs, float *const *const outputs, int nInputs, int nOutputs, int nSamples) |
Decorrelates the input signals. | |
void | decorrelator_refreshParams (void *const hDecor) |
Sets intialisation flags to 1, so as to re-initialise all settings/variables (as decorrelator is currently configured), at next available opportunity. | |
void | decorrelator_setNumberOfChannels (void *const hDecor, int newValue) |
Sets the number of input/output channels. | |
void | decorrelator_setDecorrelationAmount (void *const hDecor, float newValue) |
Sets the decorrelation amount [0..1]. | |
void | decorrelator_setLevelCompensationFlag (void *const hDecor, int newValue) |
Sets whether to apply level compensation (0 or 1) | |
void | decorrelator_setTransientBypassFlag (void *const hDecor, int newValue) |
Sets whether to bypass decorrelating the transients (0 or 1) | |
int | decorrelator_getFrameSize (void) |
Returns the processing framesize (i.e., number of samples processed with every _process() call ) | |
CODEC_STATUS | decorrelator_getCodecStatus (void *const hDecor) |
Returns current codec status, see CODEC_STATUS enum. | |
float | decorrelator_getProgressBar0_1 (void *const hDecor) |
(Optional) Returns current intialisation/processing progress, between 0..1 | |
void | decorrelator_getProgressBarText (void *const hDecor, char *text) |
(Optional) Returns current intialisation/processing progress text | |
int | decorrelator_getNumberOfChannels (void *const hDecor) |
Returns the number of input/output channels. | |
float | decorrelator_getDecorrelationAmount (void *const hDecor) |
Returns the decorrelation amount [0..1]. | |
int | decorrelator_getLevelCompensationFlag (void *const hDecor) |
Returns whether to apply level compensation (0 or 1) | |
int | decorrelator_getTransientBypassFlag (void *const hDecor) |
Returns whether to bypass decorrelating the transients (0 or 1) | |
int | decorrelator_getDAWsamplerate (void *const hDecor) |
Returns the DAW/Host sample rate. | |
int | decorrelator_getProcessingDelay () |
Returns the processing delay in samples (may be used for delay compensation features) | |
void decorrelator_create | ( | void **const | phDecor | ) |
Creates an instance of decorrelator.
[in] | phDecor | (&) address of decorrelator handle |
Definition at line 28 of file decorrelator.c.
void decorrelator_destroy | ( | void **const | phDecor | ) |
Destroys an instance of decorrelator.
[in] | phDecor | (&) address of decorrelator handle |
Definition at line 64 of file decorrelator.c.
CODEC_STATUS decorrelator_getCodecStatus | ( | void *const | hDecor | ) |
Returns current codec status, see CODEC_STATUS enum.
Definition at line 285 of file decorrelator.c.
int decorrelator_getDAWsamplerate | ( | void *const | hDecor | ) |
Returns the DAW/Host sample rate.
Definition at line 327 of file decorrelator.c.
float decorrelator_getDecorrelationAmount | ( | void *const | hDecor | ) |
Returns the decorrelation amount [0..1].
Definition at line 309 of file decorrelator.c.
int decorrelator_getFrameSize | ( | void | ) |
Returns the processing framesize (i.e., number of samples processed with every _process() call )
Definition at line 280 of file decorrelator.c.
int decorrelator_getLevelCompensationFlag | ( | void *const | hDecor | ) |
Returns whether to apply level compensation (0 or 1)
Definition at line 315 of file decorrelator.c.
int decorrelator_getNumberOfChannels | ( | void *const | hDecor | ) |
Returns the number of input/output channels.
Definition at line 303 of file decorrelator.c.
int decorrelator_getProcessingDelay | ( | void | ) |
Returns the processing delay in samples (may be used for delay compensation features)
Definition at line 333 of file decorrelator.c.
float decorrelator_getProgressBar0_1 | ( | void *const | hDecor | ) |
(Optional) Returns current intialisation/processing progress, between 0..1
Definition at line 291 of file decorrelator.c.
void decorrelator_getProgressBarText | ( | void *const | hDecor, |
char * | text ) |
(Optional) Returns current intialisation/processing progress text
Definition at line 297 of file decorrelator.c.
int decorrelator_getTransientBypassFlag | ( | void *const | hDecor | ) |
Returns whether to bypass decorrelating the transients (0 or 1)
Definition at line 321 of file decorrelator.c.
void decorrelator_init | ( | void *const | hDecor, |
int | samplerate ) |
Initialises decorrelator with default settings, and samplerate.
[in] | hDecor | decorrelator handle |
[in] | samplerate | host samplerate. |
Definition at line 97 of file decorrelator.c.
void decorrelator_initCodec | ( | void *const | hDecor | ) |
Intialises the codec variables, based on current global/user parameters.
[in] | hDecor | decorrelator handle |
Definition at line 112 of file decorrelator.c.
void decorrelator_process | ( | void *const | hDecor, |
const float *const * | inputs, | ||
float *const * | outputs, | ||
int | nInputs, | ||
int | nOutputs, | ||
int | nSamples ) |
Decorrelates the input signals.
[in] | hDecor | decorrelator handle |
[in] | inputs | Input channel buffers; 2-D array: nInputs x nSamples |
[in] | outputs | Output channel buffers; 2-D array: nOutputs x nSamples |
[in] | nInputs | Number of input channels |
[in] | nOutputs | Number of output channels |
[in] | nSamples | Number of samples in 'inputs'/'output' matrices |
Definition at line 161 of file decorrelator.c.
void decorrelator_refreshParams | ( | void *const | hDecor | ) |
Sets intialisation flags to 1, so as to re-initialise all settings/variables (as decorrelator is currently configured), at next available opportunity.
Definition at line 243 of file decorrelator.c.
void decorrelator_setDecorrelationAmount | ( | void *const | hDecor, |
float | newValue ) |
Sets the decorrelation amount [0..1].
Definition at line 258 of file decorrelator.c.
void decorrelator_setLevelCompensationFlag | ( | void *const | hDecor, |
int | newValue ) |
Sets whether to apply level compensation (0 or 1)
Definition at line 264 of file decorrelator.c.
void decorrelator_setNumberOfChannels | ( | void *const | hDecor, |
int | newValue ) |
Sets the number of input/output channels.
Definition at line 248 of file decorrelator.c.
void decorrelator_setTransientBypassFlag | ( | void *const | hDecor, |
int | newValue ) |
Sets whether to bypass decorrelating the transients (0 or 1)
Definition at line 271 of file decorrelator.c.