AbstractPPEFX

All PPE-FX synths and effects should be inherited from this class.

Members

Functions

bendFreqByPitch
float bendFreqByPitch(float pitch, float input)

Changes the frequency by the given pitch.

convAndMixStreamIntoTarget
void convAndMixStreamIntoTarget(short* input, float* output, size_t length, float sendLevel)

Converts an int16 stream into floating point, then adds it to the target.

floatToInt16
void floatToInt16(float* input, short* output, size_t length)

Converts single-precision floating point to int16 values.

frequencyToMidiNote
float frequencyToMidiNote(float frequency, float tuning)
Undocumented in source. Be warned that the author may not have intended to support it.
getPPEFXInfo
PPEFXInfo* getPPEFXInfo()
Undocumented in source.
int16ToFloat
void int16ToFloat(short* input, float* output, size_t length)

Converts int16 values to single-precision floating-point.

loadConfig
void loadConfig(void[] data)
Undocumented in source.
midiNoteToFrequency
float midiNoteToFrequency(float note, float tuning)

Converts a midi note to frequency, can also take fine tuning.

mixStreamIntoTarget
void mixStreamIntoTarget(float* input, float* output, size_t length, float sendLevel)

Mixes a stream into the target.

receiveMICPCommand
void receiveMICPCommand(MICPCommand cmd)
Undocumented in source.
render
void render(float** inputBuffers, float** outputBuffers)
Undocumented in source.
saveConfig
void[] saveConfig()
Undocumented in source.
setRenderParams
int setRenderParams(float samplerate, size_t framelength, size_t nOfFrames)
Undocumented in source.

Meta