Merge branch 'develop' into feature/monoMode

This commit is contained in:
Takeshi Yokemura
2021-08-15 19:50:14 +09:00
8 changed files with 616 additions and 156 deletions

View File

@ -14,6 +14,7 @@
#include "TriangleVoice.h"
#include "NoiseVoice.h"
#include "FrameSequenceParseErrors.h"
#include "EnvelopeParserTest.h"
//==============================================================================
Magical8bitPlug2AudioProcessor::Magical8bitPlug2AudioProcessor()
@ -121,7 +122,7 @@ Magical8bitPlug2AudioProcessor::Magical8bitPlug2AudioProcessor()
std::make_unique<AudioParameterBool> ("isPitchSequenceEnabled_raw", "Enabled", false),
std::make_unique<AudioParameterBool> ("isDutySequenceEnabled_raw", "Enabled", false),
std::make_unique<AudioParameterChoice> ("pitchSequenceMode_raw", "Mode", StringArray ({"Coarse", "Fine"}), 0)
}
}
)
, settingRefs (&parameters)
, synth(*this)
@ -140,6 +141,12 @@ Magical8bitPlug2AudioProcessor::Magical8bitPlug2AudioProcessor()
setupVoice();
synth.addSound (new GenericSound());
#if JUCE_DEBUG
EnvelopeParserTest test;
UnitTestRunner runner;
runner.runAllTests();
#endif
}
Magical8bitPlug2AudioProcessor::~Magical8bitPlug2AudioProcessor()