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.

3686 lines
100KB

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