mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
124 lines
5 KiB
C++
124 lines
5 KiB
C++
/*
|
|
==============================================================================
|
|
|
|
This file is part of the JUCE 6 technical preview.
|
|
Copyright (c) 2020 - Raw Material Software Limited
|
|
|
|
You may use this code under the terms of the GPL v3
|
|
(see www.gnu.org/licenses).
|
|
|
|
For this technical preview, this file is not subject to commercial licensing.
|
|
|
|
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
|
|
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
|
|
DISCLAIMED.
|
|
|
|
==============================================================================
|
|
*/
|
|
|
|
#include <JuceHeader.h>
|
|
#include "../../../Assets/DemoUtilities.h"
|
|
#include "JUCEDemos.h"
|
|
|
|
#include "../../../Assets/AudioLiveScrollingDisplay.h"
|
|
|
|
//==============================================================================
|
|
#include "IntroScreen.h"
|
|
#include "../../../Audio/AudioAppDemo.h"
|
|
#include "../../../Audio/AudioLatencyDemo.h"
|
|
#include "../../../Audio/AudioPlaybackDemo.h"
|
|
#include "../../../Audio/AudioRecordingDemo.h"
|
|
#include "../../../Audio/AudioSettingsDemo.h"
|
|
#include "../../../Audio/AudioSynthesiserDemo.h"
|
|
#include "../../../Audio/MidiDemo.h"
|
|
#include "../../../Audio/MPEDemo.h"
|
|
#include "../../../Audio/PluckedStringsDemo.h"
|
|
#include "../../../Audio/SimpleFFTDemo.h"
|
|
|
|
#include "../../../BLOCKS/BlocksDrawingDemo.h"
|
|
#include "../../../BLOCKS/BlocksMonitorDemo.h"
|
|
#include "../../../BLOCKS/BlocksSynthDemo.h"
|
|
|
|
#include "../../../DSP/ConvolutionDemo.h"
|
|
#include "../../../DSP/FIRFilterDemo.h"
|
|
#include "../../../DSP/GainDemo.h"
|
|
#include "../../../DSP/IIRFilterDemo.h"
|
|
#include "../../../DSP/OscillatorDemo.h"
|
|
#include "../../../DSP/OverdriveDemo.h"
|
|
#if JUCE_USE_SIMD
|
|
#include "../../../DSP/SIMDRegisterDemo.h"
|
|
#endif
|
|
#include "../../../DSP/StateVariableFilterDemo.h"
|
|
#include "../../../DSP/WaveShaperTanhDemo.h"
|
|
|
|
#include "../../../Utilities/Box2DDemo.h"
|
|
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX
|
|
#include "../../../Utilities/ChildProcessDemo.h"
|
|
#endif
|
|
#include "../../../Utilities/CryptographyDemo.h"
|
|
#include "../../../Utilities/JavaScriptDemo.h"
|
|
#include "../../../Utilities/LiveConstantDemo.h"
|
|
#include "../../../Utilities/MultithreadingDemo.h"
|
|
#include "../../../Utilities/NetworkingDemo.h"
|
|
#include "../../../Utilities/OSCDemo.h"
|
|
#include "../../../Utilities/SystemInfoDemo.h"
|
|
#include "../../../Utilities/TimersAndEventsDemo.h"
|
|
#include "../../../Utilities/UnitTestsDemo.h"
|
|
#include "../../../Utilities/ValueTreesDemo.h"
|
|
#include "../../../Utilities/XMLandJSONDemo.h"
|
|
|
|
void registerDemos_One() noexcept
|
|
{
|
|
REGISTER_DEMO (AudioAppDemo, Audio, false)
|
|
REGISTER_DEMO (AudioLatencyDemo, Audio, false)
|
|
REGISTER_DEMO (AudioPlaybackDemo, Audio, false)
|
|
REGISTER_DEMO (AudioRecordingDemo, Audio, false)
|
|
REGISTER_DEMO (AudioSettingsDemo, Audio, false)
|
|
REGISTER_DEMO (AudioSynthesiserDemo, Audio, false)
|
|
REGISTER_DEMO (MidiDemo, Audio, false)
|
|
REGISTER_DEMO (MPEDemo, Audio, false)
|
|
REGISTER_DEMO (PluckedStringsDemo, Audio, false)
|
|
|
|
REGISTER_DEMO (SimpleFFTDemo, Audio, false)
|
|
REGISTER_DEMO (BlocksDrawingDemo, BLOCKS, false)
|
|
REGISTER_DEMO (BlocksMonitorDemo, BLOCKS, false)
|
|
REGISTER_DEMO (BlocksSynthDemo, BLOCKS, false)
|
|
|
|
REGISTER_DEMO (ConvolutionDemo, DSP, false)
|
|
REGISTER_DEMO (FIRFilterDemo, DSP, false)
|
|
REGISTER_DEMO (GainDemo, DSP, false)
|
|
REGISTER_DEMO (IIRFilterDemo, DSP, false)
|
|
REGISTER_DEMO (OscillatorDemo, DSP, false)
|
|
REGISTER_DEMO (OverdriveDemo, DSP, false)
|
|
#if JUCE_USE_SIMD
|
|
REGISTER_DEMO (SIMDRegisterDemo, DSP, false)
|
|
#endif
|
|
REGISTER_DEMO (StateVariableFilterDemo, DSP, false)
|
|
REGISTER_DEMO (WaveShaperTanhDemo, DSP, false)
|
|
|
|
REGISTER_DEMO (Box2DDemo, Utilities, false)
|
|
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX
|
|
REGISTER_DEMO (ChildProcessDemo, Utilities, false)
|
|
#endif
|
|
REGISTER_DEMO (CryptographyDemo, Utilities, false)
|
|
REGISTER_DEMO (JavaScriptDemo, Utilities, false)
|
|
REGISTER_DEMO (LiveConstantDemo, Utilities, false)
|
|
REGISTER_DEMO (MultithreadingDemo, Utilities, false)
|
|
REGISTER_DEMO (NetworkingDemo, Utilities, false)
|
|
REGISTER_DEMO (OSCDemo, Utilities, false)
|
|
REGISTER_DEMO (SystemInfoDemo, Utilities, false)
|
|
REGISTER_DEMO (TimersAndEventsDemo, Utilities, false)
|
|
REGISTER_DEMO (UnitTestsDemo, Utilities, false)
|
|
REGISTER_DEMO (ValueTreesDemo, Utilities, false)
|
|
REGISTER_DEMO (XMLandJSONDemo, Utilities, false)
|
|
}
|
|
|
|
Component* createIntroDemo()
|
|
{
|
|
return new IntroScreen();
|
|
}
|
|
|
|
bool isComponentIntroDemo (Component* comp) noexcept
|
|
{
|
|
return (dynamic_cast<IntroScreen*> (comp) != nullptr);
|
|
}
|