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.

3339 lines
91KB

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