You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3619 lines
98KB

  1. /*
  2. * DISTRHO Cardinal Plugin
  3. * Copyright (C) 2021-2024 Filipe Coelho <falktx@falktx.com>
  4. * SPDX-License-Identifier: GPL-3.0-or-later
  5. */
  6. #include "rack.hpp"
  7. #include "plugin.hpp"
  8. #include "DistrhoUtils.hpp"
  9. // Cardinal (built-in)
  10. #include "Cardinal/src/plugin.hpp"
  11. // Fundamental (always enabled)
  12. #include "Fundamental/src/plugin.hpp"
  13. // ZamAudio (always enabled) - TODO
  14. // #include "ZamAudio/src/plugin.hpp"
  15. // 21kHz
  16. #include "21kHz/src/21kHz.hpp"
  17. // 8Mode
  18. #include "8Mode/src/8mode.hpp"
  19. // Aaron Static
  20. #include "AaronStatic/src/plugin.hpp"
  21. // Admiral
  22. /* NOTE too much noise in original include, do this a different way
  23. // #include "admiral/src/plugin.hpp"
  24. */
  25. extern Model* modelWatches;
  26. extern Model* modelShifts;
  27. extern Model* modelTables;
  28. extern Model* modelDivisions;
  29. // Alef's Bits
  30. #define modelSteps modelalefsbitsSteps
  31. #define modelLogic modelalefsbitsLogic
  32. #include "alefsbits/src/plugin.hpp"
  33. #undef modelSteps
  34. #undef modelLogic
  35. // Algoritmarte
  36. #include "Algoritmarte/src/plugin.hpp"
  37. // AmalgamatedHarmonics
  38. #include "AmalgamatedHarmonics/src/AH.hpp"
  39. // AnimatedCircuits
  40. #include "AnimatedCircuits/src/plugin.hpp"
  41. // ArableInstruments
  42. #define modelClouds modelArableClouds
  43. #include "ArableInstruments/src/ArableInstruments.hpp"
  44. #undef modelClouds
  45. // Aria
  46. /* NOTE too much noise in original include, do this a different way
  47. // #include "AriaModules/src/plugin.hpp"
  48. */
  49. #define modelBlank modelAriaBlank
  50. extern Model* modelSplort;
  51. extern Model* modelSmerge;
  52. extern Model* modelSpleet;
  53. extern Model* modelSwerge;
  54. extern Model* modelSplirge;
  55. // extern Model* modelSrot;
  56. extern Model* modelQqqq;
  57. extern Model* modelQuack;
  58. extern Model* modelQ;
  59. extern Model* modelQuale;
  60. extern Model* modelDarius;
  61. extern Model* modelSolomon4;
  62. extern Model* modelSolomon8;
  63. extern Model* modelSolomon16;
  64. extern Model* modelPsychopump;
  65. extern Model* modelPokies4;
  66. extern Model* modelGrabby;
  67. extern Model* modelRotatoes4;
  68. extern Model* modelUndular;
  69. extern Model* modelBlank;
  70. #undef modelBlank
  71. // AS
  72. #define modelADSR modelASADSR
  73. #define modelVCA modelASVCA
  74. #define modelWaveShaper modelASWaveShaper
  75. #define LedLight ASLedLight
  76. #define YellowRedLight ASYellowRedLight
  77. #include "AS/src/AS.hpp"
  78. #undef modelADSR
  79. #undef modelVCA
  80. #undef modelWaveShaper
  81. #undef LedLight
  82. #undef YellowRedLight
  83. // AudibleInstruments
  84. #include "AudibleInstruments/src/plugin.hpp"
  85. // Autinn
  86. /* NOTE too much noise in original include, do this a different way
  87. // #include "Autinn/src/Autinn.hpp"
  88. */
  89. #define modelChord modelAutinnChord
  90. #define modelVibrato modelAutinnVibrato
  91. extern Model* modelJette;
  92. extern Model* modelFlora;
  93. extern Model* modelOxcart;
  94. extern Model* modelDeadband;
  95. extern Model* modelDigi;
  96. extern Model* modelFlopper;
  97. extern Model* modelAmp;
  98. extern Model* modelDC;
  99. extern Model* modelSjip;
  100. extern Model* modelBass;
  101. extern Model* modelSquare;
  102. extern Model* modelSaw;
  103. extern Model* modelBoomerang;
  104. extern Model* modelVibrato;
  105. extern Model* modelVectorDriver; //deprecated
  106. extern Model* modelCVConverter;
  107. extern Model* modelZod;
  108. extern Model* modelTriBand;
  109. extern Model* modelMixer6;
  110. extern Model* modelNon;
  111. extern Model* modelFil;
  112. extern Model* modelNap;
  113. extern Model* modelMelody;
  114. extern Model* modelChord;
  115. #undef modelChord
  116. #undef modelVibrato
  117. // Axioma
  118. #include "Axioma/src/plugin.hpp"
  119. // BaconPlugs
  120. #define INCLUDE_COMPONENTS_HPP
  121. #include "BaconPlugs/src/BaconPlugs.hpp"
  122. #undef INCLUDE_COMPONENTS_HPP
  123. #undef SCREW_WIDTH
  124. #undef RACK_HEIGHT
  125. // Befaco
  126. #define modelADSR modelBefacoADSR
  127. #define modelMixer modelBefacoMixer
  128. #define modelBurst modelBefacoBurst
  129. #include "Befaco/src/plugin.hpp"
  130. #undef modelADSR
  131. #undef modelMixer
  132. #undef modelBurst
  133. // Bidoo
  134. #include "Bidoo/src/plugin.hpp"
  135. // Biset
  136. /* NOTE too much noise in original include, do this a different way
  137. // #include "Biset/src/plugin.hpp"
  138. */
  139. #define modelBlank modelBisetBlank
  140. #define modelTree modelBisetTree
  141. extern Model* modelTracker;
  142. extern Model* modelTrackerSynth;
  143. extern Model* modelTrackerDrum;
  144. extern Model* modelTrackerClock;
  145. extern Model* modelTrackerPhase;
  146. extern Model* modelTrackerQuant;
  147. extern Model* modelTrackerState;
  148. extern Model* modelTrackerControl;
  149. extern Model* modelRegex;
  150. extern Model* modelRegexCondensed;
  151. extern Model* modelRegexExp;
  152. extern Model* modelTree;
  153. extern Model* modelTreeSeed;
  154. extern Model* modelGbu;
  155. extern Model* modelPkm;
  156. extern Model* modelIgc;
  157. extern Model* modelOmega3;
  158. extern Model* modelOmega6;
  159. extern Model* modelSegfault;
  160. extern Model* modelBlank;
  161. #undef modelBlank
  162. #undef modelTree
  163. // BogaudioModules - integrate theme/skin support
  164. #include <mutex>
  165. #include <string>
  166. #include <unordered_map>
  167. #include <unordered_set>
  168. #include <vector>
  169. #define private public
  170. #include "BogaudioModules/src/skins.hpp"
  171. #undef private
  172. // BogaudioModules
  173. #define modelADSR modelBogaudioADSR
  174. #define modelLFO modelBogaudioLFO
  175. #define modelNoise modelBogaudioNoise
  176. #define modelVCA modelBogaudioVCA
  177. #define modelVCF modelBogaudioVCF
  178. #define modelVCO modelBogaudioVCO
  179. extern Model* modelVCO;
  180. extern Model* modelLVCO;
  181. extern Model* modelSine;
  182. extern Model* modelPulse;
  183. extern Model* modelXCO;
  184. extern Model* modelAdditator;
  185. extern Model* modelFMOp;
  186. extern Model* modelChirp;
  187. extern Model* modelLFO;
  188. extern Model* modelLLFO;
  189. extern Model* modelFourFO;
  190. extern Model* modelEightFO;
  191. extern Model* modelVCF;
  192. extern Model* modelLVCF;
  193. extern Model* modelFFB;
  194. extern Model* modelEQ;
  195. extern Model* modelEQS;
  196. extern Model* modelLPG;
  197. extern Model* modelLLPG;
  198. extern Model* modelMegaGate;
  199. extern Model* modelPEQ;
  200. extern Model* modelPEQ6;
  201. extern Model* modelPEQ6XF;
  202. extern Model* modelPEQ14;
  203. extern Model* modelPEQ14XF;
  204. extern Model* modelDADSRH;
  205. extern Model* modelDADSRHPlus;
  206. extern Model* modelShaper;
  207. extern Model* modelShaperPlus;
  208. extern Model* modelAD;
  209. extern Model* modelASR;
  210. extern Model* modelADSR;
  211. extern Model* modelVish;
  212. extern Model* modelFollow;
  213. extern Model* modelDGate;
  214. extern Model* modelRGate;
  215. extern Model* modelEdge;
  216. extern Model* modelNoise;
  217. extern Model* modelSampleHold;
  218. extern Model* modelWalk2;
  219. extern Model* modelWalk;
  220. extern Model* modelMix8;
  221. extern Model* modelMix8x;
  222. extern Model* modelMix4;
  223. extern Model* modelMix4x;
  224. extern Model* modelMix2;
  225. extern Model* modelMix1;
  226. extern Model* modelVCM;
  227. extern Model* modelMute8;
  228. extern Model* modelPan;
  229. extern Model* modelXFade;
  230. extern Model* modelVCA;
  231. extern Model* modelVCAmp;
  232. extern Model* modelVelo;
  233. extern Model* modelUMix;
  234. extern Model* modelMumix;
  235. extern Model* modelMatrix81;
  236. extern Model* modelMatrix18;
  237. extern Model* modelMatrix44;
  238. extern Model* modelMatrix44Cvm;
  239. extern Model* modelMatrix88;
  240. extern Model* modelMatrix88Cv;
  241. extern Model* modelMatrix88M;
  242. extern Model* modelSwitch81;
  243. extern Model* modelSwitch18;
  244. extern Model* modelSwitch44;
  245. extern Model* modelSwitch88;
  246. extern Model* modelSwitch1616;
  247. extern Model* modelAMRM;
  248. extern Model* modelPressor;
  249. extern Model* modelClpr;
  250. extern Model* modelLmtr;
  251. extern Model* modelNsgt;
  252. extern Model* modelCmpDist;
  253. extern Model* modelOneEight;
  254. extern Model* modelEightOne;
  255. extern Model* modelAddrSeq;
  256. extern Model* modelAddrSeqX;
  257. extern Model* modelPgmr;
  258. extern Model* modelPgmrX;
  259. extern Model* modelVU;
  260. extern Model* modelAnalyzer;
  261. extern Model* modelAnalyzerXL;
  262. extern Model* modelRanalyzer;
  263. extern Model* modelDetune;
  264. extern Model* modelStack;
  265. extern Model* modelReftone;
  266. extern Model* modelMono;
  267. extern Model* modelArp;
  268. extern Model* modelAssign;
  269. extern Model* modelUnison;
  270. extern Model* modelPolyCon8;
  271. extern Model* modelPolyCon16;
  272. extern Model* modelPolyOff8;
  273. extern Model* modelPolyOff16;
  274. extern Model* modelPolyMult;
  275. extern Model* modelBool;
  276. extern Model* modelCmp;
  277. extern Model* modelCVD;
  278. extern Model* modelFlipFlop;
  279. extern Model* modelInv;
  280. extern Model* modelManual;
  281. extern Model* modelFourMan;
  282. extern Model* modelMult;
  283. extern Model* modelOffset;
  284. extern Model* modelSlew;
  285. extern Model* modelSums;
  286. extern Model* modelSwitch;
  287. extern Model* modelLgsw;
  288. extern Model* modelBlank3;
  289. extern Model* modelBlank6;
  290. #ifdef EXPERIMENTAL
  291. extern Model* modelLag;
  292. extern Model* modelPEQ14XR;
  293. extern Model* modelPEQ14XV;
  294. #endif
  295. #ifdef TEST
  296. extern Model* modelTest;
  297. extern Model* modelTest2;
  298. extern Model* modelTestExpanderBase;
  299. extern Model* modelTestExpanderExtension;
  300. extern Model* modelTestGl;
  301. extern Model* modelTestVCF;
  302. #endif
  303. #undef modelADSR
  304. #undef modelLFO
  305. #undef modelNoise
  306. #undef modelVCA
  307. #undef modelVCF
  308. #undef modelVCO
  309. // CatroModulo
  310. #include "CatroModulo/src/CatroModulo.hpp"
  311. // cf
  312. #include "cf/src/plugin.hpp"
  313. // CVfunk
  314. #define modelSteps modelCVfunkSteps
  315. #include "CVfunk/src/plugin.hpp"
  316. #undef modelSteps
  317. // ChowDSP
  318. #include "ChowDSP/src/plugin.hpp"
  319. #define init initChowDSP
  320. #include "ChowDSP/src/plugin.cpp"
  321. #undef init
  322. // Computerscare
  323. #include "Computerscare/src/Computerscare.hpp"
  324. // dBiz
  325. #define DarkDefaultItem dBizDarkDefaultItem
  326. #define OrangeLight dBizOrangeLight
  327. #define darkPanelID dBizdarkPanelID
  328. #define lightPanelID dBizlightPanelID
  329. #define modelChord modeldBizChord
  330. #define modelDivider modeldBizDivider
  331. #define modelFourSeq modeldBizFourSeq
  332. #define modelVCA4 modeldBizVCA4
  333. #include "dBiz/src/plugin.hpp"
  334. #undef DarkDefaultItem
  335. #undef OrangeLight
  336. #undef darkPanelID
  337. #undef lightPanelID
  338. #undef modelChord
  339. #undef modelDivider
  340. #undef modelFourSeq
  341. #undef modelVCA4
  342. // DHEModules
  343. // NOTE very unique way of handling init, needs special handling
  344. namespace dhe {
  345. namespace blossom { void init(Plugin*); }
  346. namespace buttons { void init(Plugin*); }
  347. namespace cubic { void init(Plugin*); }
  348. namespace curve_sequencer { void init(Plugin*); }
  349. namespace envelope { void init(Plugin*); }
  350. namespace func { void init(Plugin*); }
  351. namespace fuzzy_logic { void init(Plugin*); }
  352. namespace gator { void init(Plugin*); }
  353. namespace ranger { void init(Plugin*); }
  354. namespace scannibal { void init(Plugin*); }
  355. namespace sequencizer { void init(Plugin*); }
  356. namespace swave { void init(Plugin*); }
  357. namespace tapers { void init(Plugin*); }
  358. namespace truth { void init(Plugin*); }
  359. namespace xycloid { void init(Plugin*); }
  360. }
  361. // DrumKit
  362. #include "DrumKit/src/DrumKit.hpp"
  363. void setupSamples();
  364. // EnigmaCurry
  365. #define modelPulse modelEnigmaCurryPulse
  366. #include "EnigmaCurry/src/plugin.hpp"
  367. #undef modelPulse
  368. // ESeries
  369. #include "ESeries/src/plugin.hpp"
  370. // ExpertSleepers-Encoders
  371. #include "ExpertSleepers-Encoders/src/Encoders.hpp"
  372. // Extratone
  373. #include "Extratone/src/plugin.hpp"
  374. // FehlerFabrik
  375. #include "FehlerFabrik/src/plugin.hpp"
  376. // forsitan modulare
  377. #include "forsitan-modulare/src/forsitan.hpp"
  378. // GlueTheGiant
  379. #include "GlueTheGiant/src/plugin.hpp"
  380. bool audition_mixer = false;
  381. bool audition_depot = false;
  382. int gtg_default_theme = 1;
  383. int loadGtgPluginDefault(const char*, int) { return 1; }
  384. void saveGtgPluginDefault(const char*, int) {}
  385. // GoodSheperd
  386. #include "GoodSheperd/src/plugin.hpp"
  387. // GrandeModular
  388. #include "GrandeModular/src/plugin.hpp"
  389. // H4N4 Modules
  390. #include "h4n4-modules/src/plugin.hpp"
  391. // Hampton Harmonics
  392. #define modelArp modelHamptonHarmonicsArp
  393. #define modelProgress modelHamptonHarmonicsProgress
  394. #include "HamptonHarmonics/src/plugin.hpp"
  395. #undef modelProgress
  396. #undef modelArp
  397. // HetrickCV
  398. #define modelASR modelHetrickCVASR
  399. #define modelBlankPanel modelHetrickCVBlankPanel
  400. #define modelFlipFlop modelHetrickCVFlipFlop
  401. #define modelMidSide modelHetrickCVMidSide
  402. #define modelMinMax modelHetrickCVMinMax
  403. #define PanelBaseWidget HetrickCVPanelBaseWidget
  404. #define InverterWidget HetrickCVInverterWidget
  405. extern Model* modelTwoToFour;
  406. extern Model* modelAnalogToDigital;
  407. extern Model* modelASR;
  408. extern Model* modelBinaryGate;
  409. extern Model* modelBinaryNoise;
  410. extern Model* modelBitshift;
  411. extern Model* modelBlankPanel;
  412. extern Model* modelBoolean3;
  413. extern Model* modelChaos1Op;
  414. extern Model* modelChaos2Op;
  415. extern Model* modelChaos3Op;
  416. extern Model* modelChaoticAttractors;
  417. extern Model* modelClockedNoise;
  418. extern Model* modelComparator;
  419. extern Model* modelContrast;
  420. extern Model* modelCrackle;
  421. extern Model* modelDataCompander;
  422. extern Model* modelDelta;
  423. extern Model* modelDigitalToAnalog;
  424. extern Model* modelDust;
  425. extern Model* modelExponent;
  426. extern Model* modelFBSineChaos;
  427. extern Model* modelFlipFlop;
  428. extern Model* modelFlipPan;
  429. extern Model* modelGateDelay;
  430. extern Model* modelGateJunction;
  431. extern Model* modelGateJunctionExp;
  432. extern Model* modelGingerbread;
  433. extern Model* modelLogicCombine;
  434. extern Model* modelMidSide;
  435. extern Model* modelMinMax;
  436. extern Model* modelPhaseDrivenSequencer;
  437. extern Model* modelPhaseDrivenSequencer32;
  438. extern Model* modelPhasorAnalyzer;
  439. extern Model* modelPhasorBurstGen;
  440. extern Model* modelPhasorDivMult;
  441. extern Model* modelPhasorEuclidean;
  442. extern Model* modelPhasorGates;
  443. extern Model* modelPhasorGates32;
  444. extern Model* modelPhasorGates64;
  445. extern Model* modelPhasorGen;
  446. extern Model* modelPhasorGeometry;
  447. extern Model* modelPhasorHumanizer;
  448. extern Model* modelPhasorMixer;
  449. extern Model* modelPhasorOctature;
  450. extern Model* modelPhasorQuadrature;
  451. extern Model* modelPhasorRandom;
  452. extern Model* modelPhasorRanger;
  453. extern Model* modelPhasorReset;
  454. extern Model* modelPhasorRhythmGroup;
  455. extern Model* modelPhasorShape;
  456. extern Model* modelPhasorShift;
  457. extern Model* modelPhasorStutter;
  458. extern Model* modelPhasorSubstepShape;
  459. extern Model* modelPhasorSwing;
  460. extern Model* modelPhasorTimetable;
  461. extern Model* modelPhasorToClock;
  462. extern Model* modelPhasorToLFO;
  463. extern Model* modelPhasorToWaveforms;
  464. extern Model* modelProbability;
  465. extern Model* modelRandomGates;
  466. extern Model* modelRotator;
  467. extern Model* modelRungler;
  468. extern Model* modelScanner;
  469. extern Model* modelVectorMix;
  470. extern Model* modelWaveshape;
  471. extern Model* modelXYToPolar;
  472. #undef modelASR
  473. #undef modelBlankPanel
  474. #undef modelFlipFlop
  475. #undef modelMidSide
  476. #undef modelMinMax
  477. #undef PanelBaseWidget
  478. #undef InverterWidget
  479. // ImpromptuModular
  480. /* NOTE too much noise in original include, do this a different way
  481. // #include "ImpromptuModular/src/ImpromptuModular.hpp"
  482. */
  483. extern Model* modelAdaptiveQuantizer;
  484. extern Model* modelBigButtonSeq;
  485. extern Model* modelBigButtonSeq2;
  486. extern Model* modelChordKey;
  487. extern Model* modelChordKeyExpander;
  488. extern Model* modelClocked;
  489. extern Model* modelClockedExpander;
  490. extern Model* modelClkd;
  491. extern Model* modelCvPad;
  492. extern Model* modelFoundry;
  493. extern Model* modelFoundryExpander;
  494. extern Model* modelFourView;
  495. extern Model* modelGateSeq64;
  496. extern Model* modelGateSeq64Expander;
  497. extern Model* modelHotkey;
  498. extern Model* modelPart;
  499. extern Model* modelPhraseSeq16;
  500. extern Model* modelPhraseSeq32;
  501. extern Model* modelPhraseSeqExpander;
  502. extern Model* modelProbKey;
  503. extern Model* modelSemiModularSynth;
  504. extern Model* modelSygen;
  505. extern Model* modelTact;
  506. extern Model* modelTact1;
  507. extern Model* modelTactG;
  508. extern Model* modelTwelveKey;
  509. extern Model* modelVariations;
  510. extern Model* modelWriteSeq32;
  511. extern Model* modelWriteSeq64;
  512. extern Model* modelBlankPanel;
  513. // ihtsyn
  514. #include "ihtsyn/src/plugin.hpp"
  515. // JW-Modules
  516. #define modelQuantizer modelJWQuantizer
  517. #include "JW-Modules/src/JWModules.hpp"
  518. #undef modelQuantizer
  519. // kocmoc
  520. #include "kocmoc/src/plugin.hpp"
  521. // LifeFormModular
  522. /* NOTE too much noise in original include, do this a different way
  523. // #include "LifeFormModular/src/plugin.hpp"
  524. */
  525. extern Model* modelTimeDiktat;
  526. extern Model* modelSequenceModeler;
  527. extern Model* modelPitchDiktat;
  528. extern Model* modelPitchIntegrator;
  529. extern Model* modelBurstIntegrator;
  530. extern Model* modelQuadModulator;
  531. extern Model* modelImpulseControl;
  532. extern Model* modelQuadSteppedOffset;
  533. extern Model* modelPercussiveVibration;
  534. extern Model* modelQuadUtility;
  535. extern Model* modelAdditiveVibration;
  536. extern Model* modelComplexOsc;
  537. extern Model* modelDriftgen;
  538. // LittleUtils
  539. #include "LittleUtils/src/plugin.hpp"
  540. // Lilac Loop
  541. /* NOTE too much noise in original include, do this a different way
  542. // #include "LilacLoop/src/plugin.hpp"
  543. */
  544. extern Model* modelLooperOne;
  545. extern Model* modelLooperTwo;
  546. // LomasModules
  547. #include "LomasModules/src/plugin.hpp"
  548. #undef DR_WAV_IMPLEMENTATION
  549. // LyraeModules
  550. /* NOTE too much noise in original include, do this a different way
  551. // #include "LyraeModules/src/plugin.hpp"
  552. */
  553. #define modelDelta modelLyraeDelta
  554. extern Model* modelSulafat;
  555. extern Model* modelGamma;
  556. extern Model* modelDelta;
  557. extern Model* modelVega;
  558. extern Model* modelBD383238;
  559. extern Model* modelZeta;
  560. #undef modelDelta
  561. // Meander
  562. extern int panelTheme;
  563. #include "Meander/src/plugin.hpp"
  564. // MindMeldModular
  565. /* NOTE too much noise in original include, do this a different way
  566. // #include "MindMeldModular/src/MindMeldModular.hpp"
  567. */
  568. extern Model *modelPatchMaster;
  569. extern Model *modelPatchMasterBlank;
  570. extern Model *modelRouteMasterMono5to1;
  571. extern Model *modelRouteMasterStereo5to1;
  572. extern Model *modelRouteMasterMono1to5;
  573. extern Model *modelRouteMasterStereo1to5;
  574. extern Model *modelMasterChannel;
  575. extern Model *modelMeld;
  576. extern Model *modelUnmeld;
  577. extern Model *modelMSMelder;
  578. extern Model *modelEqMaster;
  579. extern Model *modelEqExpander;
  580. extern Model *modelBassMaster;
  581. extern Model *modelBassMasterJr;
  582. extern Model *modelShapeMaster;
  583. extern Model *modelMixMasterJr;
  584. extern Model *modelAuxExpanderJr;
  585. extern Model *modelMixMaster;
  586. extern Model *modelAuxExpander;
  587. // ML_modules
  588. /* NOTE too much noise in original include, do this a different way
  589. // #include "ML_modules/src/ML_modules.hpp"
  590. */
  591. #define modelQuantizer modelMLQuantizer
  592. #define modelSH8 modelMLSH8
  593. extern Model* modelQuantizer;
  594. extern Model* modelQuantum;
  595. extern Model* modelTrigBuf;
  596. extern Model* modelSeqSwitch;
  597. extern Model* modelSeqSwitch2;
  598. extern Model* modelShiftRegister;
  599. extern Model* modelShiftRegister2;
  600. extern Model* modelFreeVerb;
  601. extern Model* modelSum8;
  602. extern Model* modelSum8mk2;
  603. extern Model* modelSum8mk3;
  604. extern Model* modelSH8;
  605. extern Model* modelConstants;
  606. extern Model* modelCounter;
  607. extern Model* modelTrigDelay;
  608. extern Model* modelBPMdetect;
  609. extern Model* modelVoltMeter;
  610. extern Model* modelOctaFlop;
  611. extern Model* modelOctaTrig;
  612. extern Model* modelOctaSwitch;
  613. extern Model* modelTrigSwitch;
  614. extern Model* modelTrigSwitch2;
  615. extern Model* modelTrigSwitch3;
  616. extern Model* modelTrigSwitch3_2;
  617. extern Model* modelOctaPlus;
  618. extern Model* modelOctaTimes;
  619. extern Model* modelCloner;
  620. extern Model* modelPolySplitter;
  621. extern Model* modelArpeggiator;
  622. #undef modelQuantizer
  623. #undef modelSH8
  624. // MockbaModular
  625. #define modelBlank modelMockbaModularBlank
  626. #define modelComparator modelMockbaModularComparator
  627. #include "MockbaModular/src/plugin.hpp"
  628. #undef modelBlank
  629. #undef modelComparator
  630. #include "MockbaModular/src/MockbaModular.hpp"
  631. #undef min
  632. #undef max
  633. #define saveBack ignoreMockbaModular1
  634. #define loadBack ignoreMockbaModular2
  635. #include "MockbaModular/src/MockbaModular.cpp"
  636. #undef saveBack
  637. #undef loadBack
  638. std::string loadBack(int) { return "res/Empty_gray.svg"; }
  639. // Mog
  640. #include "Mog/src/plugin.hpp"
  641. // mscHack
  642. /* NOTE too much noise in original include, do this a different way
  643. // #include "mscHack/src/mscHack.hpp"
  644. */
  645. extern Model* modelCompressor;
  646. extern Model* modelSynthDrums;
  647. extern Model* modelSEQ_6x32x16;
  648. extern Model* modelMasterClockx8;
  649. extern Model* modelMasterClockx4;
  650. extern Model* modelSEQ_Envelope_8;
  651. extern Model* modelSeq_Triad2;
  652. extern Model* modelARP700;
  653. extern Model* modelMix_24_4_4;
  654. extern Model* modelMix_16_4_4;
  655. extern Model* modelMix_9_3_4;
  656. extern Model* modelMix_4_0_4;
  657. extern Model* modelASAF8;
  658. extern Model* modelPingPong;
  659. extern Model* modelStepDelay;
  660. extern Model* modelOsc_3Ch;
  661. extern Model* modelDronez;
  662. extern Model* modelMorze;
  663. extern Model* modelWindz;
  664. extern Model* modelLorenz;
  665. extern Model* modelAlienz;
  666. extern Model* modelOSC_WaveMorph_3;
  667. extern Model* modelMaude_221;
  668. // MSM
  669. /* NOTE too much noise in original include, do this a different way
  670. // #include "MSM/src/MSM.hpp"
  671. */
  672. #define modelADSR modelMSMADSR
  673. #define modelBlankPanel modelMSMBlankPanel
  674. #define modelDelay modelMSMDelay
  675. #define modelLFO modelMSMLFO
  676. #define modelMult modelMSMMult
  677. #define modelNoise modelMSMNoise
  678. #define modelVCA modelMSMVCA
  679. #define modelVCO modelMSMVCO
  680. extern Model* modelVCO;
  681. extern Model* modelBVCO;
  682. extern Model* modelExperimentalVCO;
  683. extern Model* modelNoise;
  684. extern Model* modelLFO;
  685. extern Model* modelVCA;
  686. extern Model* modelADSR;
  687. extern Model* modelDelay;
  688. extern Model* modelWaveShaper;
  689. extern Model* modelWavefolder;
  690. extern Model* modelBitcrusher;
  691. extern Model* modelPhaserModule;
  692. extern Model* modelMorpher;
  693. extern Model* modelRingMod;
  694. extern Model* modelRandomSource;
  695. extern Model* modelMult;
  696. extern Model* modelCrazyMult;
  697. extern Model* modelFade;
  698. extern Model* modelSimpleSlider;
  699. extern Model* modelxseq;
  700. extern Model* modelBlankPanel;
  701. #undef modelADSR
  702. #undef modelBlankPanel
  703. #undef modelDelay
  704. #undef modelLFO
  705. #undef modelMult
  706. #undef modelNoise
  707. #undef modelVCA
  708. #undef modelVCO
  709. // MUS-X
  710. #include "MUS-X/src/plugin.hpp"
  711. // myth-modules
  712. #include "myth-modules/src/plugin.hpp"
  713. // Nonlinear Circuits
  714. #include "nonlinearcircuits/src/NLC.hpp"
  715. // Orbits
  716. #include "Orbits/src/plugin.hpp"
  717. // ParableInstruments
  718. #define modelClouds modelParableClouds
  719. #include "ParableInstruments/src/ArableInstruments.hpp"
  720. #undef modelClouds
  721. // Path Set
  722. #include "PathSet/src/plugin.hpp"
  723. // PdArray
  724. #define TextBox PdArrayTextBox
  725. #define CustomTrimpot PdArrayCustomTrimpot
  726. #define MsDisplayWidget PdArrayMsDisplayWidget
  727. #define MAX_POLY_CHANNELS PDARRAY_MAX_POLY_CHANNELS
  728. #include "PdArray/src/plugin.hpp"
  729. #undef Textbox
  730. #undef CustomTrimpot
  731. #undef MsDisplayWidget
  732. #undef MAX_POLY_CHANNELS
  733. // PinkTrombone
  734. #include "PinkTrombone/src/plugin.hpp"
  735. // Prism
  736. #include "Prism/src/plugin.hpp"
  737. // rackwindows
  738. #include "rackwindows/src/plugin.hpp"
  739. // RCM
  740. #include "rcm-modules/src/plugin.hpp"
  741. // RebelTech
  742. #define BefacoInputPort BefacoInputPortRebelTech
  743. #define BefacoOutputPort BefacoOutputPortRebelTech
  744. #include "RebelTech/src/plugin.hpp"
  745. #undef BefacoInputPort
  746. #undef BefacoOutputPort
  747. ModuleTheme defaultPanelTheme = DARK_THEME;
  748. void addThemeMenuItems(Menu*, ModuleTheme*) {}
  749. // repelzen
  750. #define modelBlank modelrepelzenBlank
  751. #define modelMixer modelrepelzenMixer
  752. #define modelWerner modelrepelzenWerner
  753. #define tanh_pade repelzentanh_pade
  754. #include "repelzen/src/repelzen.hpp"
  755. #undef modelBlank
  756. #undef modelMixer
  757. #undef modelWerner
  758. #undef tanh_pade
  759. // Sapphire
  760. #include "Sapphire/src/plugin.hpp"
  761. // sonusmodular
  762. #include "sonusmodular/src/sonusmodular.hpp"
  763. // Starling Via
  764. #define modelScanner modelStarlingViaScanner
  765. #define Scale starlingViaScale
  766. #define Wavetable starlingViaWavetable
  767. #include "StarlingVia/src/starling.hpp"
  768. #undef modelScanner
  769. #undef Scale
  770. #undef Wavetable
  771. // stocaudio
  772. #include "stocaudio/src/plugin.hpp"
  773. // stoermelder-packone
  774. #include "stoermelder-packone/src/plugin.hpp"
  775. Model* modelAudioInterface64;
  776. Model* modelMidiCat;
  777. Model* modelMidiCatCtx;
  778. Model* modelMidiCatMem;
  779. Model* modelMidiKey;
  780. Model* modelMidiMon;
  781. Model* modelMidiPlug;
  782. Model* modelMidiStep;
  783. StoermelderSettings pluginSettings;
  784. void StoermelderSettings::saveToJson() {}
  785. void StoermelderSettings::readFromJson() {}
  786. // surgext
  787. #include "surgext/src/SurgeXT.h"
  788. void surgext_rack_initialize();
  789. void surgext_rack_update_theme();
  790. // unless_modules
  791. #include "unless_modules/src/unless.hpp"
  792. // ValleyAudio
  793. #include "ValleyAudio/src/Valley.hpp"
  794. // Voxglitch
  795. #define modelLooper modelVoxglitchLooper
  796. #include "voxglitch/src/plugin.hpp"
  797. #undef modelLooper
  798. // WhatTheRack
  799. #include "WhatTheRack/src/WhatTheRack.hpp"
  800. // ZetaCarinaeModules
  801. #include "ZetaCarinaeModules/src/plugin.hpp"
  802. // ZZC
  803. #define DISPLAYS_H
  804. #define ZZC_SHARED_H
  805. #define ZZC_WIDGETS_H
  806. #define modelClock modelZZCClock
  807. #include "ZZC/src/ZZC.hpp"
  808. #undef modelClock
  809. // known terminal modules
  810. std::vector<Model*> hostTerminalModels;
  811. // stuff that reads config files, we don't want that
  812. int loadConsoleType() { return 0; }
  813. bool loadDarkAsDefault() { return settings::preferDarkPanels; }
  814. ModuleTheme loadDefaultTheme() { return settings::preferDarkPanels ? DARK_THEME : LIGHT_THEME; }
  815. int loadDirectOutMode() { return 0; }
  816. void readDefaultTheme() { defaultPanelTheme = loadDefaultTheme(); }
  817. void saveConsoleType(int) {}
  818. void saveDarkAsDefault(bool) {}
  819. void saveDefaultTheme(ModuleTheme) {}
  820. void saveDirectOutMode(bool) {}
  821. void saveHighQualityAsDefault(bool) {}
  822. void writeDefaultTheme() {}
  823. // plugin instances
  824. Plugin* pluginInstance__Cardinal;
  825. Plugin* pluginInstance__Fundamental;
  826. // Plugin* pluginInstance__ZamAudio;
  827. Plugin* pluginInstance__21kHz;
  828. Plugin* pluginInstance__8Mode;
  829. extern Plugin* pluginInstance__AaronStatic;
  830. Plugin* pluginInstance__admiral;
  831. Plugin* pluginInstance__alefsbits;
  832. Plugin* pluginInstance__Algoritmarte;
  833. Plugin* pluginInstance__AmalgamatedHarmonics;
  834. Plugin* pluginInstance__ArableInstruments;
  835. Plugin* pluginInstance__AnimatedCircuits;
  836. Plugin* pluginInstance__Aria;
  837. Plugin* pluginInstance__AS;
  838. Plugin* pluginInstance__AudibleInstruments;
  839. extern Plugin* pluginInstance__Autinn;
  840. Plugin* pluginInstance__Axioma;
  841. Plugin* pluginInstance__Bacon;
  842. Plugin* pluginInstance__Befaco;
  843. Plugin* pluginInstance__Bidoo;
  844. Plugin* pluginInstance__Biset;
  845. Plugin* pluginInstance__BogaudioModules;
  846. Plugin* pluginInstance__CatroModulo;
  847. Plugin* pluginInstance__cf;
  848. Plugin* pluginInstance__ChowDSP;
  849. Plugin* pluginInstance__Computerscare;
  850. Plugin* pluginInstance__CVfunk;
  851. Plugin* pluginInstance__dBiz;
  852. Plugin* pluginInstance__DHE;
  853. extern Plugin* pluginInstance__DrumKit;
  854. Plugin* pluginInstance__EnigmaCurry;
  855. Plugin* pluginInstance__ESeries;
  856. Plugin* pluginInstance__ExpertSleepersEncoders;
  857. Plugin* pluginInstance__Extratone;
  858. Plugin* pluginInstance__FehlerFabrik;
  859. Plugin* pluginInstance__forsitan;
  860. Plugin* pluginInstance__GlueTheGiant;
  861. Plugin* pluginInstance__GoodSheperd;
  862. Plugin* pluginInstance__GrandeModular;
  863. Plugin* pluginInstance__H4N4;
  864. Plugin* pluginInstance__HamptonHarmonics;
  865. Plugin* pluginInstance__HetrickCV;
  866. extern Plugin* pluginInstance__ImpromptuModular;
  867. Plugin* pluginInstance__ihtsyn;
  868. Plugin* pluginInstance__JW;
  869. Plugin* pluginInstance__kocmoc;
  870. Plugin* pluginInstance__LifeFormModular;
  871. Plugin* pluginInstance__LilacLoop;
  872. Plugin* pluginInstance__LittleUtils;
  873. Plugin* pluginInstance__Lomas;
  874. Plugin* pluginInstance__Lyrae;
  875. Plugin* pluginInstance__Meander;
  876. extern Plugin* pluginInstance__MindMeld;
  877. Plugin* pluginInstance__ML;
  878. Plugin* pluginInstance__MockbaModular;
  879. Plugin* pluginInstance__Mog;
  880. extern Plugin* pluginInstance__mscHack;
  881. Plugin* pluginInstance__MSM;
  882. Plugin* pluginInstance__MUS_X;
  883. Plugin* pluginInstance__myth_modules;
  884. Plugin* pluginInstance__nonlinearcircuits;
  885. Plugin* pluginInstance__Orbits;
  886. Plugin* pluginInstance__ParableInstruments;
  887. Plugin* pluginInstance__PathSet;
  888. Plugin* pluginInstance__PdArray;
  889. Plugin* pluginInstance__PinkTrombone;
  890. Plugin* pluginInstance__Prism;
  891. Plugin* pluginInstance__rackwindows;
  892. Plugin* pluginInstance__RCM;
  893. Plugin* pluginInstance__RebelTech;
  894. Plugin* pluginInstance__repelzen;
  895. Plugin* pluginInstance__sapphire;
  896. Plugin* pluginInstance__sonusmodular;
  897. Plugin* pluginInstance__StarlingVia;
  898. Plugin* pluginInstance__stocaudio;
  899. extern Plugin* pluginInstance__stoermelder_p1;
  900. Plugin* pluginInstance__surgext;
  901. Plugin* pluginInstance__unless_modules;
  902. Plugin* pluginInstance__ValleyAudio;
  903. Plugin* pluginInstance__Voxglitch;
  904. Plugin* pluginInstance__WhatTheRack;
  905. Plugin* pluginInstance__ZetaCarinaeModules;
  906. Plugin* pluginInstance__ZZC;
  907. namespace rack {
  908. namespace asset {
  909. std::string pluginManifest(const std::string& dirname);
  910. std::string pluginPath(const std::string& dirname);
  911. }
  912. namespace plugin {
  913. struct StaticPluginLoader {
  914. Plugin* const plugin;
  915. FILE* file;
  916. json_t* rootJ;
  917. StaticPluginLoader(Plugin* const p, const char* const name)
  918. : plugin(p),
  919. file(nullptr),
  920. rootJ(nullptr)
  921. {
  922. #ifdef DEBUG
  923. DEBUG("Loading plugin module %s", name);
  924. #endif
  925. p->path = asset::pluginPath(name);
  926. const std::string manifestFilename = asset::pluginManifest(name);
  927. if ((file = std::fopen(manifestFilename.c_str(), "r")) == nullptr)
  928. {
  929. d_stderr2("Manifest file %s does not exist", manifestFilename.c_str());
  930. return;
  931. }
  932. json_error_t error;
  933. if ((rootJ = json_loadf(file, 0, &error)) == nullptr)
  934. {
  935. d_stderr2("JSON parsing error at %s %d:%d %s", manifestFilename.c_str(), error.line, error.column, error.text);
  936. return;
  937. }
  938. // force ABI, we use static plugins so this doesnt matter as long as it builds
  939. json_t* const version = json_string((APP_VERSION_MAJOR + ".0").c_str());
  940. json_object_set(rootJ, "version", version);
  941. json_decref(version);
  942. // Load manifest
  943. p->fromJson(rootJ);
  944. // Reject plugin if slug already exists
  945. if (Plugin* const existingPlugin = getPlugin(p->slug))
  946. throw Exception("Plugin %s is already loaded, not attempting to load it again", p->slug.c_str());
  947. }
  948. ~StaticPluginLoader()
  949. {
  950. if (rootJ != nullptr)
  951. {
  952. // Load modules manifest
  953. json_t* const modulesJ = json_object_get(rootJ, "modules");
  954. plugin->modulesFromJson(modulesJ);
  955. json_decref(rootJ);
  956. plugins.push_back(plugin);
  957. }
  958. if (file != nullptr)
  959. std::fclose(file);
  960. }
  961. bool ok() const noexcept
  962. {
  963. return rootJ != nullptr;
  964. }
  965. void removeModule(const char* const slugToRemove) const noexcept
  966. {
  967. json_t* const modules = json_object_get(rootJ, "modules");
  968. DISTRHO_SAFE_ASSERT_RETURN(modules != nullptr,);
  969. size_t i;
  970. json_t* v;
  971. json_array_foreach(modules, i, v)
  972. {
  973. if (json_t* const slug = json_object_get(v, "slug"))
  974. {
  975. if (const char* const value = json_string_value(slug))
  976. {
  977. if (std::strcmp(value, slugToRemove) == 0)
  978. {
  979. json_array_remove(modules, i);
  980. break;
  981. }
  982. }
  983. }
  984. }
  985. }
  986. };
  987. static void initStatic__Cardinal()
  988. {
  989. Plugin* const p = new Plugin;
  990. pluginInstance__Cardinal = p;
  991. const StaticPluginLoader spl(p, "Cardinal");
  992. if (spl.ok())
  993. {
  994. p->addModel(modelAidaX);
  995. p->addModel(modelCardinalBlank);
  996. p->addModel(modelExpanderInputMIDI);
  997. p->addModel(modelExpanderOutputMIDI);
  998. p->addModel(modelHostAudio2);
  999. p->addModel(modelHostAudio8);
  1000. p->addModel(modelHostCV);
  1001. p->addModel(modelHostMIDI);
  1002. p->addModel(modelHostMIDICC);
  1003. p->addModel(modelHostMIDIGate);
  1004. p->addModel(modelHostMIDIMap);
  1005. p->addModel(modelHostParameters);
  1006. p->addModel(modelHostParametersMap);
  1007. p->addModel(modelHostTime);
  1008. p->addModel(modelTextEditor);
  1009. #ifndef DGL_USE_GLES
  1010. p->addModel(modelGlBars);
  1011. #else
  1012. spl.removeModule("glBars");
  1013. #endif
  1014. #ifndef STATIC_BUILD
  1015. p->addModel(modelAudioFile);
  1016. #else
  1017. spl.removeModule("AudioFile");
  1018. #endif
  1019. #if !(defined(DISTRHO_OS_WASM) || defined(STATIC_BUILD))
  1020. p->addModel(modelCarla);
  1021. p->addModel(modelIldaeil);
  1022. #else
  1023. spl.removeModule("Carla");
  1024. spl.removeModule("Ildaeil");
  1025. #endif
  1026. #ifndef HEADLESS
  1027. p->addModel(modelSassyScope);
  1028. #else
  1029. spl.removeModule("SassyScope");
  1030. #endif
  1031. #if defined(HAVE_X11) && !defined(HEADLESS) && !defined(STATIC_BUILD)
  1032. p->addModel(modelMPV);
  1033. #else
  1034. spl.removeModule("MPV");
  1035. #endif
  1036. #ifdef HAVE_FFTW3F
  1037. p->addModel(modelAudioToCVPitch);
  1038. #else
  1039. spl.removeModule("AudioToCVPitch");
  1040. #endif
  1041. hostTerminalModels = {
  1042. modelHostAudio2,
  1043. modelHostAudio8,
  1044. modelHostCV,
  1045. modelHostMIDI,
  1046. modelHostMIDICC,
  1047. modelHostMIDIGate,
  1048. modelHostMIDIMap,
  1049. modelHostParameters,
  1050. modelHostParametersMap,
  1051. modelHostTime,
  1052. };
  1053. }
  1054. }
  1055. static void initStatic__Fundamental()
  1056. {
  1057. Plugin* const p = new Plugin;
  1058. pluginInstance__Fundamental = p;
  1059. const StaticPluginLoader spl(p, "Fundamental");
  1060. if (spl.ok())
  1061. {
  1062. p->addModel(model_8vert);
  1063. p->addModel(modelADSR);
  1064. p->addModel(modelDelay);
  1065. p->addModel(modelLFO);
  1066. p->addModel(modelLFO2);
  1067. p->addModel(modelMerge);
  1068. p->addModel(modelMidSide);
  1069. p->addModel(modelMixer);
  1070. p->addModel(modelMutes);
  1071. p->addModel(modelNoise);
  1072. p->addModel(modelOctave);
  1073. p->addModel(modelPulses);
  1074. p->addModel(modelQuantizer);
  1075. p->addModel(modelRandom);
  1076. p->addModel(modelScope);
  1077. p->addModel(modelSEQ3);
  1078. p->addModel(modelSequentialSwitch1);
  1079. p->addModel(modelSequentialSwitch2);
  1080. p->addModel(modelSplit);
  1081. p->addModel(modelSum);
  1082. p->addModel(modelVCA);
  1083. p->addModel(modelVCA_1);
  1084. p->addModel(modelVCF);
  1085. p->addModel(modelVCMixer);
  1086. p->addModel(modelVCO);
  1087. p->addModel(modelVCO2);
  1088. }
  1089. }
  1090. /*
  1091. static void initStatic__ZamAudio()
  1092. {
  1093. Plugin* const p = new Plugin;
  1094. pluginInstance__ZamAudio = p;
  1095. const StaticPluginLoader spl(p, "ZamAudio");
  1096. if (spl.ok())
  1097. {
  1098. p->addModel(modelZamComp);
  1099. }
  1100. }
  1101. */
  1102. static void initStatic__21kHz()
  1103. {
  1104. Plugin* const p = new Plugin;
  1105. pluginInstance__21kHz = p;
  1106. const StaticPluginLoader spl(p, "21kHz");
  1107. if (spl.ok())
  1108. {
  1109. p->addModel(modelPalmLoop);
  1110. p->addModel(modelD_Inf);
  1111. p->addModel(modelTachyonEntangler);
  1112. }
  1113. }
  1114. static void initStatic__8Mode()
  1115. {
  1116. Plugin* const p = new Plugin;
  1117. pluginInstance__8Mode = p;
  1118. const StaticPluginLoader spl(p, "8Mode");
  1119. if (spl.ok())
  1120. {
  1121. p->addModel(modelsoftSN);
  1122. }
  1123. }
  1124. static void initStatic__AaronStatic()
  1125. {
  1126. Plugin* const p = new Plugin;
  1127. pluginInstance__AaronStatic = p;
  1128. const StaticPluginLoader spl(p, "AaronStatic");
  1129. if (spl.ok())
  1130. {
  1131. p->addModel(modelChordCV);
  1132. p->addModel(modelScaleCV);
  1133. p->addModel(modelRandomNoteCV);
  1134. p->addModel(modelDiatonicCV);
  1135. }
  1136. }
  1137. static void initStatic__admiral()
  1138. {
  1139. Plugin* const p = new Plugin;
  1140. pluginInstance__admiral = p;
  1141. const StaticPluginLoader spl(p, "admiral");
  1142. if (spl.ok())
  1143. {
  1144. p->addModel(modelWatches);
  1145. p->addModel(modelShifts);
  1146. p->addModel(modelTables);
  1147. p->addModel(modelDivisions);
  1148. }
  1149. }
  1150. static void initStatic__alefsbits()
  1151. {
  1152. Plugin* const p = new Plugin;
  1153. pluginInstance__alefsbits = p;
  1154. const StaticPluginLoader spl(p, "alefsbits");
  1155. if (spl.ok())
  1156. {
  1157. #define modelSteps modelalefsbitsSteps
  1158. #define modelLogic modelalefsbitsLogic
  1159. p->addModel(modelSimplexandhold);
  1160. p->addModel(modelBlank6hp);
  1161. p->addModel(modelPolyrand);
  1162. p->addModel(modelNoize);
  1163. p->addModel(modelSteps);
  1164. p->addModel(modelFibb);
  1165. p->addModel(modelOctsclr);
  1166. p->addModel(modelShift);
  1167. p->addModel(modelMlt);
  1168. p->addModel(modelMath);
  1169. p->addModel(modelLogic);
  1170. p->addModel(modelProbablynot);
  1171. #undef modelSteps
  1172. #undef modelLogic
  1173. }
  1174. }
  1175. static void initStatic__Algoritmarte()
  1176. {
  1177. Plugin* const p = new Plugin;
  1178. pluginInstance__Algoritmarte = p;
  1179. const StaticPluginLoader spl(p, "Algoritmarte");
  1180. if (spl.ok())
  1181. {
  1182. p->addModel(modelClockkky);
  1183. p->addModel(modelPlanetz);
  1184. p->addModel(modelMusiFrog);
  1185. p->addModel(modelZefiro);
  1186. p->addModel(modelHoldMeTight);
  1187. p->addModel(modelCyclicCA);
  1188. p->addModel(modelMusiMath);
  1189. }
  1190. }
  1191. static void initStatic__AmalgamatedHarmonics()
  1192. {
  1193. Plugin* const p = new Plugin;
  1194. pluginInstance__AmalgamatedHarmonics = p;
  1195. const StaticPluginLoader spl(p, "AmalgamatedHarmonics");
  1196. if (spl.ok())
  1197. {
  1198. p->addModel(modelArp31);
  1199. p->addModel(modelArp32);
  1200. p->addModel(modelBombe);
  1201. p->addModel(modelChord);
  1202. p->addModel(modelCircle);
  1203. p->addModel(modelGalaxy);
  1204. p->addModel(modelGenerative);
  1205. p->addModel(modelImp);
  1206. p->addModel(modelImperfect2);
  1207. p->addModel(modelProgress2);
  1208. p->addModel(modelRuckus);
  1209. p->addModel(modelScaleQuantizer2);
  1210. p->addModel(modelSLN);
  1211. p->addModel(modelMuxDeMux);
  1212. p->addModel(modelPolyProbe);
  1213. p->addModel(modelPolyScope);
  1214. p->addModel(modelPolyUtils);
  1215. p->addModel(modelPolyVolt);
  1216. p->addModel(modelScaleQuantizer);
  1217. p->addModel(modelArpeggiator2);
  1218. p->addModel(modelProgress);
  1219. }
  1220. }
  1221. static void initStatic__AnimatedCircuits()
  1222. {
  1223. Plugin* const p = new Plugin;
  1224. pluginInstance__AnimatedCircuits = p;
  1225. const StaticPluginLoader spl(p, "AnimatedCircuits");
  1226. if (spl.ok())
  1227. {
  1228. p->addModel(model_AC_Folding);
  1229. p->addModel(model_AC_LFold);
  1230. }
  1231. }
  1232. static void initStatic__ArableInstruments()
  1233. {
  1234. Plugin* const p = new Plugin;
  1235. pluginInstance__ArableInstruments = p;
  1236. const StaticPluginLoader spl(p, "ArableInstruments");
  1237. if (spl.ok())
  1238. {
  1239. #define modelClouds modelArableClouds
  1240. p->addModel(modelClouds);
  1241. #undef modelClouds
  1242. }
  1243. }
  1244. static void initStatic__Aria()
  1245. {
  1246. Plugin* const p = new Plugin;
  1247. pluginInstance__Aria = p;
  1248. const StaticPluginLoader spl(p, "AriaModules");
  1249. if (spl.ok())
  1250. {
  1251. #define modelBlank modelAriaBlank
  1252. p->addModel(modelSplort);
  1253. p->addModel(modelSmerge);
  1254. p->addModel(modelSpleet);
  1255. p->addModel(modelSwerge);
  1256. p->addModel(modelSplirge);
  1257. p->addModel(modelQqqq);
  1258. p->addModel(modelQuack);
  1259. p->addModel(modelQ);
  1260. p->addModel(modelQuale);
  1261. p->addModel(modelDarius);
  1262. p->addModel(modelSolomon4);
  1263. p->addModel(modelSolomon8);
  1264. p->addModel(modelSolomon16);
  1265. p->addModel(modelPsychopump);
  1266. p->addModel(modelPokies4);
  1267. p->addModel(modelGrabby);
  1268. p->addModel(modelRotatoes4);
  1269. p->addModel(modelUndular);
  1270. p->addModel(modelBlank);
  1271. #undef modelBlank
  1272. // NOTE disabled in Cardinal due to online requirement
  1273. spl.removeModule("Arcane");
  1274. spl.removeModule("Atout");
  1275. spl.removeModule("Aleister");
  1276. }
  1277. }
  1278. static void initStatic__AS()
  1279. {
  1280. Plugin* const p = new Plugin;
  1281. pluginInstance__AS = p;
  1282. const StaticPluginLoader spl(p, "AS");
  1283. if (spl.ok())
  1284. {
  1285. #define modelADSR modelASADSR
  1286. #define modelVCA modelASVCA
  1287. #define modelWaveShaper modelASWaveShaper
  1288. //OSCILLATORS
  1289. p->addModel(modelSineOsc);
  1290. p->addModel(modelSawOsc);
  1291. //TOOLS
  1292. p->addModel(modelADSR);
  1293. p->addModel(modelVCA);
  1294. p->addModel(modelQuadVCA);
  1295. p->addModel(modelTriLFO);
  1296. p->addModel(modelAtNuVrTr);
  1297. p->addModel(modelBPMClock);
  1298. p->addModel(modelSEQ16);
  1299. p->addModel(modelMixer2ch);
  1300. p->addModel(modelMixer4ch);
  1301. p->addModel(modelMixer8ch);
  1302. p->addModel(modelMonoVUmeter);
  1303. p->addModel(modelStereoVUmeter);
  1304. p->addModel(modelMultiple2_5);
  1305. p->addModel(modelMerge2_5);
  1306. p->addModel(modelSteps);
  1307. p->addModel(modelLaunchGate);
  1308. p->addModel(modelKillGate);
  1309. p->addModel(modelFlow);
  1310. p->addModel(modelSignalDelay);
  1311. p->addModel(modelTriggersMKI);
  1312. p->addModel(modelTriggersMKII);
  1313. p->addModel(modelTriggersMKIII);
  1314. p->addModel(modelBPMCalc);
  1315. p->addModel(modelBPMCalc2);
  1316. p->addModel(modelCv2T);
  1317. p->addModel(modelZeroCV2T);
  1318. p->addModel(modelReScale);
  1319. //EFFECTS
  1320. p->addModel(modelDelayPlusFx);
  1321. p->addModel(modelDelayPlusStereoFx);
  1322. p->addModel(modelPhaserFx);
  1323. p->addModel(modelReverbFx);
  1324. p->addModel(modelReverbStereoFx);
  1325. p->addModel(modelSuperDriveFx);
  1326. p->addModel(modelSuperDriveStereoFx);
  1327. p->addModel(modelTremoloFx);
  1328. p->addModel(modelTremoloStereoFx);
  1329. p->addModel(modelWaveShaper);
  1330. p->addModel(modelWaveShaperStereo);
  1331. //BLANK PANELS
  1332. p->addModel(modelBlankPanel4);
  1333. p->addModel(modelBlankPanel6);
  1334. p->addModel(modelBlankPanel8);
  1335. p->addModel(modelBlankPanelSpecial);
  1336. #undef modelADSR
  1337. #undef modelVCA
  1338. #undef modelWaveShaper
  1339. }
  1340. }
  1341. static void initStatic__AudibleInstruments()
  1342. {
  1343. Plugin* const p = new Plugin;
  1344. pluginInstance__AudibleInstruments = p;
  1345. const StaticPluginLoader spl(p, "AudibleInstruments");
  1346. if (spl.ok())
  1347. {
  1348. p->addModel(modelBraids);
  1349. p->addModel(modelPlaits);
  1350. p->addModel(modelElements);
  1351. p->addModel(modelTides);
  1352. p->addModel(modelTides2);
  1353. p->addModel(modelClouds);
  1354. p->addModel(modelWarps);
  1355. p->addModel(modelRings);
  1356. p->addModel(modelLinks);
  1357. p->addModel(modelKinks);
  1358. p->addModel(modelShades);
  1359. p->addModel(modelBranches);
  1360. p->addModel(modelBlinds);
  1361. p->addModel(modelVeils);
  1362. p->addModel(modelFrames);
  1363. p->addModel(modelMarbles);
  1364. p->addModel(modelStages);
  1365. p->addModel(modelRipples);
  1366. p->addModel(modelShelves);
  1367. p->addModel(modelStreams);
  1368. }
  1369. }
  1370. static void initStatic__Autinn()
  1371. {
  1372. Plugin* const p = new Plugin;
  1373. pluginInstance__Autinn = p;
  1374. const StaticPluginLoader spl(p, "Autinn");
  1375. if (spl.ok())
  1376. {
  1377. #define modelChord modelAutinnChord
  1378. #define modelVibrato modelAutinnVibrato
  1379. p->addModel(modelAmp);
  1380. p->addModel(modelDeadband);
  1381. p->addModel(modelBass);
  1382. p->addModel(modelCVConverter);
  1383. p->addModel(modelDC);
  1384. p->addModel(modelDigi);
  1385. p->addModel(modelFlopper);
  1386. p->addModel(modelFlora);
  1387. p->addModel(modelJette);
  1388. p->addModel(modelBoomerang);
  1389. p->addModel(modelOxcart);
  1390. p->addModel(modelSaw);
  1391. p->addModel(modelSjip);
  1392. p->addModel(modelSquare);
  1393. p->addModel(modelVibrato);
  1394. p->addModel(modelVectorDriver);
  1395. p->addModel(modelZod);
  1396. p->addModel(modelTriBand);
  1397. p->addModel(modelMixer6);
  1398. p->addModel(modelNon);
  1399. p->addModel(modelFil);
  1400. p->addModel(modelNap);
  1401. p->addModel(modelMelody);
  1402. p->addModel(modelChord);
  1403. #undef modelChord
  1404. #undef modelVibrato
  1405. }
  1406. }
  1407. static void initStatic__Axioma()
  1408. {
  1409. Plugin* const p = new Plugin;
  1410. pluginInstance__Axioma = p;
  1411. const StaticPluginLoader spl(p, "Axioma");
  1412. if (spl.ok())
  1413. {
  1414. p->addModel(modelTheBifurcator);
  1415. p->addModel(modelTesseract);
  1416. p->addModel(modelIkeda);
  1417. p->addModel(modelRhodonea);
  1418. }
  1419. }
  1420. static void initStatic__Bacon()
  1421. {
  1422. Plugin* const p = new Plugin;
  1423. pluginInstance__Bacon = p;
  1424. const StaticPluginLoader spl(p, "BaconPlugs");
  1425. if (spl.ok())
  1426. {
  1427. p->addModel(modelHarMoNee);
  1428. p->addModel(modelGlissinator);
  1429. p->addModel(modelPolyGnome);
  1430. p->addModel(modelQuantEyes);
  1431. p->addModel(modelSampleDelay);
  1432. p->addModel(modelChipNoise);
  1433. p->addModel(modelChipWaves);
  1434. p->addModel(modelChipYourWave);
  1435. p->addModel(modelOpen303);
  1436. p->addModel(modelKarplusStrongPoly);
  1437. p->addModel(modelALingADing);
  1438. p->addModel(modelBitulator);
  1439. p->addModel(modelPolyGenerator);
  1440. p->addModel(modelLintBuddy);
  1441. p->addModel(modelLuckyHold);
  1442. }
  1443. }
  1444. static void initStatic__Befaco()
  1445. {
  1446. Plugin* const p = new Plugin;
  1447. pluginInstance__Befaco = p;
  1448. const StaticPluginLoader spl(p, "Befaco");
  1449. if (spl.ok())
  1450. {
  1451. #define modelADSR modelBefacoADSR
  1452. #define modelMixer modelBefacoMixer
  1453. #define modelBurst modelBefacoBurst
  1454. p->addModel(modelEvenVCO);
  1455. p->addModel(modelRampage);
  1456. p->addModel(modelABC);
  1457. p->addModel(modelSpringReverb);
  1458. p->addModel(modelMixer);
  1459. p->addModel(modelSlewLimiter);
  1460. p->addModel(modelDualAtenuverter);
  1461. p->addModel(modelPercall);
  1462. p->addModel(modelHexmixVCA);
  1463. p->addModel(modelChoppingKinky);
  1464. p->addModel(modelKickall);
  1465. p->addModel(modelSamplingModulator);
  1466. p->addModel(modelMorphader);
  1467. p->addModel(modelADSR);
  1468. p->addModel(modelSTMix);
  1469. p->addModel(modelMuxlicer);
  1470. p->addModel(modelMex);
  1471. p->addModel(modelNoisePlethora);
  1472. p->addModel(modelChannelStrip);
  1473. p->addModel(modelPonyVCO);
  1474. p->addModel(modelMotionMTR);
  1475. p->addModel(modelBurst);
  1476. p->addModel(modelVoltio);
  1477. p->addModel(modelOctaves);
  1478. #undef modelADSR
  1479. #undef modelMixer
  1480. #undef modelBurst
  1481. // NOTE disabled in Cardinal due to MIDI usage
  1482. spl.removeModule("MidiThingV2");
  1483. }
  1484. }
  1485. static void initStatic__Bidoo()
  1486. {
  1487. Plugin* const p = new Plugin;
  1488. pluginInstance__Bidoo = p;
  1489. const StaticPluginLoader spl(p, "Bidoo");
  1490. if (spl.ok())
  1491. {
  1492. p->addModel(modelTOCANTE);
  1493. p->addModel(modelLATE);
  1494. p->addModel(modelDIKTAT);
  1495. p->addModel(modelDTROY);
  1496. p->addModel(modelBORDL);
  1497. p->addModel(modelZOUMAI);
  1498. p->addModel(modelZOUMAIExpander);
  1499. p->addModel(modelENCORE);
  1500. p->addModel(modelENCOREExpander);
  1501. p->addModel(modelMU);
  1502. p->addModel(modelCHUTE);
  1503. p->addModel(modelLOURDE);
  1504. p->addModel(modelDILEMO);
  1505. p->addModel(modelLAMBDA);
  1506. p->addModel(modelBANCAU);
  1507. p->addModel(modelACNE);
  1508. p->addModel(modelMS);
  1509. p->addModel(modelDUKE);
  1510. p->addModel(modelMOIRE);
  1511. p->addModel(modelPILOT);
  1512. p->addModel(modelHUITRE);
  1513. p->addModel(modelOUAIVE);
  1514. p->addModel(modelEDSAROS);
  1515. p->addModel(modelPOUPRE);
  1516. p->addModel(modelMAGMA);
  1517. p->addModel(modelOAI);
  1518. p->addModel(modelCANARD);
  1519. p->addModel(modelEMILE);
  1520. p->addModel(modelFORK);
  1521. p->addModel(modelTIARE);
  1522. p->addModel(modelLIMONADE);
  1523. p->addModel(modelLIMBO);
  1524. p->addModel(modelPERCO);
  1525. p->addModel(modelBAFIS);
  1526. p->addModel(modelBAR);
  1527. p->addModel(modelMINIBAR);
  1528. p->addModel(modelZINC);
  1529. p->addModel(modelFREIN);
  1530. p->addModel(modelHCTIP);
  1531. p->addModel(modelSPORE);
  1532. p->addModel(modelDFUZE);
  1533. p->addModel(modelREI);
  1534. p->addModel(modelRABBIT);
  1535. p->addModel(modelBISTROT);
  1536. p->addModel(modelSIGMA);
  1537. p->addModel(modelFLAME);
  1538. p->addModel(modelVOID);
  1539. // NOTE disabled in Cardinal due to curl usage
  1540. // p->addModel(modelANTN);
  1541. spl.removeModule("antN");
  1542. }
  1543. }
  1544. static void initStatic__Biset()
  1545. {
  1546. Plugin* const p = new Plugin;
  1547. pluginInstance__Biset = p;
  1548. const StaticPluginLoader spl(p, "Biset");
  1549. if (spl.ok())
  1550. {
  1551. #define modelBlank modelBisetBlank
  1552. #define modelTree modelBisetTree
  1553. p->addModel(modelTracker);
  1554. p->addModel(modelTrackerSynth);
  1555. p->addModel(modelTrackerDrum);
  1556. p->addModel(modelTrackerClock);
  1557. p->addModel(modelTrackerPhase);
  1558. p->addModel(modelTrackerQuant);
  1559. p->addModel(modelTrackerState);
  1560. p->addModel(modelTrackerControl);
  1561. p->addModel(modelRegex);
  1562. p->addModel(modelRegexCondensed);
  1563. p->addModel(modelRegexExp);
  1564. p->addModel(modelTree);
  1565. p->addModel(modelTreeSeed);
  1566. p->addModel(modelGbu);
  1567. p->addModel(modelPkm);
  1568. p->addModel(modelIgc);
  1569. p->addModel(modelOmega3);
  1570. p->addModel(modelOmega6);
  1571. p->addModel(modelSegfault);
  1572. p->addModel(modelBlank);
  1573. #undef modelBlank
  1574. #undef modelTree
  1575. }
  1576. }
  1577. static void initStatic__BogaudioModules()
  1578. {
  1579. Plugin* const p = new Plugin;
  1580. pluginInstance__BogaudioModules = p;
  1581. const StaticPluginLoader spl(p, "BogaudioModules");
  1582. if (spl.ok())
  1583. {
  1584. // Make sure to use dark theme as default
  1585. Skins& skins(Skins::skins());
  1586. skins._default = settings::preferDarkPanels ? "dark" : "light";
  1587. #define modelADSR modelBogaudioADSR
  1588. #define modelLFO modelBogaudioLFO
  1589. #define modelNoise modelBogaudioNoise
  1590. #define modelVCA modelBogaudioVCA
  1591. #define modelVCF modelBogaudioVCF
  1592. #define modelVCO modelBogaudioVCO
  1593. p->addModel(modelVCO);
  1594. p->addModel(modelLVCO);
  1595. p->addModel(modelSine);
  1596. p->addModel(modelPulse);
  1597. p->addModel(modelXCO);
  1598. p->addModel(modelAdditator);
  1599. p->addModel(modelFMOp);
  1600. p->addModel(modelChirp);
  1601. p->addModel(modelLFO);
  1602. p->addModel(modelLLFO);
  1603. p->addModel(modelFourFO);
  1604. p->addModel(modelEightFO);
  1605. p->addModel(modelVCF);
  1606. p->addModel(modelLVCF);
  1607. p->addModel(modelFFB);
  1608. p->addModel(modelEQ);
  1609. p->addModel(modelEQS);
  1610. p->addModel(modelLPG);
  1611. p->addModel(modelLLPG);
  1612. p->addModel(modelMegaGate);
  1613. p->addModel(modelPEQ);
  1614. p->addModel(modelPEQ6);
  1615. p->addModel(modelPEQ6XF);
  1616. p->addModel(modelPEQ14);
  1617. p->addModel(modelPEQ14XF);
  1618. p->addModel(modelDADSRH);
  1619. p->addModel(modelDADSRHPlus);
  1620. p->addModel(modelShaper);
  1621. p->addModel(modelShaperPlus);
  1622. p->addModel(modelAD);
  1623. p->addModel(modelASR);
  1624. p->addModel(modelADSR);
  1625. p->addModel(modelVish);
  1626. p->addModel(modelFollow);
  1627. p->addModel(modelDGate);
  1628. p->addModel(modelRGate);
  1629. p->addModel(modelEdge);
  1630. p->addModel(modelNoise);
  1631. p->addModel(modelSampleHold);
  1632. p->addModel(modelWalk2);
  1633. p->addModel(modelWalk);
  1634. p->addModel(modelMix8);
  1635. p->addModel(modelMix8x);
  1636. p->addModel(modelMix4);
  1637. p->addModel(modelMix4x);
  1638. p->addModel(modelMix2);
  1639. p->addModel(modelMix1);
  1640. p->addModel(modelVCM);
  1641. p->addModel(modelMute8);
  1642. p->addModel(modelPan);
  1643. p->addModel(modelXFade);
  1644. p->addModel(modelVCA);
  1645. p->addModel(modelVCAmp);
  1646. p->addModel(modelVelo);
  1647. p->addModel(modelUMix);
  1648. p->addModel(modelMumix);
  1649. p->addModel(modelMatrix81);
  1650. p->addModel(modelMatrix18);
  1651. p->addModel(modelMatrix44);
  1652. p->addModel(modelMatrix44Cvm);
  1653. p->addModel(modelMatrix88);
  1654. p->addModel(modelMatrix88Cv);
  1655. p->addModel(modelMatrix88M);
  1656. p->addModel(modelSwitch81);
  1657. p->addModel(modelSwitch18);
  1658. p->addModel(modelSwitch44);
  1659. p->addModel(modelSwitch88);
  1660. p->addModel(modelSwitch1616);
  1661. p->addModel(modelAMRM);
  1662. p->addModel(modelPressor);
  1663. p->addModel(modelClpr);
  1664. p->addModel(modelLmtr);
  1665. p->addModel(modelNsgt);
  1666. p->addModel(modelCmpDist);
  1667. p->addModel(modelOneEight);
  1668. p->addModel(modelEightOne);
  1669. p->addModel(modelAddrSeq);
  1670. p->addModel(modelAddrSeqX);
  1671. p->addModel(modelPgmr);
  1672. p->addModel(modelPgmrX);
  1673. p->addModel(modelVU);
  1674. p->addModel(modelAnalyzer);
  1675. p->addModel(modelAnalyzerXL);
  1676. p->addModel(modelRanalyzer);
  1677. p->addModel(modelDetune);
  1678. p->addModel(modelStack);
  1679. p->addModel(modelReftone);
  1680. p->addModel(modelMono);
  1681. p->addModel(modelArp);
  1682. p->addModel(modelAssign);
  1683. p->addModel(modelUnison);
  1684. p->addModel(modelPolyCon8);
  1685. p->addModel(modelPolyCon16);
  1686. p->addModel(modelPolyOff8);
  1687. p->addModel(modelPolyOff16);
  1688. p->addModel(modelPolyMult);
  1689. p->addModel(modelBool);
  1690. p->addModel(modelCmp);
  1691. p->addModel(modelCVD);
  1692. p->addModel(modelFlipFlop);
  1693. p->addModel(modelInv);
  1694. p->addModel(modelManual);
  1695. p->addModel(modelFourMan);
  1696. p->addModel(modelMult);
  1697. p->addModel(modelOffset);
  1698. p->addModel(modelSlew);
  1699. p->addModel(modelSums);
  1700. p->addModel(modelSwitch);
  1701. p->addModel(modelLgsw);
  1702. p->addModel(modelBlank3);
  1703. p->addModel(modelBlank6);
  1704. #ifdef EXPERIMENTAL
  1705. p->addModel(modelLag);
  1706. p->addModel(modelPEQ14XR);
  1707. p->addModel(modelPEQ14XV);
  1708. #endif
  1709. #ifdef TEST
  1710. p->addModel(modelTest);
  1711. p->addModel(modelTest2);
  1712. p->addModel(modelTestExpanderBase);
  1713. p->addModel(modelTestExpanderExtension);
  1714. p->addModel(modelTestGl);
  1715. p->addModel(modelTestVCF);
  1716. #endif
  1717. #undef modelADSR
  1718. #undef modelLFO
  1719. #undef modelNoise
  1720. #undef modelVCA
  1721. #undef modelVCF
  1722. #undef modelVCO
  1723. }
  1724. }
  1725. static void initStatic__CatroModulo()
  1726. {
  1727. Plugin* const p = new Plugin;
  1728. pluginInstance__CatroModulo = p;
  1729. const StaticPluginLoader spl(p, "CatroModulo");
  1730. if (spl.ok())
  1731. {
  1732. p->addModel(modelCM1Module);
  1733. p->addModel(modelCM2Module);
  1734. p->addModel(modelCM3Module);
  1735. p->addModel(modelCM4Module);
  1736. p->addModel(modelCM5Module);
  1737. p->addModel(modelCM6Module);
  1738. p->addModel(modelCM7Module);
  1739. p->addModel(modelCM8Module);
  1740. p->addModel(modelCM9Module);
  1741. p->addModel(modelCM10Module);
  1742. }
  1743. }
  1744. static void initStatic__cf()
  1745. {
  1746. Plugin* const p = new Plugin;
  1747. pluginInstance__cf = p;
  1748. const StaticPluginLoader spl(p, "cf");
  1749. if (spl.ok())
  1750. {
  1751. p->addModel(modelMETRO);
  1752. p->addModel(modelEACH);
  1753. p->addModel(modeltrSEQ);
  1754. p->addModel(modelLEDSEQ);
  1755. p->addModel(modelL3DS3Q);
  1756. p->addModel(modelSLIDERSEQ);
  1757. p->addModel(modelPLAYER);
  1758. p->addModel(modelPLAY);
  1759. p->addModel(modelMONO);
  1760. p->addModel(modelSTEREO);
  1761. p->addModel(modelSUB);
  1762. p->addModel(modelMASTER);
  1763. p->addModel(modelVARIABLE);
  1764. p->addModel(modelALGEBRA);
  1765. p->addModel(modelFUNKTION);
  1766. p->addModel(modelCHOKE);
  1767. p->addModel(modelFOUR);
  1768. p->addModel(modelSTEPS);
  1769. p->addModel(modelPEAK);
  1770. p->addModel(modelCUTS);
  1771. p->addModel(modelBUFFER);
  1772. p->addModel(modelDISTO);
  1773. p->addModel(modelCUBE);
  1774. p->addModel(modelPATCH);
  1775. p->addModel(modelLABEL);
  1776. p->addModel(modelDAVE);
  1777. }
  1778. }
  1779. static void initStatic__ChowDSP()
  1780. {
  1781. Plugin* const p = new Plugin;
  1782. pluginInstance__ChowDSP = p;
  1783. const StaticPluginLoader spl(p, "ChowDSP");
  1784. if (spl.ok())
  1785. {
  1786. p->addModel(modelChowTape);
  1787. p->addModel(modelChowPhaserFeedback);
  1788. p->addModel(modelChowPhaserMod);
  1789. p->addModel(modelChowFDN);
  1790. p->addModel(modelChowRNN);
  1791. p->addModel(modelChowModal);
  1792. p->addModel(modelChowDer);
  1793. p->addModel(modelWarp);
  1794. p->addModel(modelWerner);
  1795. p->addModel(modelCredit);
  1796. p->addModel(modelChowPulse);
  1797. p->addModel(modelChowTapeCompression);
  1798. p->addModel(modelChowTapeChew);
  1799. p->addModel(modelChowTapeDegrade);
  1800. p->addModel(modelChowTapeLoss);
  1801. p->addModel(modelChowChorus);
  1802. }
  1803. }
  1804. static void initStatic__Computerscare()
  1805. {
  1806. Plugin* const p = new Plugin;
  1807. pluginInstance__Computerscare = p;
  1808. const StaticPluginLoader spl(p, "Computerscare");
  1809. if (spl.ok())
  1810. {
  1811. p->addModel(modelComputerscarePatchSequencer);
  1812. p->addModel(modelComputerscareDebug);
  1813. p->addModel(modelComputerscareLaundrySoup);
  1814. p->addModel(modelComputerscareILoveCookies);
  1815. p->addModel(modelComputerscareOhPeas);
  1816. p->addModel(modelComputerscareHorseADoodleDoo);
  1817. p->addModel(modelComputerscareKnolyPobs);
  1818. p->addModel(modelComputerscareBolyPuttons);
  1819. p->addModel(modelComputerscareRolyPouter);
  1820. p->addModel(modelComputerscareSolyPequencer);
  1821. p->addModel(modelComputerscareTolyPools);
  1822. p->addModel(modelComputerscareMolyPatrix);
  1823. p->addModel(modelComputerscareGolyPenerator);
  1824. p->addModel(modelComputerscareFolyPace);
  1825. p->addModel(modelComputerscareStolyFickPigure);
  1826. p->addModel(modelComputerscareBlank);
  1827. p->addModel(modelComputerscareBlankExpander);
  1828. }
  1829. }
  1830. static void initStatic__CVfunk()
  1831. {
  1832. Plugin* const p = new Plugin;
  1833. pluginInstance__CVfunk = p;
  1834. const StaticPluginLoader spl(p, "CVfunk");
  1835. if (spl.ok())
  1836. {
  1837. #define modelSteps modelCVfunkSteps
  1838. p->addModel(modelSteps);
  1839. p->addModel(modelEnvelopeArray);
  1840. p->addModel(modelPentaSequencer);
  1841. p->addModel(modelImpulseController);
  1842. p->addModel(modelSignals);
  1843. p->addModel(modelRanges);
  1844. p->addModel(modelHexMod);
  1845. p->addModel(modelCollatz);
  1846. p->addModel(modelStrings);
  1847. p->addModel(modelMagnets);
  1848. p->addModel(modelOuros);
  1849. p->addModel(modelPressedDuck);
  1850. p->addModel(modelFlowerPatch);
  1851. p->addModel(modelSyncro);
  1852. p->addModel(modelNona);
  1853. p->addModel(modelDecima);
  1854. p->addModel(modelMorta);
  1855. #undef modelSteps
  1856. }
  1857. }
  1858. static void initStatic__dBiz()
  1859. {
  1860. Plugin* const p = new Plugin;
  1861. pluginInstance__dBiz = p;
  1862. const StaticPluginLoader spl(p, "dBiz");
  1863. if (spl.ok())
  1864. {
  1865. #define modelChord modeldBizChord
  1866. #define modelDivider modeldBizDivider
  1867. #define modelFourSeq modeldBizFourSeq
  1868. #define modelVCA4 modeldBizVCA4
  1869. p->addModel(modelNavControl);
  1870. p->addModel(modelBench);
  1871. p->addModel(modelContorno);
  1872. //p->addModel(modelContornoMK2);
  1873. p->addModel(modelTranspose);
  1874. p->addModel(modelUtility);
  1875. p->addModel(modelChord);
  1876. p->addModel(modelBene);
  1877. p->addModel(modelBenePads);
  1878. p->addModel(modelPerfMixer);
  1879. p->addModel(modelDrMix);
  1880. p->addModel(modelPerfMixer4);
  1881. p->addModel(modelVCA4);
  1882. p->addModel(modelVCA530);
  1883. p->addModel(modelRemix);
  1884. p->addModel(modelSmixer);
  1885. p->addModel(modelVerbo);
  1886. p->addModel(modelDVCO);
  1887. p->addModel(modelDAOSC);
  1888. p->addModel(modelTROSC);
  1889. p->addModel(modelTROSCMK2);
  1890. p->addModel(modelSuHa);
  1891. p->addModel(modelSuHaMK2);
  1892. p->addModel(modelFourSeq);
  1893. p->addModel(modelDivider);
  1894. p->addModel(modelUtil2);
  1895. p->addModel(modelSmorph);
  1896. p->addModel(modelBigSmorph);
  1897. p->addModel(modelSPan);
  1898. p->addModel(modelQuePasa);
  1899. p->addModel(modelDualFilter);
  1900. p->addModel(modelOrder);
  1901. p->addModel(modelDualMatrix);
  1902. #undef modelChord
  1903. #undef modelDivider
  1904. #undef modelFourSeq
  1905. #undef modelVCA4
  1906. }
  1907. }
  1908. static void initStatic__DHE()
  1909. {
  1910. Plugin* const p = new Plugin;
  1911. pluginInstance__DHE = p;
  1912. const StaticPluginLoader spl(p, "DHE-Modules");
  1913. if (spl.ok())
  1914. {
  1915. dhe::blossom::init(p);
  1916. dhe::buttons::init(p);
  1917. dhe::cubic::init(p);
  1918. dhe::curve_sequencer::init(p);
  1919. dhe::envelope::init(p);
  1920. dhe::func::init(p);
  1921. dhe::fuzzy_logic::init(p);
  1922. dhe::gator::init(p);
  1923. dhe::ranger::init(p);
  1924. dhe::scannibal::init(p);
  1925. dhe::sequencizer::init(p);
  1926. dhe::swave::init(p);
  1927. dhe::tapers::init(p);
  1928. dhe::truth::init(p);
  1929. dhe::xycloid::init(p);
  1930. }
  1931. }
  1932. static void initStatic__DrumKit()
  1933. {
  1934. Plugin* const p = new Plugin;
  1935. pluginInstance__DrumKit = p;
  1936. const StaticPluginLoader spl(p, "DrumKit");
  1937. if (spl.ok())
  1938. {
  1939. setupSamples();
  1940. p->addModel(modelBD9);
  1941. p->addModel(modelSnare);
  1942. p->addModel(modelClosedHH);
  1943. p->addModel(modelOpenHH);
  1944. p->addModel(modelDMX);
  1945. p->addModel(modelCR78);
  1946. p->addModel(modelSBD);
  1947. p->addModel(modelGnome);
  1948. p->addModel(modelSequencer);
  1949. p->addModel(modelTomi);
  1950. p->addModel(modelBaronial);
  1951. p->addModel(modelMarionette);
  1952. }
  1953. }
  1954. static void initStatic__EnigmaCurry()
  1955. {
  1956. Plugin* const p = new Plugin;
  1957. pluginInstance__EnigmaCurry = p;
  1958. const StaticPluginLoader spl(p, "EnigmaCurry");
  1959. if (spl.ok())
  1960. {
  1961. #define modelPulse modelEnigmaCurryPulse
  1962. p->addModel(modelTransport);
  1963. p->addModel(modelLatch);
  1964. p->addModel(modelPulse);
  1965. p->addModel(modelRange);
  1966. p->addModel(modelNegativeHarmony);
  1967. #undef modelPulse
  1968. }
  1969. }
  1970. static void initStatic__ESeries()
  1971. {
  1972. Plugin* const p = new Plugin;
  1973. pluginInstance__ESeries = p;
  1974. const StaticPluginLoader spl(p, "ESeries");
  1975. if (spl.ok())
  1976. {
  1977. p->addModel(modelE340);
  1978. }
  1979. }
  1980. static void initStatic__ExpertSleepersEncoders()
  1981. {
  1982. Plugin* const p = new Plugin;
  1983. pluginInstance__ExpertSleepersEncoders = p;
  1984. const StaticPluginLoader spl(p, "ExpertSleepers-Encoders");
  1985. if (spl.ok())
  1986. {
  1987. p->addModel(model8GT);
  1988. p->addModel(model8CV);
  1989. p->addModel(modelES40);
  1990. p->addModel(modelES5);
  1991. p->addModel(modelSMUX);
  1992. p->addModel(modelCalibrator);
  1993. }
  1994. }
  1995. static void initStatic__Extratone()
  1996. {
  1997. Plugin* const p = new Plugin;
  1998. pluginInstance__Extratone = p;
  1999. const StaticPluginLoader spl(p, "Extratone");
  2000. if (spl.ok())
  2001. {
  2002. p->addModel(modelModulo);
  2003. p->addModel(modelMesoglea);
  2004. p->addModel(modelMesoglea2);
  2005. p->addModel(modelOpabinia);
  2006. p->addModel(modelSplitterburst);
  2007. p->addModel(modelPuzzlebox);
  2008. p->addModel(modelDarwinism);
  2009. // p->addModel(modelHalluciMemory);
  2010. p->addModel(modelIchneumonid);
  2011. p->addModel(modelMeganeura);
  2012. p->addModel(modelPureneura);
  2013. p->addModel(modelMesohyl);
  2014. p->addModel(modelXtrtnBlank);
  2015. }
  2016. }
  2017. static void initStatic__FehlerFabrik()
  2018. {
  2019. Plugin* const p = new Plugin;
  2020. pluginInstance__FehlerFabrik = p;
  2021. const StaticPluginLoader spl(p, "FehlerFabrik");
  2022. if (spl.ok())
  2023. {
  2024. p->addModel(modelPSIOP);
  2025. p->addModel(modelPlanck);
  2026. p->addModel(modelLuigi);
  2027. p->addModel(modelAspect);
  2028. p->addModel(modelMonte);
  2029. p->addModel(modelArpanet);
  2030. p->addModel(modelSigma);
  2031. p->addModel(modelFax);
  2032. p->addModel(modelRasoir);
  2033. p->addModel(modelChi);
  2034. p->addModel(modelNova);
  2035. p->addModel(modelLilt);
  2036. p->addModel(modelBotzinger);
  2037. }
  2038. }
  2039. static void initStatic__forsitan()
  2040. {
  2041. Plugin* const p = new Plugin;
  2042. pluginInstance__forsitan = p;
  2043. const StaticPluginLoader spl(p, "forsitan-modulare");
  2044. if (spl.ok())
  2045. {
  2046. p->addModel(alea);
  2047. p->addModel(interea);
  2048. p->addModel(cumuli);
  2049. p->addModel(deinde);
  2050. p->addModel(pavo);
  2051. }
  2052. }
  2053. static void initStatic__GlueTheGiant()
  2054. {
  2055. Plugin* const p = new Plugin;
  2056. pluginInstance__GlueTheGiant = p;
  2057. const StaticPluginLoader spl(p, "GlueTheGiant");
  2058. if (spl.ok())
  2059. {
  2060. p->addModel(modelGigBus);
  2061. p->addModel(modelMiniBus);
  2062. p->addModel(modelSchoolBus);
  2063. p->addModel(modelMetroCityBus);
  2064. p->addModel(modelBusDepot);
  2065. p->addModel(modelBusRoute);
  2066. p->addModel(modelRoad);
  2067. p->addModel(modelEnterBus);
  2068. p->addModel(modelExitBus);
  2069. }
  2070. }
  2071. static void initStatic__GoodSheperd()
  2072. {
  2073. Plugin* const p = new Plugin;
  2074. pluginInstance__GoodSheperd = p;
  2075. const StaticPluginLoader spl(p, "GoodSheperd");
  2076. if (spl.ok())
  2077. {
  2078. p->addModel(modelHurdle);
  2079. p->addModel(modelSEQ3st);
  2080. p->addModel(modelStable16);
  2081. p->addModel(modelStall);
  2082. p->addModel(modelSwitch1);
  2083. p->addModel(modelSeqtrol);
  2084. }
  2085. }
  2086. static void initStatic__GrandeModular()
  2087. {
  2088. Plugin* const p = new Plugin;
  2089. pluginInstance__GrandeModular = p;
  2090. const StaticPluginLoader spl(p, "GrandeModular");
  2091. if (spl.ok())
  2092. {
  2093. p->addModel(modelClip);
  2094. p->addModel(modelCompare3);
  2095. p->addModel(modelLFO3);
  2096. p->addModel(modelLFO4);
  2097. p->addModel(modelLogic);
  2098. p->addModel(modelMerge8);
  2099. p->addModel(modelMergeSplit4);
  2100. p->addModel(modelMicrotonalChords);
  2101. p->addModel(modelMicrotonalNotes);
  2102. p->addModel(modelNoteMT);
  2103. p->addModel(modelPeak);
  2104. p->addModel(modelPolyMergeResplit);
  2105. p->addModel(modelPolySplit);
  2106. p->addModel(modelPush);
  2107. p->addModel(modelQuant);
  2108. p->addModel(modelQuantIntervals);
  2109. p->addModel(modelQuantMT);
  2110. p->addModel(modelSampleDelays);
  2111. p->addModel(modelScale);
  2112. p->addModel(modelSplit8);
  2113. p->addModel(modelTails);
  2114. p->addModel(modelTails4);
  2115. p->addModel(modelVarSampleDelays);
  2116. p->addModel(modelVCA3);
  2117. p->addModel(modelVCA4);
  2118. }
  2119. }
  2120. static void initStatic__H4N4()
  2121. {
  2122. Plugin* const p = new Plugin;
  2123. pluginInstance__H4N4 = p;
  2124. const StaticPluginLoader spl(p, "h4n4-modules");
  2125. if (spl.ok())
  2126. {
  2127. p->addModel(modelXenQnt);
  2128. }
  2129. }
  2130. static void initStatic__HamptonHarmonics()
  2131. {
  2132. Plugin* const p = new Plugin;
  2133. pluginInstance__HamptonHarmonics = p;
  2134. const StaticPluginLoader spl(p, "HamptonHarmonics");
  2135. if (spl.ok())
  2136. {
  2137. #define modelArp modelHamptonHarmonicsArp
  2138. #define modelProgress modelHamptonHarmonicsProgress
  2139. p->addModel(modelArp);
  2140. p->addModel(modelProgress);
  2141. #undef modelProgress
  2142. #undef modelArp
  2143. }
  2144. }
  2145. static void initStatic__HetrickCV()
  2146. {
  2147. Plugin* const p = new Plugin;
  2148. pluginInstance__HetrickCV = p;
  2149. const StaticPluginLoader spl(p, "HetrickCV");
  2150. if (spl.ok())
  2151. {
  2152. #define modelASR modelHetrickCVASR
  2153. #define modelBlankPanel modelHetrickCVBlankPanel
  2154. #define modelFlipFlop modelHetrickCVFlipFlop
  2155. #define modelMidSide modelHetrickCVMidSide
  2156. #define modelMinMax modelHetrickCVMinMax
  2157. #define PanelBaseWidget HetrickCVPanelBaseWidget
  2158. #define InverterWidget HetrickCVInverterWidget
  2159. p->addModel(modelTwoToFour);
  2160. p->addModel(modelAnalogToDigital);
  2161. p->addModel(modelASR);
  2162. p->addModel(modelBinaryGate);
  2163. p->addModel(modelBinaryNoise);
  2164. p->addModel(modelBitshift);
  2165. p->addModel(modelBlankPanel);
  2166. p->addModel(modelBoolean3);
  2167. p->addModel(modelChaos1Op);
  2168. p->addModel(modelChaos2Op);
  2169. p->addModel(modelChaos3Op);
  2170. p->addModel(modelChaoticAttractors);
  2171. p->addModel(modelClockedNoise);
  2172. p->addModel(modelComparator);
  2173. p->addModel(modelContrast);
  2174. p->addModel(modelCrackle);
  2175. p->addModel(modelDataCompander);
  2176. p->addModel(modelDelta);
  2177. p->addModel(modelDigitalToAnalog);
  2178. p->addModel(modelDust);
  2179. p->addModel(modelExponent);
  2180. p->addModel(modelFBSineChaos);
  2181. p->addModel(modelFlipFlop);
  2182. p->addModel(modelFlipPan);
  2183. p->addModel(modelGateDelay);
  2184. p->addModel(modelGateJunction);
  2185. p->addModel(modelGateJunctionExp);
  2186. p->addModel(modelGingerbread);
  2187. p->addModel(modelLogicCombine);
  2188. p->addModel(modelMidSide);
  2189. p->addModel(modelMinMax);
  2190. p->addModel(modelPhaseDrivenSequencer);
  2191. p->addModel(modelPhaseDrivenSequencer32);
  2192. p->addModel(modelPhasorAnalyzer);
  2193. p->addModel(modelPhasorBurstGen);
  2194. p->addModel(modelPhasorDivMult);
  2195. p->addModel(modelPhasorEuclidean);
  2196. p->addModel(modelPhasorGates);
  2197. p->addModel(modelPhasorGates32);
  2198. p->addModel(modelPhasorGates64);
  2199. p->addModel(modelPhasorGen);
  2200. p->addModel(modelPhasorGeometry);
  2201. p->addModel(modelPhasorHumanizer);
  2202. p->addModel(modelPhasorMixer);
  2203. p->addModel(modelPhasorOctature);
  2204. p->addModel(modelPhasorQuadrature);
  2205. p->addModel(modelPhasorRandom);
  2206. p->addModel(modelPhasorRanger);
  2207. p->addModel(modelPhasorReset);
  2208. p->addModel(modelPhasorRhythmGroup);
  2209. p->addModel(modelPhasorShape);
  2210. p->addModel(modelPhasorShift);
  2211. p->addModel(modelPhasorStutter);
  2212. p->addModel(modelPhasorSubstepShape);
  2213. p->addModel(modelPhasorSwing);
  2214. p->addModel(modelPhasorTimetable);
  2215. p->addModel(modelPhasorToClock);
  2216. p->addModel(modelPhasorToLFO);
  2217. p->addModel(modelPhasorToWaveforms);
  2218. p->addModel(modelProbability);
  2219. p->addModel(modelRandomGates);
  2220. p->addModel(modelRotator);
  2221. p->addModel(modelRungler);
  2222. p->addModel(modelScanner);
  2223. p->addModel(modelVectorMix);
  2224. p->addModel(modelWaveshape);
  2225. p->addModel(modelXYToPolar);
  2226. #undef modelASR
  2227. #undef modelBlankPanel
  2228. #undef modelFlipFlop
  2229. #undef modelMidSide
  2230. #undef modelMinMax
  2231. #undef PanelBaseWidget
  2232. #undef InverterWidget
  2233. }
  2234. }
  2235. static void initStatic__ImpromptuModular()
  2236. {
  2237. Plugin* const p = new Plugin;
  2238. pluginInstance__ImpromptuModular = p;
  2239. const StaticPluginLoader spl(p, "ImpromptuModular");
  2240. if (spl.ok())
  2241. {
  2242. p->addModel(modelAdaptiveQuantizer);
  2243. p->addModel(modelBigButtonSeq);
  2244. p->addModel(modelBigButtonSeq2);
  2245. p->addModel(modelChordKey);
  2246. p->addModel(modelChordKeyExpander);
  2247. p->addModel(modelClocked);
  2248. p->addModel(modelClockedExpander);
  2249. p->addModel(modelClkd);
  2250. p->addModel(modelCvPad);
  2251. p->addModel(modelFoundry);
  2252. p->addModel(modelFoundryExpander);
  2253. p->addModel(modelFourView);
  2254. p->addModel(modelGateSeq64);
  2255. p->addModel(modelGateSeq64Expander);
  2256. p->addModel(modelHotkey);
  2257. p->addModel(modelPart);
  2258. p->addModel(modelPhraseSeq16);
  2259. p->addModel(modelPhraseSeq32);
  2260. p->addModel(modelPhraseSeqExpander);
  2261. p->addModel(modelProbKey);
  2262. p->addModel(modelSemiModularSynth);
  2263. p->addModel(modelSygen);
  2264. p->addModel(modelTact);
  2265. p->addModel(modelTact1);
  2266. p->addModel(modelTactG);
  2267. p->addModel(modelTwelveKey);
  2268. p->addModel(modelVariations);
  2269. p->addModel(modelWriteSeq32);
  2270. p->addModel(modelWriteSeq64);
  2271. p->addModel(modelBlankPanel);
  2272. }
  2273. }
  2274. static void initStatic__ihtsyn()
  2275. {
  2276. Plugin* const p = new Plugin;
  2277. pluginInstance__ihtsyn = p;
  2278. const StaticPluginLoader spl(p, "ihtsyn");
  2279. if (spl.ok())
  2280. {
  2281. p->addModel(modelPitchMangler);
  2282. p->addModel(modelTwistedVerb);
  2283. p->addModel(modelHiVerb);
  2284. p->addModel(modelMVerb);
  2285. }
  2286. }
  2287. static void initStatic__JW()
  2288. {
  2289. Plugin* const p = new Plugin;
  2290. pluginInstance__JW = p;
  2291. const StaticPluginLoader spl(p, "JW-Modules");
  2292. if (spl.ok())
  2293. {
  2294. #define modelQuantizer modelJWQuantizer
  2295. p->addModel(modelAdd5);
  2296. p->addModel(modelBouncyBalls);
  2297. p->addModel(modelCat);
  2298. p->addModel(modelTree);
  2299. p->addModel(modelFullScope);
  2300. p->addModel(modelGridSeq);
  2301. p->addModel(modelEightSeq);
  2302. p->addModel(modelDivSeq);
  2303. p->addModel(modelMinMax);
  2304. p->addModel(modelNoteSeq);
  2305. p->addModel(modelNoteSeqFu);
  2306. p->addModel(modelNoteSeq16);
  2307. p->addModel(modelTrigs);
  2308. p->addModel(modelOnePattern);
  2309. p->addModel(modelPatterns);
  2310. p->addModel(modelQuantizer);
  2311. p->addModel(modelSimpleClock);
  2312. p->addModel(modelD1v1de);
  2313. p->addModel(modelPres1t);
  2314. p->addModel(modelThingThing);
  2315. p->addModel(modelWavHead);
  2316. p->addModel(modelXYPad);
  2317. p->addModel(modelBlankPanel1hp);
  2318. p->addModel(modelBlankPanelSmall);
  2319. p->addModel(modelBlankPanelMedium);
  2320. p->addModel(modelBlankPanelLarge);
  2321. p->addModel(modelCoolBreeze);
  2322. p->addModel(modelPete);
  2323. #ifndef STATIC_BUILD
  2324. p->addModel(modelStr1ker);
  2325. #else
  2326. spl.removeModule("Str1ker");
  2327. #endif
  2328. #undef modelQuantizer
  2329. }
  2330. }
  2331. static void initStatic__kocmoc()
  2332. {
  2333. Plugin* const p = new Plugin;
  2334. pluginInstance__kocmoc= p;
  2335. const StaticPluginLoader spl(p, "kocmoc");
  2336. if (spl.ok())
  2337. {
  2338. p->addModel(modelSVF_1);
  2339. p->addModel(modelTRG);
  2340. p->addModel(modelLADR);
  2341. p->addModel(modelOP);
  2342. p->addModel(modelPHASR);
  2343. p->addModel(modelMUL);
  2344. p->addModel(modelSKF);
  2345. p->addModel(modelDDLY);
  2346. }
  2347. }
  2348. static void initStatic__LifeFormModular()
  2349. {
  2350. Plugin* const p = new Plugin;
  2351. pluginInstance__LifeFormModular= p;
  2352. const StaticPluginLoader spl(p, "LifeFormModular");
  2353. if (spl.ok())
  2354. {
  2355. p->addModel(modelTimeDiktat);
  2356. p->addModel(modelSequenceModeler);
  2357. p->addModel(modelPitchDiktat);
  2358. p->addModel(modelPitchIntegrator);
  2359. p->addModel(modelBurstIntegrator);
  2360. p->addModel(modelQuadModulator);
  2361. p->addModel(modelImpulseControl);
  2362. p->addModel(modelQuadSteppedOffset);
  2363. p->addModel(modelPercussiveVibration);
  2364. p->addModel(modelQuadUtility);
  2365. p->addModel(modelAdditiveVibration);
  2366. p->addModel(modelComplexOsc);
  2367. p->addModel(modelDriftgen);
  2368. }
  2369. }
  2370. static void initStatic__LilacLoop()
  2371. {
  2372. Plugin* const p = new Plugin;
  2373. pluginInstance__LilacLoop = p;
  2374. const StaticPluginLoader spl(p, "LilacLoop");
  2375. if (spl.ok())
  2376. {
  2377. p->addModel(modelLooperOne);
  2378. }
  2379. }
  2380. static void initStatic__LittleUtils()
  2381. {
  2382. Plugin* const p = new Plugin;
  2383. pluginInstance__LittleUtils = p;
  2384. const StaticPluginLoader spl(p, "LittleUtils");
  2385. if (spl.ok())
  2386. {
  2387. p->addModel(modelButtonModule);
  2388. p->addModel(modelPulseGenerator);
  2389. p->addModel(modelBias_Semitone);
  2390. p->addModel(modelMulDiv);
  2391. p->addModel(modelTeleportInModule);
  2392. p->addModel(modelTeleportOutModule);
  2393. }
  2394. }
  2395. static void initStatic__Lomas()
  2396. {
  2397. Plugin* const p = new Plugin;
  2398. pluginInstance__Lomas = p;
  2399. const StaticPluginLoader spl(p, "LomasModules");
  2400. if (spl.ok())
  2401. {
  2402. p->addModel(modelAdvancedSampler);
  2403. p->addModel(modelGateSequencer);
  2404. }
  2405. }
  2406. static void initStatic__Lyrae()
  2407. {
  2408. Plugin* const p = new Plugin;
  2409. pluginInstance__Lyrae = p;
  2410. const StaticPluginLoader spl(p, "LyraeModules");
  2411. if (spl.ok())
  2412. {
  2413. #define modelDelta modelLyraeDelta
  2414. p->addModel(modelSulafat);
  2415. p->addModel(modelGamma);
  2416. p->addModel(modelDelta);
  2417. p->addModel(modelVega);
  2418. p->addModel(modelBD383238);
  2419. p->addModel(modelZeta);
  2420. #undef modelDelta
  2421. }
  2422. }
  2423. static void initStatic__Meander()
  2424. {
  2425. Plugin* const p = new Plugin;
  2426. pluginInstance__Meander = p;
  2427. const StaticPluginLoader spl(p, "Meander");
  2428. if (spl.ok())
  2429. {
  2430. // for dark theme
  2431. panelTheme = 1;
  2432. p->addModel(modelMeander);
  2433. }
  2434. }
  2435. static void initStatic__MindMeld()
  2436. {
  2437. Plugin* const p = new Plugin;
  2438. pluginInstance__MindMeld = p;
  2439. const StaticPluginLoader spl(p, "MindMeldModular");
  2440. if (spl.ok())
  2441. {
  2442. p->addModel(modelPatchMaster);
  2443. p->addModel(modelPatchMasterBlank);
  2444. p->addModel(modelRouteMasterMono5to1);
  2445. p->addModel(modelRouteMasterStereo5to1);
  2446. p->addModel(modelRouteMasterMono1to5);
  2447. p->addModel(modelRouteMasterStereo1to5);
  2448. p->addModel(modelMasterChannel);
  2449. p->addModel(modelMeld);
  2450. p->addModel(modelUnmeld);
  2451. p->addModel(modelMSMelder);
  2452. p->addModel(modelEqMaster);
  2453. p->addModel(modelEqExpander);
  2454. p->addModel(modelBassMaster);
  2455. p->addModel(modelBassMasterJr);
  2456. p->addModel(modelShapeMaster);
  2457. p->addModel(modelMixMasterJr);
  2458. p->addModel(modelAuxExpanderJr);
  2459. p->addModel(modelMixMaster);
  2460. p->addModel(modelAuxExpander);
  2461. }
  2462. }
  2463. static void initStatic__ML()
  2464. {
  2465. Plugin* const p = new Plugin;
  2466. pluginInstance__ML = p;
  2467. const StaticPluginLoader spl(p, "ML_modules");
  2468. if (spl.ok())
  2469. {
  2470. #define modelQuantizer modelMLQuantizer
  2471. #define modelSH8 modelMLSH8
  2472. p->addModel(modelQuantizer);
  2473. p->addModel(modelQuantum);
  2474. p->addModel(modelTrigBuf);
  2475. p->addModel(modelSeqSwitch);
  2476. p->addModel(modelSeqSwitch2);
  2477. p->addModel(modelShiftRegister);
  2478. p->addModel(modelShiftRegister2);
  2479. p->addModel(modelFreeVerb);
  2480. p->addModel(modelSum8);
  2481. p->addModel(modelSum8mk2);
  2482. p->addModel(modelSum8mk3);
  2483. p->addModel(modelSH8);
  2484. p->addModel(modelConstants);
  2485. p->addModel(modelCounter);
  2486. p->addModel(modelTrigDelay);
  2487. p->addModel(modelBPMdetect);
  2488. p->addModel(modelVoltMeter);
  2489. p->addModel(modelOctaFlop);
  2490. p->addModel(modelOctaTrig);
  2491. p->addModel(modelOctaSwitch);
  2492. p->addModel(modelTrigSwitch);
  2493. p->addModel(modelTrigSwitch2);
  2494. p->addModel(modelTrigSwitch3);
  2495. p->addModel(modelTrigSwitch3_2);
  2496. p->addModel(modelOctaPlus);
  2497. p->addModel(modelOctaTimes);
  2498. p->addModel(modelCloner);
  2499. p->addModel(modelPolySplitter);
  2500. p->addModel(modelArpeggiator);
  2501. #undef modelQuantizer
  2502. #undef modelSH8
  2503. }
  2504. }
  2505. static void initStatic__MockbaModular()
  2506. {
  2507. Plugin* const p = new Plugin;
  2508. pluginInstance__MockbaModular = p;
  2509. const StaticPluginLoader spl(p, "MockbaModular");
  2510. if (spl.ok())
  2511. {
  2512. #define modelBlank modelMockbaModularBlank
  2513. #define modelComparator modelMockbaModularComparator
  2514. p->addModel(modelBlank);
  2515. p->addModel(modelFeidah);
  2516. p->addModel(modelFeidahS);
  2517. p->addModel(modelFiltah);
  2518. p->addModel(modelMixah);
  2519. p->addModel(modelMixah3);
  2520. p->addModel(modelDividah);
  2521. p->addModel(modelCountah);
  2522. p->addModel(modelSelectah);
  2523. p->addModel(modelShapah);
  2524. p->addModel(modelHoldah);
  2525. p->addModel(modelPannah);
  2526. p->addModel(modelReVoltah);
  2527. p->addModel(modelCZSaw);
  2528. p->addModel(modelCZSquare);
  2529. p->addModel(modelCZPulse);
  2530. p->addModel(modelCZDblSine);
  2531. p->addModel(modelCZSawPulse);
  2532. p->addModel(modelCZReso1);
  2533. p->addModel(modelCZReso2);
  2534. p->addModel(modelCZReso3);
  2535. p->addModel(modelCZOsc);
  2536. p->addModel(modelMaugTriangle);
  2537. p->addModel(modelMaugShark);
  2538. p->addModel(modelMaugSaw);
  2539. p->addModel(modelMaugSaw2);
  2540. p->addModel(modelMaugSquare);
  2541. p->addModel(modelMaugSquare2);
  2542. p->addModel(modelMaugSquare3);
  2543. p->addModel(modelMaugOsc);
  2544. p->addModel(modelComparator);
  2545. p->addModel(modelDualBUFFER);
  2546. p->addModel(modelDualNOT);
  2547. p->addModel(modelDualOR);
  2548. p->addModel(modelDualNOR);
  2549. p->addModel(modelDualAND);
  2550. p->addModel(modelDualNAND);
  2551. p->addModel(modelDualXOR);
  2552. p->addModel(modelDualXNOR);
  2553. p->addModel(modelPSelectah);
  2554. // require input files to work
  2555. spl.removeModule("UDPClockMaster");
  2556. spl.removeModule("UDPClockSlave");
  2557. #undef modelBlank
  2558. #undef modelComparator
  2559. }
  2560. }
  2561. static void initStatic__Mog()
  2562. {
  2563. Plugin* const p = new Plugin;
  2564. pluginInstance__Mog = p;
  2565. const StaticPluginLoader spl(p, "Mog");
  2566. if (spl.ok())
  2567. {
  2568. p->addModel(modelNetwork);
  2569. p->addModel(modelNexus);
  2570. }
  2571. }
  2572. static void initStatic__mscHack()
  2573. {
  2574. Plugin* const p = new Plugin;
  2575. pluginInstance__mscHack = p;
  2576. const StaticPluginLoader spl(p, "mscHack");
  2577. if (spl.ok())
  2578. {
  2579. p->addModel(modelCompressor);
  2580. p->addModel(modelSynthDrums);
  2581. p->addModel(modelSEQ_6x32x16);
  2582. p->addModel(modelMasterClockx4);
  2583. //p->addModel(modelMasterClockx8);
  2584. p->addModel(modelSEQ_Envelope_8);
  2585. p->addModel(modelSeq_Triad2);
  2586. p->addModel(modelARP700);
  2587. p->addModel(modelMix_4_0_4);
  2588. p->addModel(modelMix_9_3_4);
  2589. p->addModel(modelMix_16_4_4);
  2590. p->addModel(modelMix_24_4_4);
  2591. p->addModel(modelASAF8);
  2592. p->addModel(modelPingPong);
  2593. p->addModel(modelStepDelay);
  2594. p->addModel(modelOsc_3Ch);
  2595. p->addModel(modelDronez);
  2596. p->addModel(modelMorze);
  2597. p->addModel(modelWindz);
  2598. p->addModel(modelLorenz);
  2599. p->addModel(modelAlienz);
  2600. p->addModel(modelOSC_WaveMorph_3);
  2601. p->addModel(modelMaude_221);
  2602. }
  2603. }
  2604. static void initStatic__MSM()
  2605. {
  2606. Plugin* const p = new Plugin;
  2607. pluginInstance__MSM = p;
  2608. const StaticPluginLoader spl(p, "MSM");
  2609. if (spl.ok())
  2610. {
  2611. #define modelADSR modelMSMADSR
  2612. #define modelBlankPanel modelMSMBlankPanel
  2613. #define modelDelay modelMSMDelay
  2614. #define modelLFO modelMSMLFO
  2615. #define modelMult modelMSMMult
  2616. #define modelNoise modelMSMNoise
  2617. #define modelVCA modelMSMVCA
  2618. #define modelVCO modelMSMVCO
  2619. p->addModel(modelVCO);
  2620. p->addModel(modelBVCO);
  2621. p->addModel(modelExperimentalVCO);
  2622. p->addModel(modelNoise);
  2623. p->addModel(modelLFO);
  2624. p->addModel(modelVCA);
  2625. p->addModel(modelADSR);
  2626. p->addModel(modelDelay);
  2627. p->addModel(modelWaveShaper);
  2628. p->addModel(modelWavefolder);
  2629. p->addModel(modelBitcrusher);
  2630. p->addModel(modelPhaserModule);
  2631. p->addModel(modelMorpher);
  2632. p->addModel(modelRingMod);
  2633. p->addModel(modelRandomSource);
  2634. p->addModel(modelMult);
  2635. p->addModel(modelCrazyMult);
  2636. p->addModel(modelFade);
  2637. p->addModel(modelSimpleSlider);
  2638. p->addModel(modelxseq);
  2639. p->addModel(modelBlankPanel);
  2640. #undef modelADSR
  2641. #undef modelBlankPanel
  2642. #undef modelDelay
  2643. #undef modelLFO
  2644. #undef modelMult
  2645. #undef modelNoise
  2646. #undef modelVCA
  2647. #undef modelVCO
  2648. }
  2649. }
  2650. static void initStatic__MUS_X()
  2651. {
  2652. Plugin* const p = new Plugin;
  2653. pluginInstance__MUS_X = p;
  2654. const StaticPluginLoader spl(p, "MUS-X");
  2655. if (spl.ok())
  2656. {
  2657. p->addModel(musx::modelADSR);
  2658. p->addModel(musx::modelDelay);
  2659. p->addModel(musx::modelDrift);
  2660. p->addModel(musx::modelFilter);
  2661. p->addModel(musx::modelLast);
  2662. p->addModel(musx::modelLFO);
  2663. p->addModel(musx::modelModMatrix);
  2664. p->addModel(musx::modelOnePole);
  2665. p->addModel(musx::modelOnePoleLP);
  2666. p->addModel(musx::modelOscillators);
  2667. p->addModel(musx::modelSplitStack);
  2668. p->addModel(musx::modelSynth);
  2669. p->addModel(musx::modelTuner);
  2670. }
  2671. }
  2672. static void initStatic__myth_modules()
  2673. {
  2674. Plugin* const p = new Plugin;
  2675. pluginInstance__myth_modules = p;
  2676. const StaticPluginLoader spl(p, "myth-modules");
  2677. if (spl.ok())
  2678. {
  2679. p->addModel(modelMavka);
  2680. p->addModel(modelMolphar);
  2681. }
  2682. }
  2683. static void initStatic__nonlinearcircuits()
  2684. {
  2685. Plugin* const p = new Plugin;
  2686. pluginInstance__nonlinearcircuits = p;
  2687. const StaticPluginLoader spl(p, "nonlinearcircuits");
  2688. if (spl.ok())
  2689. {
  2690. p->addModel(model4Seq);
  2691. p->addModel(modelCipher);
  2692. p->addModel(modelBOOLs);
  2693. p->addModel(modelDivideConquer);
  2694. p->addModel(modelDivineCMOS);
  2695. p->addModel(modelDoubleNeuron);
  2696. p->addModel(modelGenie);
  2697. p->addModel(modelLetsSplosh);
  2698. p->addModel(modelNeuron);
  2699. p->addModel(modelNumberwang);
  2700. p->addModel(modelRouter);
  2701. p->addModel(modelSegue);
  2702. p->addModel(modelSlothApathy);
  2703. p->addModel(modelSlothInertia);
  2704. p->addModel(modelSlothTorpor);
  2705. p->addModel(modelSquidAxon);
  2706. p->addModel(modelStatues);
  2707. p->addModel(modelTripleSloth);
  2708. }
  2709. }
  2710. static void initStatic__Orbits()
  2711. {
  2712. Plugin* const p = new Plugin;
  2713. pluginInstance__Orbits = p;
  2714. const StaticPluginLoader spl(p, "Orbits");
  2715. if (spl.ok())
  2716. {
  2717. p->addModel(modelRareBreeds_Orbits_Eugene);
  2718. p->addModel(modelRareBreeds_Orbits_Polygene);
  2719. }
  2720. }
  2721. static void initStatic__ParableInstruments()
  2722. {
  2723. Plugin* const p = new Plugin;
  2724. pluginInstance__ParableInstruments = p;
  2725. const StaticPluginLoader spl(p, "ParableInstruments");
  2726. if (spl.ok())
  2727. {
  2728. #define modelClouds modelParableClouds
  2729. p->addModel(modelClouds);
  2730. #undef modelClouds
  2731. }
  2732. }
  2733. static void initStatic__PathSet()
  2734. {
  2735. Plugin* const p = new Plugin;
  2736. pluginInstance__PathSet = p;
  2737. const StaticPluginLoader spl(p, "PathSet");
  2738. if (spl.ok())
  2739. {
  2740. p->addModel(modelShiftyMod);
  2741. p->addModel(modelShiftyExpander);
  2742. p->addModel(modelIceTray);
  2743. p->addModel(modelAstroVibe);
  2744. p->addModel(modelGlassPane);
  2745. p->addModel(modelPlusPane);
  2746. p->addModel(modelNudge);
  2747. p->addModel(modelOneShot);
  2748. }
  2749. }
  2750. static void initStatic__PdArray()
  2751. {
  2752. Plugin* const p = new Plugin;
  2753. pluginInstance__PdArray = p;
  2754. const StaticPluginLoader spl(p, "PdArray");
  2755. if (spl.ok())
  2756. {
  2757. p->addModel(modelArray);
  2758. p->addModel(modelMiniramp);
  2759. p->addModel(modelMinistep);
  2760. }
  2761. }
  2762. static void initStatic__PinkTrombone()
  2763. {
  2764. Plugin* const p = new Plugin;
  2765. pluginInstance__PinkTrombone = p;
  2766. const StaticPluginLoader spl(p, "PinkTrombone");
  2767. if (spl.ok())
  2768. {
  2769. p->addModel(modelPinkTrombone);
  2770. }
  2771. }
  2772. static void initStatic__Prism()
  2773. {
  2774. Plugin* const p = new Plugin;
  2775. pluginInstance__Prism = p;
  2776. const StaticPluginLoader spl(p, "Prism");
  2777. if (spl.ok())
  2778. {
  2779. p->addModel(modelRainbow);
  2780. p->addModel(modelRainbowScaleExpander);
  2781. p->addModel(modelDroplet);
  2782. }
  2783. }
  2784. static void initStatic__rackwindows()
  2785. {
  2786. Plugin* const p = new Plugin;
  2787. pluginInstance__rackwindows = p;
  2788. const StaticPluginLoader spl(p, "rackwindows");
  2789. if (spl.ok())
  2790. {
  2791. // p->addModel(modelAcceleration);
  2792. p->addModel(modelBitshiftgain);
  2793. p->addModel(modelCapacitor);
  2794. p->addModel(modelCapacitor_stereo);
  2795. p->addModel(modelChorus);
  2796. p->addModel(modelConsole);
  2797. p->addModel(modelConsole_mm);
  2798. p->addModel(modelDistance);
  2799. p->addModel(modelGolem);
  2800. p->addModel(modelHolt);
  2801. p->addModel(modelHombre);
  2802. p->addModel(modelInterstage);
  2803. p->addModel(modelMonitoring);
  2804. p->addModel(modelMv);
  2805. p->addModel(modelRasp);
  2806. p->addModel(modelReseq);
  2807. p->addModel(modelTape);
  2808. p->addModel(modelTremolo);
  2809. p->addModel(modelVibrato);
  2810. }
  2811. }
  2812. static void initStatic__RCM()
  2813. {
  2814. Plugin* const p = new Plugin;
  2815. pluginInstance__RCM = p;
  2816. const StaticPluginLoader spl(p, "rcm-modules");
  2817. if (spl.ok())
  2818. {
  2819. p->addModel(modelGVerbModule);
  2820. p->addModel(modelCV0to10Module);
  2821. p->addModel(modelCVS0to10Module);
  2822. p->addModel(modelCV5to5Module);
  2823. p->addModel(modelCVMmtModule);
  2824. p->addModel(modelCVTglModule);
  2825. p->addModel(modelPianoRollModule);
  2826. p->addModel(modelDuckModule);
  2827. p->addModel(modelSEQAdapterModule);
  2828. p->addModel(modelSyncModule);
  2829. p->addModel(modelPolyNosModule);
  2830. }
  2831. }
  2832. static void initStatic__RebelTech()
  2833. {
  2834. Plugin* const p = new Plugin;
  2835. pluginInstance__RebelTech = p;
  2836. const StaticPluginLoader spl(p, "RebelTech");
  2837. if (spl.ok())
  2838. {
  2839. p->addModel(modelStoicheia);
  2840. p->addModel(modelTonic);
  2841. p->addModel(modelKlasmata);
  2842. p->addModel(modelCLK);
  2843. p->addModel(modelLogoi);
  2844. p->addModel(modelPhoreo);
  2845. }
  2846. }
  2847. static void initStatic__repelzen()
  2848. {
  2849. Plugin* const p = new Plugin;
  2850. pluginInstance__repelzen = p;
  2851. const StaticPluginLoader spl(p, "repelzen");
  2852. if (spl.ok())
  2853. {
  2854. #define modelBlank modelrepelzenBlank
  2855. #define modelMixer modelrepelzenMixer
  2856. #define modelWerner modelrepelzenWerner
  2857. p->addModel(modelBlank);
  2858. p->addModel(modelBurst);
  2859. p->addModel(modelFolder);
  2860. p->addModel(modelErwin);
  2861. p->addModel(modelWerner);
  2862. p->addModel(modelMixer);
  2863. #undef modelBlank
  2864. #undef modelMixer
  2865. #undef modelWerner
  2866. }
  2867. }
  2868. static void initStatic__Sapphire()
  2869. {
  2870. Plugin* const p = new Plugin;
  2871. pluginInstance__sapphire = p;
  2872. const StaticPluginLoader spl(p, "Sapphire");
  2873. if (spl.ok())
  2874. {
  2875. p->addModel(modelSapphireElastika);
  2876. p->addModel(modelSapphireFrolic);
  2877. p->addModel(modelSapphireGalaxy);
  2878. p->addModel(modelSapphireGlee);
  2879. p->addModel(modelSapphireGravy);
  2880. p->addModel(modelSapphireHiss);
  2881. p->addModel(modelSapphireLark);
  2882. p->addModel(modelSapphireMoots);
  2883. p->addModel(modelSapphireNucleus);
  2884. p->addModel(modelSapphirePivot);
  2885. p->addModel(modelSapphirePolynucleus);
  2886. p->addModel(modelSapphirePop);
  2887. p->addModel(modelSapphireRotini);
  2888. p->addModel(modelSapphireSam);
  2889. p->addModel(modelSapphireSauce);
  2890. p->addModel(modelSapphireTin);
  2891. p->addModel(modelSapphireTout);
  2892. p->addModel(modelSapphireTricorder);
  2893. p->addModel(modelSapphireTubeUnit);
  2894. }
  2895. }
  2896. static void initStatic__sonusmodular()
  2897. {
  2898. Plugin* const p = new Plugin;
  2899. pluginInstance__sonusmodular = p;
  2900. const StaticPluginLoader spl(p, "sonusmodular");
  2901. if (spl.ok())
  2902. {
  2903. p->addModel(modelAddiction);
  2904. p->addModel(modelBitter);
  2905. p->addModel(modelBymidside);
  2906. p->addModel(modelCampione);
  2907. p->addModel(modelChainsaw);
  2908. p->addModel(modelCtrl);
  2909. p->addModel(modelDeathcrush);
  2910. p->addModel(modelFraction);
  2911. p->addModel(modelHarmony);
  2912. p->addModel(modelLadrone);
  2913. p->addModel(modelLuppolo);
  2914. p->addModel(modelLuppolo3);
  2915. p->addModel(modelMicromacro);
  2916. p->addModel(modelMrcheb);
  2917. p->addModel(modelMultimulti);
  2918. p->addModel(modelNeurosc);
  2919. p->addModel(modelOktagon);
  2920. p->addModel(modelOsculum);
  2921. p->addModel(modelParamath);
  2922. p->addModel(modelPiconoise);
  2923. p->addModel(modelPith);
  2924. p->addModel(modelPusher);
  2925. p->addModel(modelRingo);
  2926. p->addModel(modelScramblase);
  2927. p->addModel(modelTropicana);
  2928. p->addModel(modelTwoff);
  2929. p->addModel(modelYabp);
  2930. }
  2931. }
  2932. static void initStatic__StarlingVia()
  2933. {
  2934. Plugin* const p = new Plugin;
  2935. pluginInstance__StarlingVia = p;
  2936. const StaticPluginLoader spl(p, "StarlingVia");
  2937. if (spl.ok())
  2938. {
  2939. #define modelScanner modelStarlingViaScanner
  2940. p->addModel(modelMeta);
  2941. p->addModel(modelGateseq);
  2942. p->addModel(modelScanner);
  2943. p->addModel(modelSync);
  2944. p->addModel(modelAtsr);
  2945. p->addModel(modelOsc3);
  2946. p->addModel(modelSync3);
  2947. p->addModel(modelSync3XL);
  2948. p->addModel(modelSync3XLLevels);
  2949. #undef modelScanner
  2950. }
  2951. }
  2952. static void initStatic__stocaudio()
  2953. {
  2954. Plugin* const p = new Plugin;
  2955. pluginInstance__stocaudio = p;
  2956. const StaticPluginLoader spl(p, "stocaudio");
  2957. if (spl.ok())
  2958. {
  2959. p->addModel(modelPolyturing);
  2960. p->addModel(modelPolydelay);
  2961. p->addModel(modelSpread);
  2962. }
  2963. }
  2964. static void initStatic__stoermelder_p1()
  2965. {
  2966. Plugin* const p = new Plugin;
  2967. pluginInstance__stoermelder_p1 = p;
  2968. const StaticPluginLoader spl(p, "stoermelder-packone");
  2969. if (spl.ok())
  2970. {
  2971. p->addModel(modelCVMap);
  2972. p->addModel(modelCVMapCtx);
  2973. p->addModel(modelCVMapMicro);
  2974. p->addModel(modelCVPam);
  2975. p->addModel(modelRotorA);
  2976. p->addModel(modelReMoveLite);
  2977. p->addModel(modelBolt);
  2978. p->addModel(modelInfix);
  2979. p->addModel(modelInfixMicro);
  2980. p->addModel(modelEightFace);
  2981. p->addModel(modelEightFaceX2);
  2982. p->addModel(modelSipo);
  2983. p->addModel(modelFourRounds);
  2984. p->addModel(modelArena);
  2985. p->addModel(modelMaze);
  2986. p->addModel(modelHive);
  2987. p->addModel(modelIntermix);
  2988. p->addModel(modelIntermixGate);
  2989. p->addModel(modelIntermixEnv);
  2990. p->addModel(modelIntermixFade);
  2991. p->addModel(modelSail);
  2992. p->addModel(modelPile);
  2993. p->addModel(modelPilePoly);
  2994. p->addModel(modelMirror);
  2995. p->addModel(modelAffix);
  2996. p->addModel(modelAffixMicro);
  2997. p->addModel(modelGrip);
  2998. p->addModel(modelGlue);
  2999. p->addModel(modelGoto);
  3000. p->addModel(modelStroke);
  3001. p->addModel(modelSpin);
  3002. p->addModel(modelTransit);
  3003. p->addModel(modelTransitEx);
  3004. p->addModel(modelX4);
  3005. p->addModel(modelMacro);
  3006. p->addModel(modelOrbit);
  3007. p->addModel(modelEightFaceMk2);
  3008. p->addModel(modelEightFaceMk2Ex);
  3009. p->addModel(modelDirt);
  3010. p->addModel(modelMb);
  3011. p->addModel(modelMe);
  3012. p->addModel(modelRaw);
  3013. p->addModel(modelStrip);
  3014. p->addModel(modelStripBay4);
  3015. p->addModel(modelStripPp);
  3016. spl.removeModule("AudioInterface64");
  3017. spl.removeModule("MidiCat");
  3018. spl.removeModule("MidiCatEx");
  3019. spl.removeModule("MidiCatCtx");
  3020. spl.removeModule("MidiKey");
  3021. spl.removeModule("MidiMon");
  3022. spl.removeModule("MidiPlug");
  3023. spl.removeModule("MidiStep");
  3024. }
  3025. }
  3026. static void initStatic__surgext()
  3027. {
  3028. Plugin* const p = new Plugin;
  3029. pluginInstance__surgext = p;
  3030. const StaticPluginLoader spl(p, "surgext");
  3031. if (spl.ok())
  3032. {
  3033. p->addModel(modelVCOClassic);
  3034. p->addModel(modelVCOModern);
  3035. p->addModel(modelVCOWavetable);
  3036. p->addModel(modelVCOWindow);
  3037. p->addModel(modelVCOSine);
  3038. p->addModel(modelVCOFM2);
  3039. p->addModel(modelVCOFM3);
  3040. p->addModel(modelVCOSHNoise);
  3041. p->addModel(modelVCOAlias);
  3042. p->addModel(modelVCOString);
  3043. p->addModel(modelVCOTwist);
  3044. // Add the ported ones
  3045. p->addModel(modelSurgeVCF);
  3046. p->addModel(modelSurgeDelay);
  3047. p->addModel(modelSurgeDelayLineByFreq);
  3048. p->addModel(modelSurgeDelayLineByFreqExpanded);
  3049. p->addModel(modelSurgeDigitalRingMods);
  3050. p->addModel(modelSurgeWaveshaper);
  3051. p->addModel(modelSurgeLFO);
  3052. p->addModel(modelSurgeMixer);
  3053. p->addModel(modelSurgeMixerSlider);
  3054. p->addModel(modelSurgeModMatrix);
  3055. p->addModel(modelFXReverb);
  3056. p->addModel(modelFXPhaser);
  3057. p->addModel(modelFXRotarySpeaker);
  3058. p->addModel(modelFXDistortion);
  3059. p->addModel(modelFXFrequencyShifter);
  3060. p->addModel(modelFXChorus);
  3061. p->addModel(modelFXVocoder);
  3062. p->addModel(modelFXReverb2);
  3063. p->addModel(modelFXFlanger);
  3064. p->addModel(modelFXRingMod);
  3065. p->addModel(modelFXNeuron);
  3066. p->addModel(modelFXResonator);
  3067. p->addModel(modelFXChow);
  3068. p->addModel(modelFXExciter);
  3069. p->addModel(modelFXEnsemble);
  3070. p->addModel(modelFXCombulator);
  3071. p->addModel(modelFXNimbus);
  3072. p->addModel(modelFXSpringReverb);
  3073. p->addModel(modelFXTreeMonster);
  3074. p->addModel(modelFXBonsai);
  3075. p->addModel(modelEGxVCA);
  3076. p->addModel(modelQuadAD);
  3077. p->addModel(modelQuadLFO);
  3078. p->addModel(modelUnisonHelper);
  3079. p->addModel(modelUnisonHelperCVExpander);
  3080. surgext_rack_initialize();
  3081. }
  3082. }
  3083. static void initStatic__unless_modules()
  3084. {
  3085. Plugin* const p = new Plugin;
  3086. pluginInstance__unless_modules = p;
  3087. const StaticPluginLoader spl(p, "unless_modules");
  3088. if (spl.ok())
  3089. {
  3090. // unless_modules::init_theme();
  3091. // theme = _less::Theme();
  3092. p->addModel(modelPiong);
  3093. p->addModel(modelChainkov);
  3094. p->addModel(modelAtoms);
  3095. p->addModel(modelCantor);
  3096. p->addModel(modelRoom);
  3097. p->addModel(modelSnake);
  3098. p->addModel(modelTowers);
  3099. p->addModel(modelPianoid);
  3100. p->addModel(modelPremuter);
  3101. p->addModel(modelAvoider);
  3102. }
  3103. }
  3104. static void initStatic__ValleyAudio()
  3105. {
  3106. Plugin* const p = new Plugin;
  3107. pluginInstance__ValleyAudio = p;
  3108. const StaticPluginLoader spl(p, "ValleyAudio");
  3109. if (spl.ok())
  3110. {
  3111. p->addModel(modelTopograph);
  3112. p->addModel(modelUGraph);
  3113. p->addModel(modelDexter);
  3114. p->addModel(modelPlateau);
  3115. p->addModel(modelInterzone);
  3116. p->addModel(modelAmalgam);
  3117. p->addModel(modelFeline);
  3118. p->addModel(modelTerrorform);
  3119. }
  3120. }
  3121. static void initStatic__Voxglitch()
  3122. {
  3123. Plugin* p = new Plugin;
  3124. pluginInstance__Voxglitch = p;
  3125. const StaticPluginLoader spl(p, "voxglitch");
  3126. if (spl.ok())
  3127. {
  3128. #define modelLooper modelVoxglitchLooper
  3129. p->addModel(modelArpSeq);
  3130. p->addModel(modelAutobreak);
  3131. p->addModel(modelAutobreakStudio);
  3132. p->addModel(modelByteBeat);
  3133. p->addModel(modelDigitalProgrammer);
  3134. p->addModel(modelDigitalSequencer);
  3135. p->addModel(modelDigitalSequencerXP);
  3136. p->addModel(modelDrumRandomizer);
  3137. p->addModel(modelGlitchSequencer);
  3138. p->addModel(modelGhosts);
  3139. p->addModel(modelGrainEngineMK2);
  3140. p->addModel(modelGrainEngineMK2Expander);
  3141. p->addModel(modelGrainFx);
  3142. p->addModel(modelGrooveBox);
  3143. p->addModel(modelGrooveBoxExpander);
  3144. p->addModel(modelHazumi);
  3145. p->addModel(modelOnePoint);
  3146. p->addModel(modelOneZero);
  3147. p->addModel(modelLooper);
  3148. p->addModel(modelNoteDetector);
  3149. p->addModel(modelRepeater);
  3150. p->addModel(modelSamplerX8);
  3151. p->addModel(modelSampler16P);
  3152. p->addModel(modelSatanonaut);
  3153. p->addModel(modelWavBank);
  3154. p->addModel(modelWavBankMC);
  3155. p->addModel(modelXY);
  3156. #undef modelLooper
  3157. }
  3158. }
  3159. static void initStatic__WhatTheRack()
  3160. {
  3161. Plugin* p = new Plugin;
  3162. pluginInstance__WhatTheRack = p;
  3163. const StaticPluginLoader spl(p, "WhatTheRack");
  3164. if (spl.ok())
  3165. {
  3166. p->addModel(modelWhatTheRack);
  3167. p->addModel(modelWhatTheMod);
  3168. p->addModel(modelWhatTheJack);
  3169. }
  3170. }
  3171. static void initStatic__ZetaCarinaeModules()
  3172. {
  3173. Plugin* p = new Plugin;
  3174. pluginInstance__ZetaCarinaeModules = p;
  3175. const StaticPluginLoader spl(p, "ZetaCarinaeModules");
  3176. if (spl.ok())
  3177. {
  3178. p->addModel(modelBrownianBridge);
  3179. p->addModel(modelOrnsteinUhlenbeck);
  3180. p->addModel(modelIOU);
  3181. p->addModel(modelWarbler);
  3182. p->addModel(modelRosenchance);
  3183. p->addModel(modelGuildensTurn);
  3184. p->addModel(modelRosslerRustler);
  3185. p->addModel(modelFirefly);
  3186. }
  3187. }
  3188. static void initStatic__ZZC()
  3189. {
  3190. Plugin* p = new Plugin;
  3191. pluginInstance__ZZC = p;
  3192. const StaticPluginLoader spl(p, "ZZC");
  3193. if (spl.ok())
  3194. {
  3195. #define modelClock modelZZCClock
  3196. p->addModel(modelClock);
  3197. p->addModel(modelDivider);
  3198. p->addModel(modelFN3);
  3199. p->addModel(modelSCVCA);
  3200. p->addModel(modelSH8);
  3201. p->addModel(modelSRC);
  3202. p->addModel(modelDiv);
  3203. p->addModel(modelDivExp);
  3204. p->addModel(modelPolygate);
  3205. #undef modelClock
  3206. }
  3207. }
  3208. void initStaticPlugins()
  3209. {
  3210. initStatic__Cardinal();
  3211. initStatic__Fundamental();
  3212. // initStatic__ZamAudio();
  3213. initStatic__21kHz();
  3214. initStatic__8Mode();
  3215. initStatic__AaronStatic();
  3216. initStatic__admiral();
  3217. initStatic__alefsbits();
  3218. initStatic__Algoritmarte();
  3219. initStatic__AmalgamatedHarmonics();
  3220. initStatic__AnimatedCircuits();
  3221. initStatic__ArableInstruments();
  3222. initStatic__Aria();
  3223. initStatic__AS();
  3224. initStatic__AudibleInstruments();
  3225. initStatic__Autinn();
  3226. initStatic__Axioma();
  3227. initStatic__Bacon();
  3228. initStatic__Befaco();
  3229. initStatic__Bidoo();
  3230. initStatic__Biset();
  3231. initStatic__BogaudioModules();
  3232. initStatic__CatroModulo();
  3233. initStatic__cf();
  3234. initStatic__ChowDSP();
  3235. initStatic__Computerscare();
  3236. initStatic__CVfunk();
  3237. initStatic__dBiz();
  3238. initStatic__DHE();
  3239. initStatic__DrumKit();
  3240. initStatic__EnigmaCurry();
  3241. initStatic__ESeries();
  3242. initStatic__ExpertSleepersEncoders();
  3243. initStatic__Extratone();
  3244. initStatic__FehlerFabrik();
  3245. initStatic__forsitan();
  3246. initStatic__GlueTheGiant();
  3247. initStatic__GoodSheperd();
  3248. initStatic__GrandeModular();
  3249. initStatic__H4N4();
  3250. initStatic__HamptonHarmonics();
  3251. initStatic__HetrickCV();
  3252. initStatic__ImpromptuModular();
  3253. initStatic__ihtsyn();
  3254. initStatic__JW();
  3255. initStatic__kocmoc();
  3256. initStatic__LifeFormModular();
  3257. initStatic__LilacLoop();
  3258. initStatic__LittleUtils();
  3259. initStatic__Lomas();
  3260. initStatic__Lyrae();
  3261. initStatic__Meander();
  3262. initStatic__MindMeld();
  3263. initStatic__ML();
  3264. initStatic__MockbaModular();
  3265. initStatic__Mog();
  3266. initStatic__mscHack();
  3267. initStatic__MSM();
  3268. initStatic__MUS_X();
  3269. initStatic__myth_modules();
  3270. initStatic__nonlinearcircuits();
  3271. initStatic__Orbits();
  3272. initStatic__ParableInstruments();
  3273. initStatic__PathSet();
  3274. initStatic__PdArray();
  3275. initStatic__PinkTrombone();
  3276. initStatic__Prism();
  3277. initStatic__rackwindows();
  3278. initStatic__RCM();
  3279. initStatic__RebelTech();
  3280. initStatic__repelzen();
  3281. initStatic__Sapphire();
  3282. initStatic__sonusmodular();
  3283. initStatic__StarlingVia();
  3284. initStatic__stocaudio();
  3285. initStatic__stoermelder_p1();
  3286. initStatic__surgext();
  3287. initStatic__unless_modules();
  3288. initStatic__ValleyAudio();
  3289. initStatic__Voxglitch();
  3290. initStatic__WhatTheRack();
  3291. initStatic__ZetaCarinaeModules();
  3292. initStatic__ZZC();
  3293. }
  3294. void destroyStaticPlugins()
  3295. {
  3296. for (Plugin* p : plugins)
  3297. delete p;
  3298. plugins.clear();
  3299. }
  3300. void updateStaticPluginsDarkMode()
  3301. {
  3302. const bool darkMode = settings::preferDarkPanels;
  3303. // bogaudio
  3304. {
  3305. Skins& skins(Skins::skins());
  3306. skins._default = darkMode ? "dark" : "light";
  3307. std::lock_guard<std::mutex> lock(skins._defaultSkinListenersLock);
  3308. for (auto listener : skins._defaultSkinListeners) {
  3309. listener->defaultSkinChanged(skins._default);
  3310. }
  3311. }
  3312. // meander
  3313. {
  3314. panelTheme = darkMode ? 1 : 0;
  3315. }
  3316. // glue the giant
  3317. {
  3318. gtg_default_theme = darkMode ? 1 : 0;
  3319. }
  3320. // surgext
  3321. {
  3322. surgext_rack_update_theme();
  3323. }
  3324. }
  3325. }
  3326. }