43 lines
1.5 KiB
C++
43 lines
1.5 KiB
C++
/*
|
|
* DISTRHO Cardinal Plugin
|
|
* Copyright (C) 2021-2022 Filipe Coelho <falktx@falktx.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 3 of
|
|
* the License, or any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* For a full copy of the GNU General Public License see the LICENSE file.
|
|
*/
|
|
|
|
#define BRAIDS_ALWAYS_LOW_CPU_MODE
|
|
#include "AudibleInstruments/src/Braids.cpp"
|
|
#include "AudibleInstruments/eurorack/stmlib/utils/random.cc"
|
|
|
|
#define kHighestNote kHighestNoteAnalog
|
|
#define kPitchTableStart kPitchTableStartAnalog
|
|
#define kOctave kOctaveAnalog
|
|
#include "AudibleInstruments/eurorack/braids/analog_oscillator.cc"
|
|
#undef kHighestNote
|
|
#undef kPitchTableStart
|
|
#undef kOctave
|
|
|
|
#include "AudibleInstruments/eurorack/braids/digital_oscillator.cc"
|
|
#include "AudibleInstruments/eurorack/braids/macro_oscillator.cc"
|
|
// #include "AudibleInstruments/eurorack/braids/quantizer.cc"
|
|
#include "AudibleInstruments/eurorack/braids/resources.cc"
|
|
|
|
#define PLUGIN_BRAND "AudibleInstruments"
|
|
#define PLUGIN_LABEL "Macro Osc"
|
|
#define PLUGIN_MODEL modelBraids
|
|
#define PLUGIN_CV_INPUTS {Bi,Bi,Bi,Bi,Bi}
|
|
#define PLUGIN_CV_OUTPUTS {Audio}
|
|
#define PLUGIN_LV2_CATEGORY "lv2:GeneratorPlugin"
|
|
|
|
#include "lv2plugin.cpp"
|
|
#include "export.cpp"
|