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.

3742 lines
102KB

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