Added mod matrix

This commit is contained in:
Roland Rabien 2023-09-08 17:11:50 -07:00
commit 4421c1e9b9
7 changed files with 31 additions and 3 deletions

View file

@ -417,6 +417,8 @@ public:
: gin::ParamBox (name), proc (proc_)
{
setName ("mod");
addHeader ({"SRC", "MTX"}, 0, proc.uiParams.activeMOD);
addControl (new gin::ModSrcListBox (proc.modMatrix), 0, 0, 3, 2);
}
@ -424,6 +426,23 @@ public:
WavetableAudioProcessor& proc;
};
//==============================================================================
class MatrixBox : public gin::ParamBox
{
public:
MatrixBox (const juce::String& name, WavetableAudioProcessor& proc_)
: gin::ParamBox (name), proc (proc_)
{
setName ("mtx");
addHeader ({"SRC", "MTX"}, 1, proc.uiParams.activeMOD);
addControl (new gin::ModMatrixBox (proc, proc.modMatrix), 0, 0, 3, 2);
}
WavetableAudioProcessor& proc;
};
//==============================================================================
class GlobalBox : public gin::ParamBox
{