//============================================================================== BeatboxVoxAudioProcessor::BeatboxVoxAudioProcessor() : processorState(*this, nullptr), classifier(480, 48000, 3, 10) { usingOSDTestSound.store(false); setupParameters(); initialiseSynth(); }
//============================================================================== JuceDemoPluginAudioProcessor::JuceDemoPluginAudioProcessor() : lastUIWidth (400), lastUIHeight (200), gainParam (nullptr), delayParam (nullptr), delayPosition (0) { lastPosInfo.resetToDefault(); // This creates our parameters. We'll keep some raw pointers to them in this class, // so that we can easily access them later, but the base class will take care of // deleting them for us. addParameter (gainParam = new AudioParameterFloat ("gain", "Gain", 0.0f, 1.0f, 0.9f)); addParameter (delayParam = new AudioParameterFloat ("delay", "Delay Feedback", 0.0f, 1.0f, 0.5f)); initialiseSynth(); }