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.

3719 lines
102KB

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