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.

3532 lines
96KB

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