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.

3589 lines
98KB

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