2
0
Fork 0

2.0 update

This commit is contained in:
George Reales 2020-12-14 13:56:02 +01:00
parent cb5854f628
commit 0907814069
7 changed files with 11328 additions and 1072 deletions

8
Source/FloatParameter.h Executable file → Normal file
View file

@ -4,14 +4,14 @@
class FloatParameter
{
public:
FloatParameter(String name);
FloatParameter(juce::String name);
virtual ~FloatParameter(void);
float getParameter(void);
void setParameter(float value);
String getName(void);
virtual String getParameterText(void) = 0;
juce::String getName(void);
virtual juce::String getParameterText(void) = 0;
protected:
float value;
private:
String name;
juce::String name;
};

View file

@ -1,7 +1,7 @@
#include "IntFloatParameter.h"
IntFloatParameter::IntFloatParameter(String name, int min, int max)
IntFloatParameter::IntFloatParameter(juce::String name, int min, int max)
:FloatParameter(name)
{
this->min = min;
@ -30,7 +30,7 @@ void IntFloatParameter::setParameterValue(int i)
this->value = 1.0f;
}
String IntFloatParameter::getParameterText(void)
juce::String IntFloatParameter::getParameterText(void)
{
return String(this->getParameterValue());
return juce::String(this->getParameterValue());
}

View file

@ -4,9 +4,9 @@ class IntFloatParameter :
public FloatParameter
{
public:
IntFloatParameter(String name, int min, int max);
IntFloatParameter(juce::String name, int min, int max);
~IntFloatParameter(void);
String getParameterText(void);
juce::String getParameterText(void);
int getParameterValue(void);
void setParameterValue(int i);
private:

5153
Source/PluginGui Desktop.cpp Normal file

File diff suppressed because it is too large Load diff

5103
Source/PluginGui iOS.cpp Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -7,12 +7,12 @@
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
and re-saved.
Created with Projucer version: 5.4.7
Created with Projucer version: 6.0.5
------------------------------------------------------------------------------
The Projucer is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
Copyright (c) 2020 - Raw Material Software Limited.
==============================================================================
*/
@ -39,9 +39,9 @@ class PluginGui : public Component,
public FileDragAndDropTarget,
public DragAndDropContainer,
public Timer,
public ComboBox::Listener,
public Slider::Listener,
public Button::Listener
public juce::ComboBox::Listener,
public juce::Slider::Listener,
public juce::Button::Listener
{
public:
//==============================================================================
@ -69,11 +69,11 @@ public:
//[/UserMethods]
void paint (Graphics& g) override;
void paint (juce::Graphics& g) override;
void resized() override;
void comboBoxChanged (ComboBox* comboBoxThatHasChanged) override;
void sliderValueChanged (Slider* sliderThatWasMoved) override;
void buttonClicked (Button* buttonThatWasClicked) override;
void comboBoxChanged (juce::ComboBox* comboBoxThatHasChanged) override;
void sliderValueChanged (juce::Slider* sliderThatWasMoved) override;
void buttonClicked (juce::Button* buttonThatWasClicked) override;
// Binary resources:
static const char* full_sine_png;
@ -181,166 +181,166 @@ return options;
//[/UserVariables]
//==============================================================================
std::unique_ptr<GroupComponent> groupComponent2;
std::unique_ptr<GroupComponent> groupComponent4;
std::unique_ptr<GroupComponent> groupComponent11;
std::unique_ptr<GroupComponent> groupComponent10;
std::unique_ptr<GroupComponent> groupComponent9;
std::unique_ptr<GroupComponent> groupComponent;
std::unique_ptr<ComboBox> frequencyComboBox;
std::unique_ptr<Label> frequencyLabel;
std::unique_ptr<Slider> aSlider;
std::unique_ptr<Label> aLabel;
std::unique_ptr<Slider> dSlider;
std::unique_ptr<Label> dLabel;
std::unique_ptr<Slider> sSlider;
std::unique_ptr<Label> dLabel2;
std::unique_ptr<Slider> rSlider;
std::unique_ptr<Label> rLabel;
std::unique_ptr<Slider> attenuationSlider;
std::unique_ptr<Label> attenuationLabel;
std::unique_ptr<Label> dbLabel;
std::unique_ptr<ImageButton> sineImageButton;
std::unique_ptr<ImageButton> halfsineImageButton;
std::unique_ptr<ImageButton> abssineImageButton;
std::unique_ptr<ImageButton> quartersineImageButton;
std::unique_ptr<Label> waveLabel;
std::unique_ptr<ToggleButton> tremoloButton;
std::unique_ptr<ToggleButton> vibratoButton;
std::unique_ptr<ToggleButton> sustainButton;
std::unique_ptr<ToggleButton> keyscaleEnvButton;
std::unique_ptr<Label> dbLabel2;
std::unique_ptr<ComboBox> frequencyComboBox2;
std::unique_ptr<Label> frequencyLabel3;
std::unique_ptr<Slider> aSlider2;
std::unique_ptr<Label> aLabel2;
std::unique_ptr<Slider> dSlider2;
std::unique_ptr<Label> dLabel3;
std::unique_ptr<Slider> sSlider2;
std::unique_ptr<Label> dLabel4;
std::unique_ptr<Slider> rSlider2;
std::unique_ptr<Label> rLabel2;
std::unique_ptr<Slider> attenuationSlider2;
std::unique_ptr<Label> attenuationLabel2;
std::unique_ptr<Label> dbLabel3;
std::unique_ptr<ImageButton> sineImageButton2;
std::unique_ptr<ImageButton> halfsineImageButton2;
std::unique_ptr<ImageButton> abssineImageButton2;
std::unique_ptr<ImageButton> quartersineImageButton2;
std::unique_ptr<Label> waveLabel2;
std::unique_ptr<ToggleButton> tremoloButton2;
std::unique_ptr<ToggleButton> vibratoButton2;
std::unique_ptr<ToggleButton> sustainButton2;
std::unique_ptr<ToggleButton> keyscaleEnvButton2;
std::unique_ptr<Label> frequencyLabel4;
std::unique_ptr<GroupComponent> groupComponent3;
std::unique_ptr<Slider> tremoloSlider;
std::unique_ptr<Label> frequencyLabel5;
std::unique_ptr<Label> dbLabel5;
std::unique_ptr<Slider> vibratoSlider;
std::unique_ptr<Label> frequencyLabel6;
std::unique_ptr<Label> dbLabel6;
std::unique_ptr<Slider> feedbackSlider;
std::unique_ptr<Label> frequencyLabel7;
std::unique_ptr<ComboBox> velocityComboBox;
std::unique_ptr<ComboBox> velocityComboBox2;
std::unique_ptr<Label> attenuationLabel4;
std::unique_ptr<ImageButton> alternatingsineImageButton;
std::unique_ptr<ImageButton> camelsineImageButton;
std::unique_ptr<ImageButton> squareImageButton;
std::unique_ptr<ImageButton> logsawImageButton;
std::unique_ptr<ImageButton> alternatingsineImageButton2;
std::unique_ptr<ImageButton> camelsineImageButton2;
std::unique_ptr<ImageButton> squareImageButton2;
std::unique_ptr<ImageButton> logsawImageButton2;
std::unique_ptr<Label> dbLabel4;
std::unique_ptr<ComboBox> keyscaleAttenuationComboBox2;
std::unique_ptr<ComboBox> keyscaleAttenuationComboBox;
std::unique_ptr<GroupComponent> groupComponent5;
std::unique_ptr<Slider> emulatorSlider;
std::unique_ptr<Label> emulatorLabel;
std::unique_ptr<Label> emulatorLabel2;
std::unique_ptr<ToggleButton> recordButton;
std::unique_ptr<TextButton> exportButton;
std::unique_ptr<TextButton> loadButton;
std::unique_ptr<Label> versionLabel;
std::unique_ptr<ImageButton> ToggleButtonOffExample;
std::unique_ptr<ImageButton> ToggleButtonOnExample;
std::unique_ptr<Label> label;
std::unique_ptr<Label> label2;
std::unique_ptr<ImageButton> LineBorderButton1C;
std::unique_ptr<ImageButton> LineBorderButton1A;
std::unique_ptr<ImageButton> LineBorderButton1B;
std::unique_ptr<Label> label3;
std::unique_ptr<ImageButton> LineBorderButton1C2;
std::unique_ptr<ImageButton> LineBorderButton1A2;
std::unique_ptr<ImageButton> LineBorderButton1B2;
std::unique_ptr<ImageButton> LineBorderButton1C3;
std::unique_ptr<ImageButton> LineBorderButton1B3;
std::unique_ptr<ImageButton> algoSwitchButtonOffEx1;
std::unique_ptr<ImageButton> algoSwitchButtonOffEx2;
std::unique_ptr<ImageButton> algoSwitchButtonOnEx1;
std::unique_ptr<ImageButton> algoSwitchButtonOnEx2;
std::unique_ptr<Label> label4;
std::unique_ptr<Label> label5;
std::unique_ptr<Label> label6;
std::unique_ptr<Label> label7;
std::unique_ptr<Label> label8;
std::unique_ptr<ImageButton> algoSwitchButtonOn2Ex1;
std::unique_ptr<ImageButton> algoSwitchButtonOn2Ex2;
std::unique_ptr<Label> label9;
std::unique_ptr<Label> label10;
std::unique_ptr<ImageButton> algoSwitchButtonOn3Ex1;
std::unique_ptr<ImageButton> algoSwitchButtonOn3Ex2;
std::unique_ptr<Label> label11;
std::unique_ptr<Label> label12;
std::unique_ptr<ImageButton> TwoOpAMButton;
std::unique_ptr<ImageButton> TwoOpFMButton;
std::unique_ptr<Label> label13;
std::unique_ptr<Label> label14;
std::unique_ptr<Label> label15;
std::unique_ptr<Label> label16;
std::unique_ptr<Label> label17;
std::unique_ptr<GroupComponent> groupComponent6;
std::unique_ptr<ImageButton> algoSwitchButtonOnEx3;
std::unique_ptr<Label> label18;
std::unique_ptr<ImageButton> algoSwitchButtonOffEx3;
std::unique_ptr<Label> label19;
std::unique_ptr<ImageButton> TwoOpAMButton2;
std::unique_ptr<Label> label20;
std::unique_ptr<Label> label21;
std::unique_ptr<Label> label22;
std::unique_ptr<ImageButton> algoSwitchButtonOffEx4;
std::unique_ptr<Label> label23;
std::unique_ptr<ImageButton> algoSwitchButtonOn3Ex3;
std::unique_ptr<Label> label24;
std::unique_ptr<ImageButton> TwoOpFMButton2;
std::unique_ptr<Label> label25;
std::unique_ptr<Label> label26;
std::unique_ptr<GroupComponent> groupComponent7;
std::unique_ptr<ImageButton> algoSwitchButtonOffEx5;
std::unique_ptr<Label> label27;
std::unique_ptr<ImageButton> algoSwitchButtonOn3Ex4;
std::unique_ptr<Label> label28;
std::unique_ptr<GroupComponent> groupComponent8;
std::unique_ptr<Label> frequencyLabel9;
std::unique_ptr<Label> label29;
std::unique_ptr<Label> label30;
std::unique_ptr<Label> frequencyLabel10;
std::unique_ptr<Label> attenuationLabel5;
std::unique_ptr<ImageButton> fmButton;
std::unique_ptr<ImageButton> additiveButton;
std::unique_ptr<ImageButton> bassDrumButton;
std::unique_ptr<ImageButton> snareDrumButton;
std::unique_ptr<ImageButton> disablePercussionButton;
std::unique_ptr<ImageButton> tomTomButton;
std::unique_ptr<ImageButton> cymbalButton;
std::unique_ptr<ImageButton> hiHatButton;
std::unique_ptr<Label> dbLabel7;
std::unique_ptr<Label> dbLabel8;
std::unique_ptr<TextButton> previousButton;
std::unique_ptr<TextButton> nextButton;
std::unique_ptr<Drawable> drawable1;
std::unique_ptr<juce::GroupComponent> groupComponent2;
std::unique_ptr<juce::GroupComponent> groupComponent4;
std::unique_ptr<juce::GroupComponent> groupComponent11;
std::unique_ptr<juce::GroupComponent> groupComponent10;
std::unique_ptr<juce::GroupComponent> groupComponent9;
std::unique_ptr<juce::GroupComponent> groupComponent;
std::unique_ptr<juce::ComboBox> frequencyComboBox;
std::unique_ptr<juce::Label> frequencyLabel;
std::unique_ptr<juce::Slider> aSlider;
std::unique_ptr<juce::Label> aLabel;
std::unique_ptr<juce::Slider> dSlider;
std::unique_ptr<juce::Label> dLabel;
std::unique_ptr<juce::Slider> sSlider;
std::unique_ptr<juce::Label> dLabel2;
std::unique_ptr<juce::Slider> rSlider;
std::unique_ptr<juce::Label> rLabel;
std::unique_ptr<juce::Slider> attenuationSlider;
std::unique_ptr<juce::Label> attenuationLabel;
std::unique_ptr<juce::Label> dbLabel;
std::unique_ptr<juce::ImageButton> sineImageButton;
std::unique_ptr<juce::ImageButton> halfsineImageButton;
std::unique_ptr<juce::ImageButton> abssineImageButton;
std::unique_ptr<juce::ImageButton> quartersineImageButton;
std::unique_ptr<juce::Label> waveLabel;
std::unique_ptr<juce::ToggleButton> tremoloButton;
std::unique_ptr<juce::ToggleButton> vibratoButton;
std::unique_ptr<juce::ToggleButton> sustainButton;
std::unique_ptr<juce::ToggleButton> keyscaleEnvButton;
std::unique_ptr<juce::Label> dbLabel2;
std::unique_ptr<juce::ComboBox> frequencyComboBox2;
std::unique_ptr<juce::Label> frequencyLabel3;
std::unique_ptr<juce::Slider> aSlider2;
std::unique_ptr<juce::Label> aLabel2;
std::unique_ptr<juce::Slider> dSlider2;
std::unique_ptr<juce::Label> dLabel3;
std::unique_ptr<juce::Slider> sSlider2;
std::unique_ptr<juce::Label> dLabel4;
std::unique_ptr<juce::Slider> rSlider2;
std::unique_ptr<juce::Label> rLabel2;
std::unique_ptr<juce::Slider> attenuationSlider2;
std::unique_ptr<juce::Label> attenuationLabel2;
std::unique_ptr<juce::Label> dbLabel3;
std::unique_ptr<juce::ImageButton> sineImageButton2;
std::unique_ptr<juce::ImageButton> halfsineImageButton2;
std::unique_ptr<juce::ImageButton> abssineImageButton2;
std::unique_ptr<juce::ImageButton> quartersineImageButton2;
std::unique_ptr<juce::Label> waveLabel2;
std::unique_ptr<juce::ToggleButton> tremoloButton2;
std::unique_ptr<juce::ToggleButton> vibratoButton2;
std::unique_ptr<juce::ToggleButton> sustainButton2;
std::unique_ptr<juce::ToggleButton> keyscaleEnvButton2;
std::unique_ptr<juce::Label> frequencyLabel4;
std::unique_ptr<juce::GroupComponent> groupComponent3;
std::unique_ptr<juce::Slider> tremoloSlider;
std::unique_ptr<juce::Label> frequencyLabel5;
std::unique_ptr<juce::Label> dbLabel5;
std::unique_ptr<juce::Slider> vibratoSlider;
std::unique_ptr<juce::Label> frequencyLabel6;
std::unique_ptr<juce::Label> dbLabel6;
std::unique_ptr<juce::Slider> feedbackSlider;
std::unique_ptr<juce::Label> frequencyLabel7;
std::unique_ptr<juce::ComboBox> velocityComboBox;
std::unique_ptr<juce::ComboBox> velocityComboBox2;
std::unique_ptr<juce::Label> attenuationLabel4;
std::unique_ptr<juce::ImageButton> alternatingsineImageButton;
std::unique_ptr<juce::ImageButton> camelsineImageButton;
std::unique_ptr<juce::ImageButton> squareImageButton;
std::unique_ptr<juce::ImageButton> logsawImageButton;
std::unique_ptr<juce::ImageButton> alternatingsineImageButton2;
std::unique_ptr<juce::ImageButton> camelsineImageButton2;
std::unique_ptr<juce::ImageButton> squareImageButton2;
std::unique_ptr<juce::ImageButton> logsawImageButton2;
std::unique_ptr<juce::Label> dbLabel4;
std::unique_ptr<juce::ComboBox> keyscaleAttenuationComboBox2;
std::unique_ptr<juce::ComboBox> keyscaleAttenuationComboBox;
std::unique_ptr<juce::GroupComponent> groupComponent5;
std::unique_ptr<juce::Slider> emulatorSlider;
std::unique_ptr<juce::Label> emulatorLabel;
std::unique_ptr<juce::Label> emulatorLabel2;
std::unique_ptr<juce::ToggleButton> recordButton;
std::unique_ptr<juce::TextButton> exportButton;
std::unique_ptr<juce::TextButton> loadButton;
std::unique_ptr<juce::Label> versionLabel;
std::unique_ptr<juce::ImageButton> ToggleButtonOffExample;
std::unique_ptr<juce::ImageButton> ToggleButtonOnExample;
std::unique_ptr<juce::Label> label;
std::unique_ptr<juce::Label> label2;
std::unique_ptr<juce::ImageButton> LineBorderButton1C;
std::unique_ptr<juce::ImageButton> LineBorderButton1A;
std::unique_ptr<juce::ImageButton> LineBorderButton1B;
std::unique_ptr<juce::Label> label3;
std::unique_ptr<juce::ImageButton> LineBorderButton1C2;
std::unique_ptr<juce::ImageButton> LineBorderButton1A2;
std::unique_ptr<juce::ImageButton> LineBorderButton1B2;
std::unique_ptr<juce::ImageButton> LineBorderButton1C3;
std::unique_ptr<juce::ImageButton> LineBorderButton1B3;
std::unique_ptr<juce::ImageButton> algoSwitchButtonOffEx1;
std::unique_ptr<juce::ImageButton> algoSwitchButtonOffEx2;
std::unique_ptr<juce::ImageButton> algoSwitchButtonOnEx1;
std::unique_ptr<juce::ImageButton> algoSwitchButtonOnEx2;
std::unique_ptr<juce::Label> label4;
std::unique_ptr<juce::Label> label5;
std::unique_ptr<juce::Label> label6;
std::unique_ptr<juce::Label> label7;
std::unique_ptr<juce::Label> label8;
std::unique_ptr<juce::ImageButton> algoSwitchButtonOn2Ex1;
std::unique_ptr<juce::ImageButton> algoSwitchButtonOn2Ex2;
std::unique_ptr<juce::Label> label9;
std::unique_ptr<juce::Label> label10;
std::unique_ptr<juce::ImageButton> algoSwitchButtonOn3Ex1;
std::unique_ptr<juce::ImageButton> algoSwitchButtonOn3Ex2;
std::unique_ptr<juce::Label> label11;
std::unique_ptr<juce::Label> label12;
std::unique_ptr<juce::ImageButton> TwoOpAMButton;
std::unique_ptr<juce::ImageButton> TwoOpFMButton;
std::unique_ptr<juce::Label> label13;
std::unique_ptr<juce::Label> label14;
std::unique_ptr<juce::Label> label15;
std::unique_ptr<juce::Label> label16;
std::unique_ptr<juce::Label> label17;
std::unique_ptr<juce::GroupComponent> groupComponent6;
std::unique_ptr<juce::ImageButton> algoSwitchButtonOnEx3;
std::unique_ptr<juce::Label> label18;
std::unique_ptr<juce::ImageButton> algoSwitchButtonOffEx3;
std::unique_ptr<juce::Label> label19;
std::unique_ptr<juce::ImageButton> TwoOpAMButton2;
std::unique_ptr<juce::Label> label20;
std::unique_ptr<juce::Label> label21;
std::unique_ptr<juce::Label> label22;
std::unique_ptr<juce::ImageButton> algoSwitchButtonOffEx4;
std::unique_ptr<juce::Label> label23;
std::unique_ptr<juce::ImageButton> algoSwitchButtonOn3Ex3;
std::unique_ptr<juce::Label> label24;
std::unique_ptr<juce::ImageButton> TwoOpFMButton2;
std::unique_ptr<juce::Label> label25;
std::unique_ptr<juce::Label> label26;
std::unique_ptr<juce::GroupComponent> groupComponent7;
std::unique_ptr<juce::ImageButton> algoSwitchButtonOffEx5;
std::unique_ptr<juce::Label> label27;
std::unique_ptr<juce::ImageButton> algoSwitchButtonOn3Ex4;
std::unique_ptr<juce::Label> label28;
std::unique_ptr<juce::GroupComponent> groupComponent8;
std::unique_ptr<juce::Label> frequencyLabel9;
std::unique_ptr<juce::Label> label29;
std::unique_ptr<juce::Label> label30;
std::unique_ptr<juce::Label> frequencyLabel10;
std::unique_ptr<juce::Label> attenuationLabel5;
std::unique_ptr<juce::ImageButton> fmButton;
std::unique_ptr<juce::ImageButton> additiveButton;
std::unique_ptr<juce::ImageButton> bassDrumButton;
std::unique_ptr<juce::ImageButton> snareDrumButton;
std::unique_ptr<juce::ImageButton> disablePercussionButton;
std::unique_ptr<juce::ImageButton> tomTomButton;
std::unique_ptr<juce::ImageButton> cymbalButton;
std::unique_ptr<juce::ImageButton> hiHatButton;
std::unique_ptr<juce::Label> dbLabel7;
std::unique_ptr<juce::Label> dbLabel8;
std::unique_ptr<juce::TextButton> previousButton;
std::unique_ptr<juce::TextButton> nextButton;
std::unique_ptr<juce::Drawable> drawable1;
//==============================================================================