Class FXControlPannel

Class Documentation

class FXControlPannel

FX Controller class.

Public Functions

FXControlPannel(int sampleRate)

Construct a new FXControlPannel object.

Parameters:

sampleRate – the sample rate. we use 48000

ARGSETTER GetArgSetter(FXList fx)

Get the Arg Setter object.

Parameters:

fx – the fx type

Returns:

ARGSETTER the FX arg handler

void FX_ON_OFF(FXList fx, bool onoff)

activate/deactivate FX

Parameters:
  • fx – the fx type

  • onoff – activate / deactivate

void addFX(float **pcm, int samples)

apply FX to pcm

Parameters:
  • pcm – the faust style PCM frame array

  • samples – length of frame array

bool checkSomethingOn()

check any FX is activated

Returns:

true , something is activated

Returns:

false , nothing activated.