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.

2782 lines
74KB

  1. /*
  2. * DISTRHO Cardinal Plugin
  3. * Copyright (C) 2021-2022 Filipe Coelho <falktx@falktx.com>
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License as
  7. * published by the Free Software Foundation; either version 3 of
  8. * the License, or any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * For a full copy of the GNU General Public License see the LICENSE file.
  16. */
  17. #include "rack.hpp"
  18. #include "plugin.hpp"
  19. #include "DistrhoUtils.hpp"
  20. // Cardinal (built-in)
  21. #include "Cardinal/src/plugin.hpp"
  22. // Fundamental (always enabled)
  23. #include "Fundamental/src/plugin.hpp"
  24. #ifndef NOPLUGINS
  25. // 21kHz
  26. #include "21kHz/src/21kHz.hpp"
  27. // 8Mode
  28. #include "8Mode/src/8mode.hpp"
  29. // Aaron Static
  30. #include "AaronStatic/src/plugin.hpp"
  31. // Algoritmarte
  32. #include "Algoritmarte/src/plugin.hpp"
  33. // AmalgamatedHarmonics
  34. #include "AmalgamatedHarmonics/src/AH.hpp"
  35. // AnimatedCircuits
  36. #include "AnimatedCircuits/src/plugin.hpp"
  37. // ArableInstruments
  38. #define modelClouds modelArableClouds
  39. #include "ArableInstruments/src/ArableInstruments.hpp"
  40. #undef modelClouds
  41. // Aria
  42. /* NOTE too much noise in original include, do this a different way
  43. // #include "AriaModules/src/plugin.hpp"
  44. */
  45. #define modelBlank modelAriaBlank
  46. extern Model* modelSplort;
  47. extern Model* modelSmerge;
  48. extern Model* modelSpleet;
  49. extern Model* modelSwerge;
  50. extern Model* modelSplirge;
  51. // extern Model* modelSrot;
  52. extern Model* modelQqqq;
  53. extern Model* modelQuack;
  54. extern Model* modelQ;
  55. extern Model* modelQuale;
  56. extern Model* modelDarius;
  57. extern Model* modelSolomon4;
  58. extern Model* modelSolomon8;
  59. extern Model* modelSolomon16;
  60. extern Model* modelPsychopump;
  61. extern Model* modelPokies4;
  62. extern Model* modelGrabby;
  63. extern Model* modelRotatoes4;
  64. extern Model* modelUndular;
  65. extern Model* modelBlank;
  66. #undef modelBlank
  67. // AS
  68. #define modelADSR modelASADSR
  69. #define modelVCA modelASVCA
  70. #define modelWaveShaper modelASWaveShaper
  71. #define LedLight ASLedLight
  72. #define YellowRedLight ASYellowRedLight
  73. #include "AS/src/AS.hpp"
  74. #undef modelADSR
  75. #undef modelVCA
  76. #undef modelWaveShaper
  77. #undef LedLight
  78. #undef YellowRedLight
  79. // AudibleInstruments
  80. #include "AudibleInstruments/src/plugin.hpp"
  81. // Autinn
  82. /* NOTE too much noise in original include, do this a different way
  83. // #include "Autinn/src/Autinn.hpp"
  84. */
  85. #define modelChord modelAutinnChord
  86. #define modelVibrato modelAutinnVibrato
  87. extern Model* modelJette;
  88. extern Model* modelFlora;
  89. extern Model* modelOxcart;
  90. extern Model* modelDeadband;
  91. extern Model* modelDigi;
  92. extern Model* modelFlopper;
  93. extern Model* modelAmp;
  94. extern Model* modelDC;
  95. extern Model* modelSjip;
  96. extern Model* modelBass;
  97. extern Model* modelSquare;
  98. extern Model* modelSaw;
  99. extern Model* modelBoomerang;
  100. extern Model* modelVibrato;
  101. extern Model* modelVectorDriver; //deprecated
  102. extern Model* modelCVConverter;
  103. extern Model* modelZod;
  104. extern Model* modelTriBand;
  105. extern Model* modelMixer6;
  106. extern Model* modelNon;
  107. extern Model* modelFil;
  108. extern Model* modelNap;
  109. extern Model* modelMelody;
  110. extern Model* modelChord;
  111. #undef modelChord
  112. #undef modelVibrato
  113. // Axioma
  114. #include "Axioma/src/plugin.hpp"
  115. // BaconPlugs
  116. #define INCLUDE_COMPONENTS_HPP
  117. #include "BaconPlugs/src/BaconPlugs.hpp"
  118. #undef INCLUDE_COMPONENTS_HPP
  119. #undef SCREW_WIDTH
  120. #undef RACK_HEIGHT
  121. // Befaco
  122. #define modelADSR modelBefacoADSR
  123. #define modelMixer modelBefacoMixer
  124. #include "Befaco/src/plugin.hpp"
  125. #undef modelADSR
  126. #undef modelMixer
  127. // Bidoo
  128. #include "Bidoo/src/plugin.hpp"
  129. // BogaudioModules - force dark skin as default
  130. #include <mutex>
  131. #include <string>
  132. #include <unordered_map>
  133. #include <unordered_set>
  134. #include <vector>
  135. #define private public
  136. #include "BogaudioModules/src/skins.hpp"
  137. #undef private
  138. // BogaudioModules
  139. #define modelADSR modelBogaudioADSR
  140. #define modelLFO modelBogaudioLFO
  141. #define modelNoise modelBogaudioNoise
  142. #define modelVCA modelBogaudioVCA
  143. #define modelVCF modelBogaudioVCF
  144. #define modelVCO modelBogaudioVCO
  145. extern Model* modelVCO;
  146. extern Model* modelLVCO;
  147. extern Model* modelSine;
  148. extern Model* modelPulse;
  149. extern Model* modelXCO;
  150. extern Model* modelAdditator;
  151. extern Model* modelFMOp;
  152. extern Model* modelChirp;
  153. extern Model* modelLFO;
  154. extern Model* modelLLFO;
  155. extern Model* modelFourFO;
  156. extern Model* modelEightFO;
  157. extern Model* modelVCF;
  158. extern Model* modelLVCF;
  159. extern Model* modelFFB;
  160. extern Model* modelEQ;
  161. extern Model* modelEQS;
  162. extern Model* modelLPG;
  163. extern Model* modelLLPG;
  164. extern Model* modelMegaGate;
  165. extern Model* modelPEQ;
  166. extern Model* modelPEQ6;
  167. extern Model* modelPEQ6XF;
  168. extern Model* modelPEQ14;
  169. extern Model* modelPEQ14XF;
  170. extern Model* modelDADSRH;
  171. extern Model* modelDADSRHPlus;
  172. extern Model* modelShaper;
  173. extern Model* modelShaperPlus;
  174. extern Model* modelAD;
  175. extern Model* modelASR;
  176. extern Model* modelADSR;
  177. extern Model* modelVish;
  178. extern Model* modelFollow;
  179. extern Model* modelDGate;
  180. extern Model* modelRGate;
  181. extern Model* modelEdge;
  182. extern Model* modelNoise;
  183. extern Model* modelSampleHold;
  184. extern Model* modelWalk2;
  185. extern Model* modelWalk;
  186. extern Model* modelMix8;
  187. extern Model* modelMix8x;
  188. extern Model* modelMix4;
  189. extern Model* modelMix4x;
  190. extern Model* modelMix2;
  191. extern Model* modelMix1;
  192. extern Model* modelVCM;
  193. extern Model* modelMute8;
  194. extern Model* modelPan;
  195. extern Model* modelXFade;
  196. extern Model* modelVCA;
  197. extern Model* modelVCAmp;
  198. extern Model* modelVelo;
  199. extern Model* modelUMix;
  200. extern Model* modelMumix;
  201. extern Model* modelMatrix81;
  202. extern Model* modelMatrix18;
  203. extern Model* modelMatrix44;
  204. extern Model* modelMatrix44Cvm;
  205. extern Model* modelMatrix88;
  206. extern Model* modelMatrix88Cv;
  207. extern Model* modelMatrix88M;
  208. extern Model* modelSwitch81;
  209. extern Model* modelSwitch18;
  210. extern Model* modelSwitch44;
  211. extern Model* modelSwitch88;
  212. extern Model* modelSwitch1616;
  213. extern Model* modelAMRM;
  214. extern Model* modelPressor;
  215. extern Model* modelClpr;
  216. extern Model* modelLmtr;
  217. extern Model* modelNsgt;
  218. extern Model* modelCmpDist;
  219. extern Model* modelOneEight;
  220. extern Model* modelEightOne;
  221. extern Model* modelAddrSeq;
  222. extern Model* modelAddrSeqX;
  223. extern Model* modelPgmr;
  224. extern Model* modelPgmrX;
  225. extern Model* modelVU;
  226. extern Model* modelAnalyzer;
  227. extern Model* modelAnalyzerXL;
  228. extern Model* modelRanalyzer;
  229. extern Model* modelDetune;
  230. extern Model* modelStack;
  231. extern Model* modelReftone;
  232. extern Model* modelMono;
  233. extern Model* modelArp;
  234. extern Model* modelAssign;
  235. extern Model* modelUnison;
  236. extern Model* modelPolyCon8;
  237. extern Model* modelPolyCon16;
  238. extern Model* modelPolyOff8;
  239. extern Model* modelPolyOff16;
  240. extern Model* modelPolyMult;
  241. extern Model* modelBool;
  242. extern Model* modelCmp;
  243. extern Model* modelCVD;
  244. extern Model* modelFlipFlop;
  245. extern Model* modelInv;
  246. extern Model* modelManual;
  247. extern Model* modelFourMan;
  248. extern Model* modelMult;
  249. extern Model* modelOffset;
  250. extern Model* modelSlew;
  251. extern Model* modelSums;
  252. extern Model* modelSwitch;
  253. extern Model* modelLgsw;
  254. extern Model* modelBlank3;
  255. extern Model* modelBlank6;
  256. #ifdef EXPERIMENTAL
  257. extern Model* modelLag;
  258. extern Model* modelPEQ14XR;
  259. extern Model* modelPEQ14XV;
  260. #endif
  261. #ifdef TEST
  262. extern Model* modelTest;
  263. extern Model* modelTest2;
  264. extern Model* modelTestExpanderBase;
  265. extern Model* modelTestExpanderExtension;
  266. extern Model* modelTestGl;
  267. extern Model* modelTestVCF;
  268. #endif
  269. #undef modelADSR
  270. #undef modelLFO
  271. #undef modelNoise
  272. #undef modelVCA
  273. #undef modelVCF
  274. #undef modelVCO
  275. // CatroModulo
  276. #include "CatroModulo/src/CatroModulo.hpp"
  277. // cf
  278. #include "cf/src/plugin.hpp"
  279. // ChowDSP
  280. #include "ChowDSP/src/plugin.hpp"
  281. #define init initChowDSP
  282. #include "ChowDSP/src/plugin.cpp"
  283. #undef init
  284. // DrumKit
  285. #include "DrumKit/src/DrumKit.hpp"
  286. void setupSamples();
  287. // ESeries
  288. #include "ESeries/src/plugin.hpp"
  289. // ExpertSleepers-Encoders
  290. #include "ExpertSleepers-Encoders/src/Encoders.hpp"
  291. // Extratone
  292. #include "Extratone/src/plugin.hpp"
  293. // FehlerFabrik
  294. #include "FehlerFabrik/src/plugin.hpp"
  295. // forsitan modulare
  296. #include "forsitan-modulare/src/forsitan.hpp"
  297. // GlueTheGiant
  298. #include "GlueTheGiant/src/plugin.hpp"
  299. bool audition_mixer = false;
  300. bool audition_depot = false;
  301. int gtg_default_theme = 1;
  302. int loadGtgPluginDefault(const char*, int) { return 1; }
  303. void saveGtgPluginDefault(const char*, int) {}
  304. // GoodSheperd
  305. #include "GoodSheperd/src/plugin.hpp"
  306. // GrandeModular
  307. #include "GrandeModular/src/plugin.hpp"
  308. // Hampton Harmonics
  309. #define modelArp modelHamptonHarmonicsArp
  310. #define modelProgress modelHamptonHarmonicsProgress
  311. #include "HamptonHarmonics/src/plugin.hpp"
  312. #undef modelProgress
  313. #undef modelArp
  314. // HetrickCV
  315. #define modelASR modelHetrickCVASR
  316. #define modelBlankPanel modelHetrickCVBlankPanel
  317. #define modelFlipFlop modelHetrickCVFlipFlop
  318. #define modelMidSide modelHetrickCVMidSide
  319. #define modelMinMax modelHetrickCVMinMax
  320. extern Model* modelTwoToFour;
  321. extern Model* modelAnalogToDigital;
  322. extern Model* modelASR;
  323. extern Model* modelBinaryGate;
  324. extern Model* modelBinaryNoise;
  325. extern Model* modelBitshift;
  326. extern Model* modelBlankPanel;
  327. extern Model* modelBoolean3;
  328. extern Model* modelChaos1Op;
  329. extern Model* modelChaos2Op;
  330. extern Model* modelChaos3Op;
  331. extern Model* modelChaoticAttractors;
  332. extern Model* modelClockedNoise;
  333. extern Model* modelComparator;
  334. extern Model* modelContrast;
  335. extern Model* modelCrackle;
  336. extern Model* modelDataCompander;
  337. extern Model* modelDelta;
  338. extern Model* modelDigitalToAnalog;
  339. extern Model* modelDust;
  340. extern Model* modelExponent;
  341. extern Model* modelFBSineChaos;
  342. extern Model* modelFlipFlop;
  343. extern Model* modelFlipPan;
  344. extern Model* modelGateJunction;
  345. extern Model* modelGingerbread;
  346. extern Model* modelLogicCombine;
  347. extern Model* modelMidSide;
  348. extern Model* modelMinMax;
  349. extern Model* modelRandomGates;
  350. extern Model* modelRotator;
  351. extern Model* modelRungler;
  352. extern Model* modelScanner;
  353. extern Model* modelWaveshape;
  354. extern Model* modelXYToPolar;
  355. #undef modelASR
  356. #undef modelBlankPanel
  357. #undef modelFlipFlop
  358. #undef modelMidSide
  359. #undef modelMinMax
  360. // ImpromptuModular
  361. /* NOTE too much noise in original include, do this a different way
  362. // #include "ImpromptuModular/src/ImpromptuModular.hpp"
  363. */
  364. extern Model* modelAdaptiveQuantizer;
  365. extern Model* modelBigButtonSeq;
  366. extern Model* modelBigButtonSeq2;
  367. extern Model* modelChordKey;
  368. extern Model* modelChordKeyExpander;
  369. extern Model* modelClocked;
  370. extern Model* modelClockedExpander;
  371. extern Model* modelClkd;
  372. extern Model* modelCvPad;
  373. extern Model* modelFoundry;
  374. extern Model* modelFoundryExpander;
  375. extern Model* modelFourView;
  376. extern Model* modelGateSeq64;
  377. extern Model* modelGateSeq64Expander;
  378. extern Model* modelHotkey;
  379. extern Model* modelPart;
  380. extern Model* modelPhraseSeq16;
  381. extern Model* modelPhraseSeq32;
  382. extern Model* modelPhraseSeqExpander;
  383. extern Model* modelProbKey;
  384. extern Model* modelSemiModularSynth;
  385. extern Model* modelSygen;
  386. extern Model* modelTact;
  387. extern Model* modelTact1;
  388. extern Model* modelTactG;
  389. extern Model* modelTwelveKey;
  390. extern Model* modelVariations;
  391. extern Model* modelWriteSeq32;
  392. extern Model* modelWriteSeq64;
  393. extern Model* modelBlankPanel;
  394. // ihtsyn
  395. #include "ihtsyn/src/plugin.hpp"
  396. // JW-Modules
  397. #define modelQuantizer modelJWQuantizer
  398. #include "JW-Modules/src/JWModules.hpp"
  399. #undef modelQuantizer
  400. // kocmoc
  401. #include "kocmoc/src/plugin.hpp"
  402. // LifeFormModular
  403. /* NOTE too much noise in original include, do this a different way
  404. // #include "LifeFormModular/src/plugin.hpp"
  405. */
  406. extern Model* modelTimeDiktat;
  407. extern Model* modelSequenceModeler;
  408. extern Model* modelPitchDiktat;
  409. extern Model* modelPitchIntegrator;
  410. extern Model* modelBurstIntegrator;
  411. extern Model* modelQuadModulator;
  412. extern Model* modelImpulseControl;
  413. extern Model* modelQuadSteppedOffset;
  414. extern Model* modelPercussiveVibration;
  415. extern Model* modelQuadUtility;
  416. extern Model* modelAdditiveVibration;
  417. extern Model* modelComplexOsc;
  418. extern Model* modelDriftgen;
  419. // LittleUtils
  420. #include "LittleUtils/src/plugin.hpp"
  421. // Lilac Loop
  422. /* NOTE too much noise in original include, do this a different way
  423. // #include "LilacLoop/src/plugin.hpp"
  424. */
  425. extern Model* modelLooperOne;
  426. extern Model* modelLooperTwo;
  427. // LomasModules
  428. #include "LomasModules/src/plugin.hpp"
  429. #undef DR_WAV_IMPLEMENTATION
  430. // LyraeModules
  431. /* NOTE too much noise in original include, do this a different way
  432. // #include "LyraeModules/src/plugin.hpp"
  433. */
  434. #define modelDelta modelLyraeDelta
  435. extern Model* modelSulafat;
  436. extern Model* modelGamma;
  437. extern Model* modelDelta;
  438. extern Model* modelVega;
  439. extern Model* modelBD383238;
  440. extern Model* modelZeta;
  441. #undef modelDelta
  442. // Meander
  443. extern int panelTheme;
  444. #include "Meander/src/plugin.hpp"
  445. // MindMeldModular
  446. /* NOTE too much noise in original include, do this a different way
  447. // #include "MindMeldModular/src/MindMeldModular.hpp"
  448. */
  449. extern Model* modelMixMasterJr;
  450. extern Model* modelAuxExpanderJr;
  451. extern Model* modelMixMaster;
  452. extern Model* modelAuxExpander;
  453. extern Model* modelMeld;
  454. extern Model* modelUnmeld;
  455. extern Model* modelMSMelder;
  456. extern Model* modelEqMaster;
  457. extern Model* modelEqExpander;
  458. extern Model* modelBassMaster;
  459. extern Model* modelBassMasterJr;
  460. extern Model* modelShapeMaster;
  461. // ML_modules
  462. /* NOTE too much noise in original include, do this a different way
  463. // #include "ML_modules/src/ML_modules.hpp"
  464. */
  465. #define modelQuantizer modelMLQuantizer
  466. #define modelSH8 modelMLSH8
  467. extern Model* modelQuantizer;
  468. extern Model* modelQuantum;
  469. extern Model* modelTrigBuf;
  470. extern Model* modelSeqSwitch;
  471. extern Model* modelSeqSwitch2;
  472. extern Model* modelShiftRegister;
  473. extern Model* modelShiftRegister2;
  474. extern Model* modelFreeVerb;
  475. extern Model* modelSum8;
  476. extern Model* modelSum8mk2;
  477. extern Model* modelSum8mk3;
  478. extern Model* modelSH8;
  479. extern Model* modelConstants;
  480. extern Model* modelCounter;
  481. extern Model* modelTrigDelay;
  482. extern Model* modelBPMdetect;
  483. extern Model* modelVoltMeter;
  484. extern Model* modelOctaFlop;
  485. extern Model* modelOctaTrig;
  486. extern Model* modelOctaSwitch;
  487. extern Model* modelTrigSwitch;
  488. extern Model* modelTrigSwitch2;
  489. extern Model* modelTrigSwitch3;
  490. extern Model* modelTrigSwitch3_2;
  491. extern Model* modelOctaPlus;
  492. extern Model* modelOctaTimes;
  493. extern Model* modelCloner;
  494. extern Model* modelPolySplitter;
  495. extern Model* modelArpeggiator;
  496. #undef modelQuantizer
  497. #undef modelSH8
  498. // MockbaModular
  499. #define modelBlank modelMockbaModularBlank
  500. #define modelComparator modelMockbaModularComparator
  501. #include "MockbaModular/src/plugin.hpp"
  502. #undef modelBlank
  503. #undef modelComparator
  504. #include "MockbaModular/src/MockbaModular.hpp"
  505. #undef min
  506. #define saveBack ignoreMockbaModular1
  507. #define loadBack ignoreMockbaModular2
  508. #include "MockbaModular/src/MockbaModular.cpp"
  509. #undef saveBack
  510. #undef loadBack
  511. std::string loadBack(int) { return "res/Empty_gray.svg"; }
  512. // Mog
  513. #include "Mog/src/plugin.hpp"
  514. // mscHack
  515. /* NOTE too much noise in original include, do this a different way
  516. // #include "mscHack/src/mscHack.hpp"
  517. */
  518. extern Model* modelCompressor;
  519. extern Model* modelSynthDrums;
  520. extern Model* modelSEQ_6x32x16;
  521. extern Model* modelMasterClockx8;
  522. extern Model* modelMasterClockx4;
  523. extern Model* modelSEQ_Envelope_8;
  524. extern Model* modelSeq_Triad2;
  525. extern Model* modelARP700;
  526. extern Model* modelMix_24_4_4;
  527. extern Model* modelMix_16_4_4;
  528. extern Model* modelMix_9_3_4;
  529. extern Model* modelMix_4_0_4;
  530. extern Model* modelASAF8;
  531. extern Model* modelPingPong;
  532. extern Model* modelStepDelay;
  533. extern Model* modelOsc_3Ch;
  534. extern Model* modelDronez;
  535. extern Model* modelMorze;
  536. extern Model* modelWindz;
  537. extern Model* modelLorenz;
  538. extern Model* modelAlienz;
  539. extern Model* modelOSC_WaveMorph_3;
  540. extern Model* modelMaude_221;
  541. // MSM
  542. /* NOTE too much noise in original include, do this a different way
  543. // #include "MSM/src/MSM.hpp"
  544. */
  545. #define modelADSR modelMSMADSR
  546. #define modelBlankPanel modelMSMBlankPanel
  547. #define modelDelay modelMSMDelay
  548. #define modelLFO modelMSMLFO
  549. #define modelMult modelMSMMult
  550. #define modelNoise modelMSMNoise
  551. #define modelVCA modelMSMVCA
  552. #define modelVCO modelMSMVCO
  553. extern Model* modelVCO;
  554. extern Model* modelBVCO;
  555. extern Model* modelExperimentalVCO;
  556. extern Model* modelNoise;
  557. extern Model* modelLFO;
  558. extern Model* modelVCA;
  559. extern Model* modelADSR;
  560. extern Model* modelDelay;
  561. extern Model* modelWaveShaper;
  562. extern Model* modelWavefolder;
  563. extern Model* modelBitcrusher;
  564. extern Model* modelPhaserModule;
  565. extern Model* modelMorpher;
  566. extern Model* modelRingMod;
  567. extern Model* modelRandomSource;
  568. extern Model* modelMult;
  569. extern Model* modelCrazyMult;
  570. extern Model* modelFade;
  571. extern Model* modelSimpleSlider;
  572. extern Model* modelxseq;
  573. extern Model* modelBlankPanel;
  574. #undef modelADSR
  575. #undef modelBlankPanel
  576. #undef modelDelay
  577. #undef modelLFO
  578. #undef modelMult
  579. #undef modelNoise
  580. #undef modelVCA
  581. #undef modelVCO
  582. // myth-modules
  583. #include "myth-modules/src/plugin.hpp"
  584. // Nonlinear Circuits
  585. #include "nonlinearcircuits/src/NLC.hpp"
  586. // Orbits
  587. #include "Orbits/src/plugin.hpp"
  588. // ParableInstruments
  589. #define modelClouds modelParableClouds
  590. #include "ParableInstruments/src/ArableInstruments.hpp"
  591. #undef modelClouds
  592. // Path Set
  593. #include "PathSet/src/plugin.hpp"
  594. // PinkTrombone
  595. #include "PinkTrombone/src/plugin.hpp"
  596. // Prism
  597. #include "Prism/src/plugin.hpp"
  598. // rackwindows
  599. #include "rackwindows/src/plugin.hpp"
  600. // repelzen
  601. #define modelBlank modelrepelzenBlank
  602. #define modelMixer modelrepelzenMixer
  603. #define modelWerner modelrepelzenWerner
  604. #define tanh_pade repelzentanh_pade
  605. #include "repelzen/src/repelzen.hpp"
  606. #undef modelBlank
  607. #undef modelMixer
  608. #undef modelWerner
  609. #undef tanh_pade
  610. // sonusmodular
  611. #include "sonusmodular/src/sonusmodular.hpp"
  612. // stocaudio
  613. #include "stocaudio/src/plugin.hpp"
  614. // unless_modules
  615. #include "unless_modules/src/unless.hpp"
  616. // ValleyAudio
  617. #include "ValleyAudio/src/Valley.hpp"
  618. // Voxglitch
  619. #define modelLooper modelVoxglitchLooper
  620. #include "voxglitch/src/plugin.hpp"
  621. #undef modelLooper
  622. // WhatTheRack
  623. #include "WhatTheRack/src/WhatTheRack.hpp"
  624. // ZetaCarinaeModules
  625. #include "ZetaCarinaeModules/src/plugin.hpp"
  626. // ZZC
  627. #define DISPLAYS_H
  628. #define ZZC_SHARED_H
  629. #define ZZC_WIDGETS_H
  630. #define modelClock modelZZCClock
  631. #include "ZZC/src/ZZC.hpp"
  632. #undef modelClock
  633. #endif // NOPLUGINS
  634. // known terminal modules
  635. std::vector<Model*> hostTerminalModels;
  636. // stuff that reads config files, we dont want that
  637. int loadConsoleType() { return 0; }
  638. int loadDirectOutMode() { return 0; }
  639. void saveConsoleType(int) {}
  640. void saveDarkAsDefault(bool) {}
  641. void saveDirectOutMode(bool) {}
  642. void saveHighQualityAsDefault(bool) {}
  643. // plugin instances
  644. Plugin* pluginInstance__Cardinal;
  645. Plugin* pluginInstance__Fundamental;
  646. #ifndef NOPLUGINS
  647. Plugin* pluginInstance__21kHz;
  648. Plugin* pluginInstance__8Mode;
  649. extern Plugin* pluginInstance__AaronStatic;
  650. Plugin* pluginInstance__Algoritmarte;
  651. Plugin* pluginInstance__AmalgamatedHarmonics;
  652. Plugin* pluginInstance__ArableInstruments;
  653. Plugin* pluginInstance__AnimatedCircuits;
  654. Plugin* pluginInstance__Aria;
  655. Plugin* pluginInstance__AS;
  656. Plugin* pluginInstance__AudibleInstruments;
  657. extern Plugin* pluginInstance__Autinn;
  658. Plugin* pluginInstance__Axioma;
  659. Plugin* pluginInstance__Bacon;
  660. Plugin* pluginInstance__Befaco;
  661. Plugin* pluginInstance__Bidoo;
  662. Plugin* pluginInstance__BogaudioModules;
  663. Plugin* pluginInstance__CatroModulo;
  664. Plugin* pluginInstance__cf;
  665. Plugin* pluginInstance__ChowDSP;
  666. extern Plugin* pluginInstance__DrumKit;
  667. Plugin* pluginInstance__ESeries;
  668. Plugin* pluginInstance__ExpertSleepersEncoders;
  669. Plugin* pluginInstance__Extratone;
  670. Plugin* pluginInstance__FehlerFabrik;
  671. Plugin* pluginInstance__forsitan;
  672. Plugin* pluginInstance__GlueTheGiant;
  673. Plugin* pluginInstance__GoodSheperd;
  674. Plugin* pluginInstance__GrandeModular;
  675. Plugin* pluginInstance__HamptonHarmonics;
  676. Plugin* pluginInstance__HetrickCV;
  677. extern Plugin* pluginInstance__ImpromptuModular;
  678. Plugin* pluginInstance__ihtsyn;
  679. Plugin* pluginInstance__JW;
  680. Plugin* pluginInstance__kocmoc;
  681. Plugin* pluginInstance__LifeFormModular;
  682. Plugin* pluginInstance__LilacLoop;
  683. Plugin* pluginInstance__LittleUtils;
  684. Plugin* pluginInstance__Lomas;
  685. Plugin* pluginInstance__Lyrae;
  686. Plugin* pluginInstance__Meander;
  687. extern Plugin* pluginInstance__MindMeld;
  688. Plugin* pluginInstance__ML;
  689. Plugin* pluginInstance__MockbaModular;
  690. Plugin* pluginInstance__Mog;
  691. extern Plugin* pluginInstance__mscHack;
  692. Plugin* pluginInstance__MSM;
  693. Plugin* pluginInstance__myth_modules;
  694. Plugin* pluginInstance__nonlinearcircuits;
  695. Plugin* pluginInstance__Orbits;
  696. Plugin* pluginInstance__ParableInstruments;
  697. Plugin* pluginInstance__PathSet;
  698. Plugin* pluginInstance__PinkTrombone;
  699. Plugin* pluginInstance__Prism;
  700. Plugin* pluginInstance__rackwindows;
  701. Plugin* pluginInstance__repelzen;
  702. Plugin* pluginInstance__sonusmodular;
  703. Plugin* pluginInstance__stocaudio;
  704. Plugin* pluginInstance__unless_modules;
  705. Plugin* pluginInstance__ValleyAudio;
  706. Plugin* pluginInstance__Voxglitch;
  707. Plugin* pluginInstance__WhatTheRack;
  708. Plugin* pluginInstance__ZetaCarinaeModules;
  709. Plugin* pluginInstance__ZZC;
  710. #endif // NOPLUGINS
  711. namespace rack {
  712. namespace asset {
  713. std::string pluginManifest(const std::string& dirname);
  714. std::string pluginPath(const std::string& dirname);
  715. }
  716. namespace plugin {
  717. struct StaticPluginLoader {
  718. Plugin* const plugin;
  719. FILE* file;
  720. json_t* rootJ;
  721. StaticPluginLoader(Plugin* const p, const char* const name)
  722. : plugin(p),
  723. file(nullptr),
  724. rootJ(nullptr)
  725. {
  726. #ifdef DEBUG
  727. DEBUG("Loading plugin module %s", name);
  728. #endif
  729. p->path = asset::pluginPath(name);
  730. const std::string manifestFilename = asset::pluginManifest(name);
  731. if ((file = std::fopen(manifestFilename.c_str(), "r")) == nullptr)
  732. {
  733. d_stderr2("Manifest file %s does not exist", manifestFilename.c_str());
  734. return;
  735. }
  736. json_error_t error;
  737. if ((rootJ = json_loadf(file, 0, &error)) == nullptr)
  738. {
  739. d_stderr2("JSON parsing error at %s %d:%d %s", manifestFilename.c_str(), error.line, error.column, error.text);
  740. return;
  741. }
  742. // force ABI, we use static plugins so this doesnt matter as long as it builds
  743. json_t* const version = json_string((APP_VERSION_MAJOR + ".0").c_str());
  744. json_object_set(rootJ, "version", version);
  745. json_decref(version);
  746. // Load manifest
  747. p->fromJson(rootJ);
  748. // Reject plugin if slug already exists
  749. if (Plugin* const existingPlugin = getPlugin(p->slug))
  750. throw Exception("Plugin %s is already loaded, not attempting to load it again", p->slug.c_str());
  751. }
  752. ~StaticPluginLoader()
  753. {
  754. if (rootJ != nullptr)
  755. {
  756. // Load modules manifest
  757. json_t* const modulesJ = json_object_get(rootJ, "modules");
  758. plugin->modulesFromJson(modulesJ);
  759. json_decref(rootJ);
  760. plugins.push_back(plugin);
  761. }
  762. if (file != nullptr)
  763. std::fclose(file);
  764. }
  765. bool ok() const noexcept
  766. {
  767. return rootJ != nullptr;
  768. }
  769. void removeModule(const char* const slugToRemove) const noexcept
  770. {
  771. json_t* const modules = json_object_get(rootJ, "modules");
  772. DISTRHO_SAFE_ASSERT_RETURN(modules != nullptr,);
  773. size_t i;
  774. json_t* v;
  775. json_array_foreach(modules, i, v)
  776. {
  777. if (json_t* const slug = json_object_get(v, "slug"))
  778. {
  779. if (const char* const value = json_string_value(slug))
  780. {
  781. if (std::strcmp(value, slugToRemove) == 0)
  782. {
  783. json_array_remove(modules, i);
  784. break;
  785. }
  786. }
  787. }
  788. }
  789. }
  790. };
  791. static void initStatic__Cardinal()
  792. {
  793. Plugin* const p = new Plugin;
  794. pluginInstance__Cardinal = p;
  795. const StaticPluginLoader spl(p, "Cardinal");
  796. if (spl.ok())
  797. {
  798. p->addModel(modelCardinalBlank);
  799. p->addModel(modelExpanderInputMIDI);
  800. p->addModel(modelExpanderOutputMIDI);
  801. p->addModel(modelHostAudio2);
  802. p->addModel(modelHostAudio8);
  803. p->addModel(modelHostCV);
  804. p->addModel(modelHostMIDI);
  805. p->addModel(modelHostMIDICC);
  806. p->addModel(modelHostMIDIGate);
  807. p->addModel(modelHostMIDIMap);
  808. p->addModel(modelHostParameters);
  809. p->addModel(modelHostParametersMap);
  810. p->addModel(modelHostTime);
  811. p->addModel(modelTextEditor);
  812. #ifndef DGL_USE_GLES
  813. p->addModel(modelGlBars);
  814. #else
  815. spl.removeModule("glBars");
  816. #endif
  817. #ifndef STATIC_BUILD
  818. p->addModel(modelAudioFile);
  819. p->addModel(modelIldaeil);
  820. #else
  821. spl.removeModule("AudioFile");
  822. spl.removeModule("Ildaeil");
  823. #endif
  824. #if !(defined(DISTRHO_OS_WASM) || defined(STATIC_BUILD))
  825. p->addModel(modelCarla);
  826. #else
  827. spl.removeModule("Carla");
  828. #endif
  829. #ifndef HEADLESS
  830. p->addModel(modelSassyScope);
  831. #else
  832. spl.removeModule("SassyScope");
  833. #endif
  834. #if defined(HAVE_X11) && !defined(HEADLESS) && !defined(STATIC_BUILD)
  835. p->addModel(modelMPV);
  836. #else
  837. spl.removeModule("MPV");
  838. #endif
  839. #ifdef HAVE_FFTW3F
  840. p->addModel(modelAudioToCVPitch);
  841. #else
  842. spl.removeModule("AudioToCVPitch");
  843. #endif
  844. hostTerminalModels = {
  845. modelHostAudio2,
  846. modelHostAudio8,
  847. modelHostCV,
  848. modelHostMIDI,
  849. modelHostMIDICC,
  850. modelHostMIDIGate,
  851. modelHostMIDIMap,
  852. modelHostParameters,
  853. modelHostParametersMap,
  854. modelHostTime,
  855. };
  856. }
  857. }
  858. static void initStatic__Fundamental()
  859. {
  860. Plugin* const p = new Plugin;
  861. pluginInstance__Fundamental = p;
  862. const StaticPluginLoader spl(p, "Fundamental");
  863. if (spl.ok())
  864. {
  865. p->addModel(model_8vert);
  866. p->addModel(modelADSR);
  867. p->addModel(modelDelay);
  868. p->addModel(modelLFO);
  869. p->addModel(modelLFO2);
  870. p->addModel(modelMerge);
  871. p->addModel(modelMidSide);
  872. p->addModel(modelMixer);
  873. p->addModel(modelMutes);
  874. p->addModel(modelNoise);
  875. p->addModel(modelOctave);
  876. p->addModel(modelPulses);
  877. p->addModel(modelQuantizer);
  878. p->addModel(modelRandom);
  879. p->addModel(modelScope);
  880. p->addModel(modelSEQ3);
  881. p->addModel(modelSequentialSwitch1);
  882. p->addModel(modelSequentialSwitch2);
  883. p->addModel(modelSplit);
  884. p->addModel(modelSum);
  885. p->addModel(modelVCA);
  886. p->addModel(modelVCA_1);
  887. p->addModel(modelVCF);
  888. p->addModel(modelVCMixer);
  889. p->addModel(modelVCO);
  890. p->addModel(modelVCO2);
  891. }
  892. }
  893. #ifndef NOPLUGINS
  894. static void initStatic__21kHz()
  895. {
  896. Plugin* const p = new Plugin;
  897. pluginInstance__21kHz = p;
  898. const StaticPluginLoader spl(p, "21kHz");
  899. if (spl.ok())
  900. {
  901. p->addModel(modelPalmLoop);
  902. p->addModel(modelD_Inf);
  903. p->addModel(modelTachyonEntangler);
  904. }
  905. }
  906. static void initStatic__8Mode()
  907. {
  908. Plugin* const p = new Plugin;
  909. pluginInstance__8Mode = p;
  910. const StaticPluginLoader spl(p, "8Mode");
  911. if (spl.ok())
  912. {
  913. p->addModel(modelsoftSN);
  914. }
  915. }
  916. static void initStatic__AaronStatic()
  917. {
  918. Plugin* const p = new Plugin;
  919. pluginInstance__AaronStatic = p;
  920. const StaticPluginLoader spl(p, "AaronStatic");
  921. if (spl.ok())
  922. {
  923. p->addModel(modelChordCV);
  924. p->addModel(modelScaleCV);
  925. p->addModel(modelRandomNoteCV);
  926. p->addModel(modelDiatonicCV);
  927. }
  928. }
  929. static void initStatic__Algoritmarte()
  930. {
  931. Plugin* const p = new Plugin;
  932. pluginInstance__Algoritmarte = p;
  933. const StaticPluginLoader spl(p, "Algoritmarte");
  934. if (spl.ok())
  935. {
  936. p->addModel(modelClockkky);
  937. p->addModel(modelPlanetz);
  938. p->addModel(modelMusiFrog);
  939. p->addModel(modelZefiro);
  940. p->addModel(modelHoldMeTight);
  941. p->addModel(modelCyclicCA);
  942. p->addModel(modelMusiMath);
  943. }
  944. }
  945. static void initStatic__AmalgamatedHarmonics()
  946. {
  947. Plugin* const p = new Plugin;
  948. pluginInstance__AmalgamatedHarmonics = p;
  949. const StaticPluginLoader spl(p, "AmalgamatedHarmonics");
  950. if (spl.ok())
  951. {
  952. p->addModel(modelArp31);
  953. p->addModel(modelArp32);
  954. p->addModel(modelBombe);
  955. p->addModel(modelChord);
  956. p->addModel(modelCircle);
  957. p->addModel(modelGalaxy);
  958. p->addModel(modelGenerative);
  959. p->addModel(modelImp);
  960. p->addModel(modelImperfect2);
  961. p->addModel(modelProgress2);
  962. p->addModel(modelRuckus);
  963. p->addModel(modelScaleQuantizer2);
  964. p->addModel(modelSLN);
  965. p->addModel(modelMuxDeMux);
  966. p->addModel(modelPolyProbe);
  967. p->addModel(modelPolyScope);
  968. p->addModel(modelPolyUtils);
  969. p->addModel(modelPolyVolt);
  970. p->addModel(modelScaleQuantizer);
  971. p->addModel(modelArpeggiator2);
  972. p->addModel(modelProgress);
  973. }
  974. }
  975. static void initStatic__AnimatedCircuits()
  976. {
  977. Plugin* const p = new Plugin;
  978. pluginInstance__AnimatedCircuits = p;
  979. const StaticPluginLoader spl(p, "AnimatedCircuits");
  980. if (spl.ok())
  981. {
  982. p->addModel(model_AC_Folding);
  983. p->addModel(model_AC_LFold);
  984. }
  985. }
  986. static void initStatic__ArableInstruments()
  987. {
  988. Plugin* const p = new Plugin;
  989. pluginInstance__ArableInstruments = p;
  990. const StaticPluginLoader spl(p, "ArableInstruments");
  991. if (spl.ok())
  992. {
  993. #define modelClouds modelArableClouds
  994. p->addModel(modelClouds);
  995. #undef modelClouds
  996. }
  997. }
  998. static void initStatic__Aria()
  999. {
  1000. Plugin* const p = new Plugin;
  1001. pluginInstance__Aria = p;
  1002. const StaticPluginLoader spl(p, "AriaModules");
  1003. if (spl.ok())
  1004. {
  1005. #define modelBlank modelAriaBlank
  1006. p->addModel(modelSplort);
  1007. p->addModel(modelSmerge);
  1008. p->addModel(modelSpleet);
  1009. p->addModel(modelSwerge);
  1010. p->addModel(modelSplirge);
  1011. p->addModel(modelQqqq);
  1012. p->addModel(modelQuack);
  1013. p->addModel(modelQ);
  1014. p->addModel(modelQuale);
  1015. p->addModel(modelDarius);
  1016. p->addModel(modelSolomon4);
  1017. p->addModel(modelSolomon8);
  1018. p->addModel(modelSolomon16);
  1019. p->addModel(modelPsychopump);
  1020. p->addModel(modelPokies4);
  1021. p->addModel(modelGrabby);
  1022. p->addModel(modelRotatoes4);
  1023. p->addModel(modelUndular);
  1024. p->addModel(modelBlank);
  1025. #undef modelBlank
  1026. // NOTE disabled in Cardinal due to online requirement
  1027. spl.removeModule("Arcane");
  1028. spl.removeModule("Atout");
  1029. spl.removeModule("Aleister");
  1030. }
  1031. }
  1032. static void initStatic__AS()
  1033. {
  1034. Plugin* const p = new Plugin;
  1035. pluginInstance__AS = p;
  1036. const StaticPluginLoader spl(p, "AS");
  1037. if (spl.ok())
  1038. {
  1039. #define modelADSR modelASADSR
  1040. #define modelVCA modelASVCA
  1041. #define modelWaveShaper modelASWaveShaper
  1042. //OSCILLATORS
  1043. p->addModel(modelSineOsc);
  1044. p->addModel(modelSawOsc);
  1045. //TOOLS
  1046. p->addModel(modelADSR);
  1047. p->addModel(modelVCA);
  1048. p->addModel(modelQuadVCA);
  1049. p->addModel(modelTriLFO);
  1050. p->addModel(modelAtNuVrTr);
  1051. p->addModel(modelBPMClock);
  1052. p->addModel(modelSEQ16);
  1053. p->addModel(modelMixer2ch);
  1054. p->addModel(modelMixer4ch);
  1055. p->addModel(modelMixer8ch);
  1056. p->addModel(modelMonoVUmeter);
  1057. p->addModel(modelStereoVUmeter);
  1058. p->addModel(modelMultiple2_5);
  1059. p->addModel(modelMerge2_5);
  1060. p->addModel(modelSteps);
  1061. p->addModel(modelLaunchGate);
  1062. p->addModel(modelKillGate);
  1063. p->addModel(modelFlow);
  1064. p->addModel(modelSignalDelay);
  1065. p->addModel(modelTriggersMKI);
  1066. p->addModel(modelTriggersMKII);
  1067. p->addModel(modelTriggersMKIII);
  1068. p->addModel(modelBPMCalc);
  1069. p->addModel(modelBPMCalc2);
  1070. p->addModel(modelCv2T);
  1071. p->addModel(modelZeroCV2T);
  1072. p->addModel(modelReScale);
  1073. //EFFECTS
  1074. p->addModel(modelDelayPlusFx);
  1075. p->addModel(modelDelayPlusStereoFx);
  1076. p->addModel(modelPhaserFx);
  1077. p->addModel(modelReverbFx);
  1078. p->addModel(modelReverbStereoFx);
  1079. p->addModel(modelSuperDriveFx);
  1080. p->addModel(modelSuperDriveStereoFx);
  1081. p->addModel(modelTremoloFx);
  1082. p->addModel(modelTremoloStereoFx);
  1083. p->addModel(modelWaveShaper);
  1084. p->addModel(modelWaveShaperStereo);
  1085. //BLANK PANELS
  1086. p->addModel(modelBlankPanel4);
  1087. p->addModel(modelBlankPanel6);
  1088. p->addModel(modelBlankPanel8);
  1089. p->addModel(modelBlankPanelSpecial);
  1090. #undef modelADSR
  1091. #undef modelVCA
  1092. #undef modelWaveShaper
  1093. }
  1094. }
  1095. static void initStatic__AudibleInstruments()
  1096. {
  1097. Plugin* const p = new Plugin;
  1098. pluginInstance__AudibleInstruments = p;
  1099. const StaticPluginLoader spl(p, "AudibleInstruments");
  1100. if (spl.ok())
  1101. {
  1102. p->addModel(modelBraids);
  1103. p->addModel(modelPlaits);
  1104. p->addModel(modelElements);
  1105. p->addModel(modelTides);
  1106. p->addModel(modelTides2);
  1107. p->addModel(modelClouds);
  1108. p->addModel(modelWarps);
  1109. p->addModel(modelRings);
  1110. p->addModel(modelLinks);
  1111. p->addModel(modelKinks);
  1112. p->addModel(modelShades);
  1113. p->addModel(modelBranches);
  1114. p->addModel(modelBlinds);
  1115. p->addModel(modelVeils);
  1116. p->addModel(modelFrames);
  1117. p->addModel(modelMarbles);
  1118. p->addModel(modelStages);
  1119. p->addModel(modelRipples);
  1120. p->addModel(modelShelves);
  1121. p->addModel(modelStreams);
  1122. }
  1123. }
  1124. static void initStatic__Autinn()
  1125. {
  1126. Plugin* const p = new Plugin;
  1127. pluginInstance__Autinn = p;
  1128. const StaticPluginLoader spl(p, "Autinn");
  1129. if (spl.ok())
  1130. {
  1131. #define modelChord modelAutinnChord
  1132. #define modelVibrato modelAutinnVibrato
  1133. p->addModel(modelAmp);
  1134. p->addModel(modelDeadband);
  1135. p->addModel(modelBass);
  1136. p->addModel(modelCVConverter);
  1137. p->addModel(modelDC);
  1138. p->addModel(modelDigi);
  1139. p->addModel(modelFlopper);
  1140. p->addModel(modelFlora);
  1141. p->addModel(modelJette);
  1142. p->addModel(modelBoomerang);
  1143. p->addModel(modelOxcart);
  1144. p->addModel(modelSaw);
  1145. p->addModel(modelSjip);
  1146. p->addModel(modelSquare);
  1147. p->addModel(modelVibrato);
  1148. p->addModel(modelVectorDriver);
  1149. p->addModel(modelZod);
  1150. p->addModel(modelTriBand);
  1151. p->addModel(modelMixer6);
  1152. p->addModel(modelNon);
  1153. p->addModel(modelFil);
  1154. p->addModel(modelNap);
  1155. p->addModel(modelMelody);
  1156. p->addModel(modelChord);
  1157. #undef modelChord
  1158. #undef modelVibrato
  1159. }
  1160. }
  1161. static void initStatic__Axioma()
  1162. {
  1163. Plugin* const p = new Plugin;
  1164. pluginInstance__Axioma = p;
  1165. const StaticPluginLoader spl(p, "Axioma");
  1166. if (spl.ok())
  1167. {
  1168. p->addModel(modelTheBifurcator);
  1169. p->addModel(modelTesseract);
  1170. p->addModel(modelIkeda);
  1171. p->addModel(modelRhodonea);
  1172. }
  1173. }
  1174. static void initStatic__Bacon()
  1175. {
  1176. Plugin* const p = new Plugin;
  1177. pluginInstance__Bacon = p;
  1178. const StaticPluginLoader spl(p, "BaconPlugs");
  1179. if (spl.ok())
  1180. {
  1181. p->addModel(modelHarMoNee);
  1182. p->addModel(modelGlissinator);
  1183. p->addModel(modelPolyGnome);
  1184. p->addModel(modelQuantEyes);
  1185. p->addModel(modelSampleDelay);
  1186. #ifdef BUILD_SORTACHORUS
  1187. p->addModel(modelSortaChorus);
  1188. #endif
  1189. p->addModel(modelChipNoise);
  1190. p->addModel(modelChipWaves);
  1191. p->addModel(modelChipYourWave);
  1192. p->addModel(modelOpen303);
  1193. #ifdef BUILD_GENERICLSFR
  1194. p->addModel(modelGenericLFSR);
  1195. #endif
  1196. p->addModel(modelKarplusStrongPoly);
  1197. p->addModel(modelALingADing);
  1198. p->addModel(modelBitulator);
  1199. #ifdef BUILD_PHASER
  1200. p->addModel(modelPhaser);
  1201. #endif
  1202. p->addModel(modelPolyGenerator);
  1203. }
  1204. }
  1205. static void initStatic__Befaco()
  1206. {
  1207. Plugin* const p = new Plugin;
  1208. pluginInstance__Befaco = p;
  1209. const StaticPluginLoader spl(p, "Befaco");
  1210. if (spl.ok())
  1211. {
  1212. #define modelADSR modelBefacoADSR
  1213. #define modelMixer modelBefacoMixer
  1214. p->addModel(modelEvenVCO);
  1215. p->addModel(modelRampage);
  1216. p->addModel(modelABC);
  1217. p->addModel(modelSpringReverb);
  1218. p->addModel(modelMixer);
  1219. p->addModel(modelSlewLimiter);
  1220. p->addModel(modelDualAtenuverter);
  1221. p->addModel(modelPercall);
  1222. p->addModel(modelHexmixVCA);
  1223. p->addModel(modelChoppingKinky);
  1224. p->addModel(modelKickall);
  1225. p->addModel(modelSamplingModulator);
  1226. p->addModel(modelMorphader);
  1227. p->addModel(modelADSR);
  1228. p->addModel(modelSTMix);
  1229. p->addModel(modelMuxlicer);
  1230. p->addModel(modelMex);
  1231. p->addModel(modelNoisePlethora);
  1232. p->addModel(modelChannelStrip);
  1233. #undef modelADSR
  1234. #undef modelMixer
  1235. }
  1236. }
  1237. static void initStatic__Bidoo()
  1238. {
  1239. Plugin* const p = new Plugin;
  1240. pluginInstance__Bidoo = p;
  1241. const StaticPluginLoader spl(p, "Bidoo");
  1242. if (spl.ok())
  1243. {
  1244. p->addModel(modelTOCANTE);
  1245. p->addModel(modelLATE);
  1246. p->addModel(modelDIKTAT);
  1247. p->addModel(modelDTROY);
  1248. p->addModel(modelBORDL);
  1249. p->addModel(modelZOUMAI);
  1250. p->addModel(modelZOUMAIExpander);
  1251. p->addModel(modelMU);
  1252. p->addModel(modelCHUTE);
  1253. p->addModel(modelLOURDE);
  1254. p->addModel(modelDILEMO);
  1255. p->addModel(modelLAMBDA);
  1256. p->addModel(modelBANCAU);
  1257. p->addModel(modelACNE);
  1258. p->addModel(modelMS);
  1259. p->addModel(modelDUKE);
  1260. p->addModel(modelMOIRE);
  1261. p->addModel(modelPILOT);
  1262. p->addModel(modelHUITRE);
  1263. p->addModel(modelOUAIVE);
  1264. p->addModel(modelEDSAROS);
  1265. p->addModel(modelPOUPRE);
  1266. p->addModel(modelMAGMA);
  1267. p->addModel(modelOAI);
  1268. p->addModel(modelCANARD);
  1269. p->addModel(modelEMILE);
  1270. p->addModel(modelFORK);
  1271. p->addModel(modelTIARE);
  1272. p->addModel(modelLIMONADE);
  1273. p->addModel(modelLIMBO);
  1274. p->addModel(modelPERCO);
  1275. p->addModel(modelBAFIS);
  1276. p->addModel(modelBAR);
  1277. p->addModel(modelMINIBAR);
  1278. p->addModel(modelZINC);
  1279. p->addModel(modelFREIN);
  1280. p->addModel(modelHCTIP);
  1281. p->addModel(modelSPORE);
  1282. p->addModel(modelDFUZE);
  1283. p->addModel(modelREI);
  1284. p->addModel(modelRABBIT);
  1285. p->addModel(modelBISTROT);
  1286. p->addModel(modelSIGMA);
  1287. p->addModel(modelFLAME);
  1288. p->addModel(modelVOID);
  1289. // NOTE disabled in Cardinal due to curl usage
  1290. // p->addModel(modelANTN);
  1291. spl.removeModule("antN");
  1292. }
  1293. }
  1294. static void initStatic__BogaudioModules()
  1295. {
  1296. Plugin* const p = new Plugin;
  1297. pluginInstance__BogaudioModules = p;
  1298. const StaticPluginLoader spl(p, "BogaudioModules");
  1299. if (spl.ok())
  1300. {
  1301. // Make sure to use dark theme as default
  1302. Skins& skins(Skins::skins());
  1303. skins._default = "dark";
  1304. #define modelADSR modelBogaudioADSR
  1305. #define modelLFO modelBogaudioLFO
  1306. #define modelNoise modelBogaudioNoise
  1307. #define modelVCA modelBogaudioVCA
  1308. #define modelVCF modelBogaudioVCF
  1309. #define modelVCO modelBogaudioVCO
  1310. p->addModel(modelVCO);
  1311. p->addModel(modelLVCO);
  1312. p->addModel(modelSine);
  1313. p->addModel(modelPulse);
  1314. p->addModel(modelXCO);
  1315. p->addModel(modelAdditator);
  1316. p->addModel(modelFMOp);
  1317. p->addModel(modelChirp);
  1318. p->addModel(modelLFO);
  1319. p->addModel(modelLLFO);
  1320. p->addModel(modelFourFO);
  1321. p->addModel(modelEightFO);
  1322. p->addModel(modelVCF);
  1323. p->addModel(modelLVCF);
  1324. p->addModel(modelFFB);
  1325. p->addModel(modelEQ);
  1326. p->addModel(modelEQS);
  1327. p->addModel(modelLPG);
  1328. p->addModel(modelLLPG);
  1329. p->addModel(modelMegaGate);
  1330. p->addModel(modelPEQ);
  1331. p->addModel(modelPEQ6);
  1332. p->addModel(modelPEQ6XF);
  1333. p->addModel(modelPEQ14);
  1334. p->addModel(modelPEQ14XF);
  1335. p->addModel(modelDADSRH);
  1336. p->addModel(modelDADSRHPlus);
  1337. p->addModel(modelShaper);
  1338. p->addModel(modelShaperPlus);
  1339. p->addModel(modelAD);
  1340. p->addModel(modelASR);
  1341. p->addModel(modelADSR);
  1342. p->addModel(modelVish);
  1343. p->addModel(modelFollow);
  1344. p->addModel(modelDGate);
  1345. p->addModel(modelRGate);
  1346. p->addModel(modelEdge);
  1347. p->addModel(modelNoise);
  1348. p->addModel(modelSampleHold);
  1349. p->addModel(modelWalk2);
  1350. p->addModel(modelWalk);
  1351. p->addModel(modelMix8);
  1352. p->addModel(modelMix8x);
  1353. p->addModel(modelMix4);
  1354. p->addModel(modelMix4x);
  1355. p->addModel(modelMix2);
  1356. p->addModel(modelMix1);
  1357. p->addModel(modelVCM);
  1358. p->addModel(modelMute8);
  1359. p->addModel(modelPan);
  1360. p->addModel(modelXFade);
  1361. p->addModel(modelVCA);
  1362. p->addModel(modelVCAmp);
  1363. p->addModel(modelVelo);
  1364. p->addModel(modelUMix);
  1365. p->addModel(modelMumix);
  1366. p->addModel(modelMatrix81);
  1367. p->addModel(modelMatrix18);
  1368. p->addModel(modelMatrix44);
  1369. p->addModel(modelMatrix44Cvm);
  1370. p->addModel(modelMatrix88);
  1371. p->addModel(modelMatrix88Cv);
  1372. p->addModel(modelMatrix88M);
  1373. p->addModel(modelSwitch81);
  1374. p->addModel(modelSwitch18);
  1375. p->addModel(modelSwitch44);
  1376. p->addModel(modelSwitch88);
  1377. p->addModel(modelSwitch1616);
  1378. p->addModel(modelAMRM);
  1379. p->addModel(modelPressor);
  1380. p->addModel(modelClpr);
  1381. p->addModel(modelLmtr);
  1382. p->addModel(modelNsgt);
  1383. p->addModel(modelCmpDist);
  1384. p->addModel(modelOneEight);
  1385. p->addModel(modelEightOne);
  1386. p->addModel(modelAddrSeq);
  1387. p->addModel(modelAddrSeqX);
  1388. p->addModel(modelPgmr);
  1389. p->addModel(modelPgmrX);
  1390. p->addModel(modelVU);
  1391. p->addModel(modelAnalyzer);
  1392. p->addModel(modelAnalyzerXL);
  1393. p->addModel(modelRanalyzer);
  1394. p->addModel(modelDetune);
  1395. p->addModel(modelStack);
  1396. p->addModel(modelReftone);
  1397. p->addModel(modelMono);
  1398. p->addModel(modelArp);
  1399. p->addModel(modelAssign);
  1400. p->addModel(modelUnison);
  1401. p->addModel(modelPolyCon8);
  1402. p->addModel(modelPolyCon16);
  1403. p->addModel(modelPolyOff8);
  1404. p->addModel(modelPolyOff16);
  1405. p->addModel(modelPolyMult);
  1406. p->addModel(modelBool);
  1407. p->addModel(modelCmp);
  1408. p->addModel(modelCVD);
  1409. p->addModel(modelFlipFlop);
  1410. p->addModel(modelInv);
  1411. p->addModel(modelManual);
  1412. p->addModel(modelFourMan);
  1413. p->addModel(modelMult);
  1414. p->addModel(modelOffset);
  1415. p->addModel(modelSlew);
  1416. p->addModel(modelSums);
  1417. p->addModel(modelSwitch);
  1418. p->addModel(modelLgsw);
  1419. p->addModel(modelBlank3);
  1420. p->addModel(modelBlank6);
  1421. #ifdef EXPERIMENTAL
  1422. p->addModel(modelLag);
  1423. p->addModel(modelPEQ14XR);
  1424. p->addModel(modelPEQ14XV);
  1425. #endif
  1426. #ifdef TEST
  1427. p->addModel(modelTest);
  1428. p->addModel(modelTest2);
  1429. p->addModel(modelTestExpanderBase);
  1430. p->addModel(modelTestExpanderExtension);
  1431. p->addModel(modelTestGl);
  1432. p->addModel(modelTestVCF);
  1433. #endif
  1434. #undef modelADSR
  1435. #undef modelLFO
  1436. #undef modelNoise
  1437. #undef modelVCA
  1438. #undef modelVCF
  1439. #undef modelVCO
  1440. }
  1441. }
  1442. static void initStatic__CatroModulo()
  1443. {
  1444. Plugin* const p = new Plugin;
  1445. pluginInstance__CatroModulo = p;
  1446. const StaticPluginLoader spl(p, "CatroModulo");
  1447. if (spl.ok())
  1448. {
  1449. p->addModel(modelCM1Module);
  1450. p->addModel(modelCM2Module);
  1451. p->addModel(modelCM3Module);
  1452. p->addModel(modelCM4Module);
  1453. p->addModel(modelCM5Module);
  1454. p->addModel(modelCM6Module);
  1455. p->addModel(modelCM7Module);
  1456. p->addModel(modelCM8Module);
  1457. p->addModel(modelCM9Module);
  1458. p->addModel(modelCM10Module);
  1459. }
  1460. }
  1461. static void initStatic__cf()
  1462. {
  1463. Plugin* const p = new Plugin;
  1464. pluginInstance__cf = p;
  1465. const StaticPluginLoader spl(p, "cf");
  1466. if (spl.ok())
  1467. {
  1468. p->addModel(modelMETRO);
  1469. p->addModel(modelEACH);
  1470. p->addModel(modeltrSEQ);
  1471. p->addModel(modelLEDSEQ);
  1472. p->addModel(modelL3DS3Q);
  1473. p->addModel(modelSLIDERSEQ);
  1474. p->addModel(modelPLAYER);
  1475. p->addModel(modelPLAY);
  1476. p->addModel(modelMONO);
  1477. p->addModel(modelSTEREO);
  1478. p->addModel(modelSUB);
  1479. p->addModel(modelMASTER);
  1480. p->addModel(modelVARIABLE);
  1481. p->addModel(modelALGEBRA);
  1482. p->addModel(modelFUNKTION);
  1483. p->addModel(modelCHOKE);
  1484. p->addModel(modelFOUR);
  1485. p->addModel(modelSTEPS);
  1486. p->addModel(modelPEAK);
  1487. p->addModel(modelCUTS);
  1488. p->addModel(modelBUFFER);
  1489. p->addModel(modelDISTO);
  1490. p->addModel(modelCUBE);
  1491. p->addModel(modelPATCH);
  1492. p->addModel(modelLABEL);
  1493. p->addModel(modelDAVE);
  1494. }
  1495. }
  1496. static void initStatic__ChowDSP()
  1497. {
  1498. Plugin* const p = new Plugin;
  1499. pluginInstance__ChowDSP = p;
  1500. const StaticPluginLoader spl(p, "ChowDSP");
  1501. if (spl.ok())
  1502. {
  1503. p->addModel(modelChowTape);
  1504. p->addModel(modelChowPhaserFeedback);
  1505. p->addModel(modelChowPhaserMod);
  1506. p->addModel(modelChowFDN);
  1507. p->addModel(modelChowRNN);
  1508. p->addModel(modelChowModal);
  1509. p->addModel(modelChowDer);
  1510. p->addModel(modelWarp);
  1511. p->addModel(modelWerner);
  1512. p->addModel(modelCredit);
  1513. p->addModel(modelChowPulse);
  1514. p->addModel(modelChowTapeCompression);
  1515. p->addModel(modelChowTapeChew);
  1516. p->addModel(modelChowTapeDegrade);
  1517. p->addModel(modelChowTapeLoss);
  1518. p->addModel(modelChowChorus);
  1519. }
  1520. }
  1521. static void initStatic__DrumKit()
  1522. {
  1523. Plugin* const p = new Plugin;
  1524. pluginInstance__DrumKit = p;
  1525. const StaticPluginLoader spl(p, "DrumKit");
  1526. if (spl.ok())
  1527. {
  1528. setupSamples();
  1529. p->addModel(modelBD9);
  1530. p->addModel(modelSnare);
  1531. p->addModel(modelClosedHH);
  1532. p->addModel(modelOpenHH);
  1533. p->addModel(modelDMX);
  1534. p->addModel(modelCR78);
  1535. p->addModel(modelSBD);
  1536. p->addModel(modelGnome);
  1537. p->addModel(modelSequencer);
  1538. p->addModel(modelTomi);
  1539. p->addModel(modelBaronial);
  1540. p->addModel(modelMarionette);
  1541. }
  1542. }
  1543. static void initStatic__ESeries()
  1544. {
  1545. Plugin* const p = new Plugin;
  1546. pluginInstance__ESeries = p;
  1547. const StaticPluginLoader spl(p, "ESeries");
  1548. if (spl.ok())
  1549. {
  1550. p->addModel(modelE340);
  1551. }
  1552. }
  1553. static void initStatic__ExpertSleepersEncoders()
  1554. {
  1555. Plugin* const p = new Plugin;
  1556. pluginInstance__ExpertSleepersEncoders = p;
  1557. const StaticPluginLoader spl(p, "ExpertSleepers-Encoders");
  1558. if (spl.ok())
  1559. {
  1560. p->addModel(model8GT);
  1561. p->addModel(model8CV);
  1562. p->addModel(modelES40);
  1563. p->addModel(modelES5);
  1564. p->addModel(modelSMUX);
  1565. p->addModel(modelCalibrator);
  1566. }
  1567. }
  1568. static void initStatic__Extratone()
  1569. {
  1570. Plugin* const p = new Plugin;
  1571. pluginInstance__Extratone = p;
  1572. const StaticPluginLoader spl(p, "Extratone");
  1573. if (spl.ok())
  1574. {
  1575. p->addModel(modelModulo);
  1576. p->addModel(modelMesoglea);
  1577. p->addModel(modelMesoglea2);
  1578. p->addModel(modelOpabinia);
  1579. p->addModel(modelSplitterburst);
  1580. p->addModel(modelPuzzlebox);
  1581. p->addModel(modelDarwinism);
  1582. // p->addModel(modelHalluciMemory);
  1583. p->addModel(modelIchneumonid);
  1584. p->addModel(modelMeganeura);
  1585. p->addModel(modelPureneura);
  1586. p->addModel(modelMesohyl);
  1587. p->addModel(modelXtrtnBlank);
  1588. }
  1589. }
  1590. static void initStatic__FehlerFabrik()
  1591. {
  1592. Plugin* const p = new Plugin;
  1593. pluginInstance__FehlerFabrik = p;
  1594. const StaticPluginLoader spl(p, "FehlerFabrik");
  1595. if (spl.ok())
  1596. {
  1597. p->addModel(modelPSIOP);
  1598. p->addModel(modelPlanck);
  1599. p->addModel(modelLuigi);
  1600. p->addModel(modelAspect);
  1601. p->addModel(modelMonte);
  1602. p->addModel(modelArpanet);
  1603. p->addModel(modelSigma);
  1604. p->addModel(modelFax);
  1605. p->addModel(modelRasoir);
  1606. p->addModel(modelChi);
  1607. p->addModel(modelNova);
  1608. p->addModel(modelLilt);
  1609. p->addModel(modelBotzinger);
  1610. }
  1611. }
  1612. static void initStatic__forsitan()
  1613. {
  1614. Plugin* const p = new Plugin;
  1615. pluginInstance__forsitan = p;
  1616. const StaticPluginLoader spl(p, "forsitan-modulare");
  1617. if (spl.ok())
  1618. {
  1619. p->addModel(alea);
  1620. p->addModel(interea);
  1621. p->addModel(cumuli);
  1622. p->addModel(deinde);
  1623. p->addModel(pavo);
  1624. }
  1625. }
  1626. static void initStatic__GlueTheGiant()
  1627. {
  1628. Plugin* const p = new Plugin;
  1629. pluginInstance__GlueTheGiant = p;
  1630. const StaticPluginLoader spl(p, "GlueTheGiant");
  1631. if (spl.ok())
  1632. {
  1633. p->addModel(modelGigBus);
  1634. p->addModel(modelMiniBus);
  1635. p->addModel(modelSchoolBus);
  1636. p->addModel(modelMetroCityBus);
  1637. p->addModel(modelBusDepot);
  1638. p->addModel(modelBusRoute);
  1639. p->addModel(modelRoad);
  1640. p->addModel(modelEnterBus);
  1641. p->addModel(modelExitBus);
  1642. }
  1643. }
  1644. static void initStatic__GoodSheperd()
  1645. {
  1646. Plugin* const p = new Plugin;
  1647. pluginInstance__GoodSheperd = p;
  1648. const StaticPluginLoader spl(p, "GoodSheperd");
  1649. if (spl.ok())
  1650. {
  1651. p->addModel(modelHurdle);
  1652. p->addModel(modelSEQ3st);
  1653. p->addModel(modelStable16);
  1654. p->addModel(modelStall);
  1655. p->addModel(modelSwitch1);
  1656. p->addModel(modelSeqtrol);
  1657. }
  1658. }
  1659. static void initStatic__GrandeModular()
  1660. {
  1661. Plugin* const p = new Plugin;
  1662. pluginInstance__GrandeModular = p;
  1663. const StaticPluginLoader spl(p, "GrandeModular");
  1664. if (spl.ok())
  1665. {
  1666. p->addModel(modelClip);
  1667. p->addModel(modelLFO3);
  1668. p->addModel(modelLFO4);
  1669. p->addModel(modelLogic);
  1670. p->addModel(modelMerge8);
  1671. p->addModel(modelMergeSplit4);
  1672. p->addModel(modelMicrotonalChords);
  1673. p->addModel(modelMicrotonalNotes);
  1674. p->addModel(modelNoteMT);
  1675. p->addModel(modelPeak);
  1676. p->addModel(modelPolyMergeResplit);
  1677. p->addModel(modelPolySplit);
  1678. p->addModel(modelPush);
  1679. p->addModel(modelQuant);
  1680. p->addModel(modelQuantIntervals);
  1681. p->addModel(modelQuantMT);
  1682. p->addModel(modelSampleDelays);
  1683. p->addModel(modelScale);
  1684. p->addModel(modelSplit8);
  1685. p->addModel(modelTails);
  1686. p->addModel(modelVarSampleDelays);
  1687. p->addModel(modelVCA3);
  1688. p->addModel(modelVCA4);
  1689. }
  1690. }
  1691. static void initStatic__HamptonHarmonics()
  1692. {
  1693. Plugin* const p = new Plugin;
  1694. pluginInstance__HamptonHarmonics = p;
  1695. const StaticPluginLoader spl(p, "HamptonHarmonics");
  1696. if (spl.ok())
  1697. {
  1698. #define modelArp modelHamptonHarmonicsArp
  1699. #define modelProgress modelHamptonHarmonicsProgress
  1700. p->addModel(modelArp);
  1701. p->addModel(modelProgress);
  1702. #undef modelProgress
  1703. #undef modelArp
  1704. }
  1705. }
  1706. static void initStatic__HetrickCV()
  1707. {
  1708. Plugin* const p = new Plugin;
  1709. pluginInstance__HetrickCV = p;
  1710. const StaticPluginLoader spl(p, "HetrickCV");
  1711. if (spl.ok())
  1712. {
  1713. #define modelASR modelHetrickCVASR
  1714. #define modelBlankPanel modelHetrickCVBlankPanel
  1715. #define modelFlipFlop modelHetrickCVFlipFlop
  1716. #define modelMidSide modelHetrickCVMidSide
  1717. #define modelMinMax modelHetrickCVMinMax
  1718. p->addModel(modelTwoToFour);
  1719. p->addModel(modelAnalogToDigital);
  1720. p->addModel(modelASR);
  1721. p->addModel(modelBinaryGate);
  1722. p->addModel(modelBinaryNoise);
  1723. p->addModel(modelBitshift);
  1724. p->addModel(modelBlankPanel);
  1725. p->addModel(modelBoolean3);
  1726. p->addModel(modelChaos1Op);
  1727. p->addModel(modelChaos2Op);
  1728. p->addModel(modelChaos3Op);
  1729. p->addModel(modelChaoticAttractors);
  1730. p->addModel(modelClockedNoise);
  1731. p->addModel(modelComparator);
  1732. p->addModel(modelContrast);
  1733. p->addModel(modelCrackle);
  1734. p->addModel(modelDataCompander);
  1735. p->addModel(modelDelta);
  1736. p->addModel(modelDigitalToAnalog);
  1737. p->addModel(modelDust);
  1738. p->addModel(modelExponent);
  1739. p->addModel(modelFBSineChaos);
  1740. p->addModel(modelFlipFlop);
  1741. p->addModel(modelFlipPan);
  1742. p->addModel(modelGateJunction);
  1743. p->addModel(modelGingerbread);
  1744. p->addModel(modelLogicCombine);
  1745. p->addModel(modelMidSide);
  1746. p->addModel(modelMinMax);
  1747. p->addModel(modelRandomGates);
  1748. p->addModel(modelRotator);
  1749. p->addModel(modelRungler);
  1750. p->addModel(modelScanner);
  1751. p->addModel(modelWaveshape);
  1752. p->addModel(modelXYToPolar);
  1753. #undef modelASR
  1754. #undef modelBlankPanel
  1755. #undef modelFlipFlop
  1756. #undef modelMidSide
  1757. #undef modelMinMax
  1758. }
  1759. }
  1760. static void initStatic__ImpromptuModular()
  1761. {
  1762. Plugin* const p = new Plugin;
  1763. pluginInstance__ImpromptuModular = p;
  1764. const StaticPluginLoader spl(p, "ImpromptuModular");
  1765. if (spl.ok())
  1766. {
  1767. p->addModel(modelAdaptiveQuantizer);
  1768. p->addModel(modelBigButtonSeq);
  1769. p->addModel(modelBigButtonSeq2);
  1770. p->addModel(modelChordKey);
  1771. p->addModel(modelChordKeyExpander);
  1772. p->addModel(modelClocked);
  1773. p->addModel(modelClockedExpander);
  1774. p->addModel(modelClkd);
  1775. p->addModel(modelCvPad);
  1776. p->addModel(modelFoundry);
  1777. p->addModel(modelFoundryExpander);
  1778. p->addModel(modelFourView);
  1779. p->addModel(modelGateSeq64);
  1780. p->addModel(modelGateSeq64Expander);
  1781. p->addModel(modelHotkey);
  1782. p->addModel(modelPart);
  1783. p->addModel(modelPhraseSeq16);
  1784. p->addModel(modelPhraseSeq32);
  1785. p->addModel(modelPhraseSeqExpander);
  1786. p->addModel(modelProbKey);
  1787. p->addModel(modelSemiModularSynth);
  1788. p->addModel(modelSygen);
  1789. p->addModel(modelTact);
  1790. p->addModel(modelTact1);
  1791. p->addModel(modelTactG);
  1792. p->addModel(modelTwelveKey);
  1793. p->addModel(modelVariations);
  1794. p->addModel(modelWriteSeq32);
  1795. p->addModel(modelWriteSeq64);
  1796. p->addModel(modelBlankPanel);
  1797. }
  1798. }
  1799. static void initStatic__ihtsyn()
  1800. {
  1801. Plugin* const p = new Plugin;
  1802. pluginInstance__ihtsyn = p;
  1803. const StaticPluginLoader spl(p, "ihtsyn");
  1804. if (spl.ok())
  1805. {
  1806. p->addModel(modelPitchMangler);
  1807. p->addModel(modelTwistedVerb);
  1808. p->addModel(modelHiVerb);
  1809. p->addModel(modelMVerb);
  1810. }
  1811. }
  1812. static void initStatic__JW()
  1813. {
  1814. Plugin* const p = new Plugin;
  1815. pluginInstance__JW = p;
  1816. const StaticPluginLoader spl(p, "JW-Modules");
  1817. if (spl.ok())
  1818. {
  1819. #define modelQuantizer modelJWQuantizer
  1820. p->addModel(modelAdd5);
  1821. p->addModel(modelBouncyBalls);
  1822. p->addModel(modelCat);
  1823. p->addModel(modelTree);
  1824. p->addModel(modelFullScope);
  1825. p->addModel(modelGridSeq);
  1826. p->addModel(modelEightSeq);
  1827. p->addModel(modelDivSeq);
  1828. p->addModel(modelMinMax);
  1829. p->addModel(modelNoteSeq);
  1830. p->addModel(modelNoteSeqFu);
  1831. p->addModel(modelNoteSeq16);
  1832. p->addModel(modelTrigs);
  1833. p->addModel(modelOnePattern);
  1834. p->addModel(modelPatterns);
  1835. p->addModel(modelQuantizer);
  1836. p->addModel(modelSimpleClock);
  1837. p->addModel(modelD1v1de);
  1838. p->addModel(modelPres1t);
  1839. p->addModel(modelThingThing);
  1840. p->addModel(modelWavHead);
  1841. p->addModel(modelXYPad);
  1842. p->addModel(modelBlankPanel1hp);
  1843. p->addModel(modelBlankPanelSmall);
  1844. p->addModel(modelBlankPanelMedium);
  1845. p->addModel(modelBlankPanelLarge);
  1846. p->addModel(modelCoolBreeze);
  1847. p->addModel(modelPete);
  1848. #ifndef STATIC_BUILD
  1849. p->addModel(modelStr1ker);
  1850. #else
  1851. spl.removeModule("Str1ker");
  1852. #endif
  1853. #undef modelQuantizer
  1854. }
  1855. }
  1856. static void initStatic__kocmoc()
  1857. {
  1858. Plugin* const p = new Plugin;
  1859. pluginInstance__kocmoc= p;
  1860. const StaticPluginLoader spl(p, "kocmoc");
  1861. if (spl.ok())
  1862. {
  1863. p->addModel(modelSVF_1);
  1864. p->addModel(modelTRG);
  1865. p->addModel(modelLADR);
  1866. p->addModel(modelOP);
  1867. p->addModel(modelPHASR);
  1868. p->addModel(modelMUL);
  1869. p->addModel(modelSKF);
  1870. p->addModel(modelDDLY);
  1871. }
  1872. }
  1873. static void initStatic__LifeFormModular()
  1874. {
  1875. Plugin* const p = new Plugin;
  1876. pluginInstance__LifeFormModular= p;
  1877. const StaticPluginLoader spl(p, "LifeFormModular");
  1878. if (spl.ok())
  1879. {
  1880. p->addModel(modelTimeDiktat);
  1881. p->addModel(modelSequenceModeler);
  1882. p->addModel(modelPitchDiktat);
  1883. p->addModel(modelPitchIntegrator);
  1884. p->addModel(modelBurstIntegrator);
  1885. p->addModel(modelQuadModulator);
  1886. p->addModel(modelImpulseControl);
  1887. p->addModel(modelQuadSteppedOffset);
  1888. p->addModel(modelPercussiveVibration);
  1889. p->addModel(modelQuadUtility);
  1890. p->addModel(modelAdditiveVibration);
  1891. p->addModel(modelComplexOsc);
  1892. p->addModel(modelDriftgen);
  1893. }
  1894. }
  1895. static void initStatic__LilacLoop()
  1896. {
  1897. Plugin* const p = new Plugin;
  1898. pluginInstance__LilacLoop = p;
  1899. const StaticPluginLoader spl(p, "LilacLoop");
  1900. if (spl.ok())
  1901. {
  1902. p->addModel(modelLooperOne);
  1903. }
  1904. }
  1905. static void initStatic__LittleUtils()
  1906. {
  1907. Plugin* const p = new Plugin;
  1908. pluginInstance__LittleUtils = p;
  1909. const StaticPluginLoader spl(p, "LittleUtils");
  1910. if (spl.ok())
  1911. {
  1912. p->addModel(modelButtonModule);
  1913. p->addModel(modelPulseGenerator);
  1914. p->addModel(modelBias_Semitone);
  1915. p->addModel(modelMulDiv);
  1916. p->addModel(modelTeleportInModule);
  1917. p->addModel(modelTeleportOutModule);
  1918. }
  1919. }
  1920. static void initStatic__Lomas()
  1921. {
  1922. Plugin* const p = new Plugin;
  1923. pluginInstance__Lomas = p;
  1924. const StaticPluginLoader spl(p, "LomasModules");
  1925. if (spl.ok())
  1926. {
  1927. p->addModel(modelAdvancedSampler);
  1928. p->addModel(modelGateSequencer);
  1929. }
  1930. }
  1931. static void initStatic__Lyrae()
  1932. {
  1933. Plugin* const p = new Plugin;
  1934. pluginInstance__Lyrae = p;
  1935. const StaticPluginLoader spl(p, "LyraeModules");
  1936. if (spl.ok())
  1937. {
  1938. #define modelDelta modelLyraeDelta
  1939. p->addModel(modelSulafat);
  1940. p->addModel(modelGamma);
  1941. p->addModel(modelDelta);
  1942. p->addModel(modelVega);
  1943. p->addModel(modelBD383238);
  1944. p->addModel(modelZeta);
  1945. #undef modelDelta
  1946. }
  1947. }
  1948. static void initStatic__Meander()
  1949. {
  1950. Plugin* const p = new Plugin;
  1951. pluginInstance__Meander = p;
  1952. const StaticPluginLoader spl(p, "Meander");
  1953. if (spl.ok())
  1954. {
  1955. // for dark theme
  1956. panelTheme = 1;
  1957. p->addModel(modelMeander);
  1958. }
  1959. }
  1960. static void initStatic__MindMeld()
  1961. {
  1962. Plugin* const p = new Plugin;
  1963. pluginInstance__MindMeld = p;
  1964. const StaticPluginLoader spl(p, "MindMeldModular");
  1965. if (spl.ok())
  1966. {
  1967. p->addModel(modelMixMasterJr);
  1968. p->addModel(modelAuxExpanderJr);
  1969. p->addModel(modelMixMaster);
  1970. p->addModel(modelAuxExpander);
  1971. p->addModel(modelMeld);
  1972. p->addModel(modelUnmeld);
  1973. p->addModel(modelMSMelder);
  1974. p->addModel(modelEqMaster);
  1975. p->addModel(modelEqExpander);
  1976. p->addModel(modelBassMaster);
  1977. p->addModel(modelBassMasterJr);
  1978. p->addModel(modelShapeMaster);
  1979. }
  1980. }
  1981. static void initStatic__ML()
  1982. {
  1983. Plugin* const p = new Plugin;
  1984. pluginInstance__ML = p;
  1985. const StaticPluginLoader spl(p, "ML_modules");
  1986. if (spl.ok())
  1987. {
  1988. #define modelQuantizer modelMLQuantizer
  1989. #define modelSH8 modelMLSH8
  1990. p->addModel(modelQuantizer);
  1991. p->addModel(modelQuantum);
  1992. p->addModel(modelTrigBuf);
  1993. p->addModel(modelSeqSwitch);
  1994. p->addModel(modelSeqSwitch2);
  1995. p->addModel(modelShiftRegister);
  1996. p->addModel(modelShiftRegister2);
  1997. p->addModel(modelFreeVerb);
  1998. p->addModel(modelSum8);
  1999. p->addModel(modelSum8mk2);
  2000. p->addModel(modelSum8mk3);
  2001. p->addModel(modelSH8);
  2002. p->addModel(modelConstants);
  2003. p->addModel(modelCounter);
  2004. p->addModel(modelTrigDelay);
  2005. p->addModel(modelBPMdetect);
  2006. p->addModel(modelVoltMeter);
  2007. p->addModel(modelOctaFlop);
  2008. p->addModel(modelOctaTrig);
  2009. p->addModel(modelOctaSwitch);
  2010. p->addModel(modelTrigSwitch);
  2011. p->addModel(modelTrigSwitch2);
  2012. p->addModel(modelTrigSwitch3);
  2013. p->addModel(modelTrigSwitch3_2);
  2014. p->addModel(modelOctaPlus);
  2015. p->addModel(modelOctaTimes);
  2016. p->addModel(modelCloner);
  2017. p->addModel(modelPolySplitter);
  2018. p->addModel(modelArpeggiator);
  2019. #undef modelQuantizer
  2020. #undef modelSH8
  2021. }
  2022. }
  2023. static void initStatic__MockbaModular()
  2024. {
  2025. Plugin* const p = new Plugin;
  2026. pluginInstance__MockbaModular = p;
  2027. const StaticPluginLoader spl(p, "MockbaModular");
  2028. if (spl.ok())
  2029. {
  2030. #define modelBlank modelMockbaModularBlank
  2031. #define modelComparator modelMockbaModularComparator
  2032. p->addModel(modelBlank);
  2033. p->addModel(modelFeidah);
  2034. p->addModel(modelFeidahS);
  2035. p->addModel(modelFiltah);
  2036. p->addModel(modelMixah);
  2037. p->addModel(modelMixah3);
  2038. p->addModel(modelDividah);
  2039. p->addModel(modelCountah);
  2040. p->addModel(modelSelectah);
  2041. p->addModel(modelShapah);
  2042. p->addModel(modelHoldah);
  2043. p->addModel(modelPannah);
  2044. p->addModel(modelReVoltah);
  2045. p->addModel(modelCZSaw);
  2046. p->addModel(modelCZSquare);
  2047. p->addModel(modelCZPulse);
  2048. p->addModel(modelCZDblSine);
  2049. p->addModel(modelCZSawPulse);
  2050. p->addModel(modelCZReso1);
  2051. p->addModel(modelCZReso2);
  2052. p->addModel(modelCZReso3);
  2053. p->addModel(modelCZOsc);
  2054. p->addModel(modelMaugTriangle);
  2055. p->addModel(modelMaugShark);
  2056. p->addModel(modelMaugSaw);
  2057. p->addModel(modelMaugSaw2);
  2058. p->addModel(modelMaugSquare);
  2059. p->addModel(modelMaugSquare2);
  2060. p->addModel(modelMaugSquare3);
  2061. p->addModel(modelMaugOsc);
  2062. p->addModel(modelComparator);
  2063. p->addModel(modelDualBUFFER);
  2064. p->addModel(modelDualNOT);
  2065. p->addModel(modelDualOR);
  2066. p->addModel(modelDualNOR);
  2067. p->addModel(modelDualAND);
  2068. p->addModel(modelDualNAND);
  2069. p->addModel(modelDualXOR);
  2070. p->addModel(modelDualXNOR);
  2071. p->addModel(modelPSelectah);
  2072. // require input files to work
  2073. spl.removeModule("UDPClockMaster");
  2074. spl.removeModule("UDPClockSlave");
  2075. #undef modelBlank
  2076. #undef modelComparator
  2077. }
  2078. }
  2079. static void initStatic__Mog()
  2080. {
  2081. Plugin* const p = new Plugin;
  2082. pluginInstance__Mog = p;
  2083. const StaticPluginLoader spl(p, "Mog");
  2084. if (spl.ok())
  2085. {
  2086. p->addModel(modelNetwork);
  2087. p->addModel(modelNexus);
  2088. }
  2089. }
  2090. static void initStatic__mscHack()
  2091. {
  2092. Plugin* const p = new Plugin;
  2093. pluginInstance__mscHack = p;
  2094. const StaticPluginLoader spl(p, "mscHack");
  2095. if (spl.ok())
  2096. {
  2097. p->addModel(modelCompressor);
  2098. p->addModel(modelSynthDrums);
  2099. p->addModel(modelSEQ_6x32x16);
  2100. p->addModel(modelMasterClockx4);
  2101. //p->addModel(modelMasterClockx8);
  2102. p->addModel(modelSEQ_Envelope_8);
  2103. p->addModel(modelSeq_Triad2);
  2104. p->addModel(modelARP700);
  2105. p->addModel(modelMix_4_0_4);
  2106. p->addModel(modelMix_9_3_4);
  2107. p->addModel(modelMix_16_4_4);
  2108. p->addModel(modelMix_24_4_4);
  2109. p->addModel(modelASAF8);
  2110. p->addModel(modelPingPong);
  2111. p->addModel(modelStepDelay);
  2112. p->addModel(modelOsc_3Ch);
  2113. p->addModel(modelDronez);
  2114. p->addModel(modelMorze);
  2115. p->addModel(modelWindz);
  2116. p->addModel(modelLorenz);
  2117. p->addModel(modelAlienz);
  2118. p->addModel(modelOSC_WaveMorph_3);
  2119. p->addModel(modelMaude_221);
  2120. }
  2121. }
  2122. static void initStatic__MSM()
  2123. {
  2124. Plugin* const p = new Plugin;
  2125. pluginInstance__MSM = p;
  2126. const StaticPluginLoader spl(p, "MSM");
  2127. if (spl.ok())
  2128. {
  2129. #define modelADSR modelMSMADSR
  2130. #define modelBlankPanel modelMSMBlankPanel
  2131. #define modelDelay modelMSMDelay
  2132. #define modelLFO modelMSMLFO
  2133. #define modelMult modelMSMMult
  2134. #define modelNoise modelMSMNoise
  2135. #define modelVCA modelMSMVCA
  2136. #define modelVCO modelMSMVCO
  2137. p->addModel(modelVCO);
  2138. p->addModel(modelBVCO);
  2139. p->addModel(modelExperimentalVCO);
  2140. p->addModel(modelNoise);
  2141. p->addModel(modelLFO);
  2142. p->addModel(modelVCA);
  2143. p->addModel(modelADSR);
  2144. p->addModel(modelDelay);
  2145. p->addModel(modelWaveShaper);
  2146. p->addModel(modelWavefolder);
  2147. p->addModel(modelBitcrusher);
  2148. p->addModel(modelPhaserModule);
  2149. p->addModel(modelMorpher);
  2150. p->addModel(modelRingMod);
  2151. p->addModel(modelRandomSource);
  2152. p->addModel(modelMult);
  2153. p->addModel(modelCrazyMult);
  2154. p->addModel(modelFade);
  2155. p->addModel(modelSimpleSlider);
  2156. p->addModel(modelxseq);
  2157. p->addModel(modelBlankPanel);
  2158. #undef modelADSR
  2159. #undef modelBlankPanel
  2160. #undef modelDelay
  2161. #undef modelLFO
  2162. #undef modelMult
  2163. #undef modelNoise
  2164. #undef modelVCA
  2165. #undef modelVCO
  2166. }
  2167. }
  2168. static void initStatic__myth_modules()
  2169. {
  2170. Plugin* const p = new Plugin;
  2171. pluginInstance__myth_modules = p;
  2172. const StaticPluginLoader spl(p, "myth-modules");
  2173. if (spl.ok())
  2174. {
  2175. p->addModel(modelMavka);
  2176. p->addModel(modelMolphar);
  2177. }
  2178. }
  2179. static void initStatic__nonlinearcircuits()
  2180. {
  2181. Plugin* const p = new Plugin;
  2182. pluginInstance__nonlinearcircuits = p;
  2183. const StaticPluginLoader spl(p, "nonlinearcircuits");
  2184. if (spl.ok())
  2185. {
  2186. p->addModel(model4Seq);
  2187. p->addModel(modelCipher);
  2188. p->addModel(modelBOOLs);
  2189. p->addModel(modelDivideConquer);
  2190. p->addModel(modelDivineCMOS);
  2191. p->addModel(modelDoubleNeuron);
  2192. p->addModel(modelGenie);
  2193. p->addModel(modelLetsSplosh);
  2194. p->addModel(modelNeuron);
  2195. p->addModel(modelNumberwang);
  2196. p->addModel(modelSegue);
  2197. p->addModel(modelSquidAxon);
  2198. p->addModel(modelStatues);
  2199. }
  2200. }
  2201. static void initStatic__Orbits()
  2202. {
  2203. Plugin* const p = new Plugin;
  2204. pluginInstance__Orbits = p;
  2205. const StaticPluginLoader spl(p, "Orbits");
  2206. if (spl.ok())
  2207. {
  2208. p->addModel(modelRareBreeds_Orbits_Eugene);
  2209. p->addModel(modelRareBreeds_Orbits_Polygene);
  2210. }
  2211. }
  2212. static void initStatic__ParableInstruments()
  2213. {
  2214. Plugin* const p = new Plugin;
  2215. pluginInstance__ParableInstruments = p;
  2216. const StaticPluginLoader spl(p, "ParableInstruments");
  2217. if (spl.ok())
  2218. {
  2219. #define modelClouds modelParableClouds
  2220. p->addModel(modelClouds);
  2221. #undef modelClouds
  2222. }
  2223. }
  2224. static void initStatic__PathSet()
  2225. {
  2226. Plugin* const p = new Plugin;
  2227. pluginInstance__PathSet = p;
  2228. const StaticPluginLoader spl(p, "PathSet");
  2229. if (spl.ok())
  2230. {
  2231. p->addModel(modelShiftyMod);
  2232. p->addModel(modelShiftyExpander);
  2233. p->addModel(modelIceTray);
  2234. p->addModel(modelAstroVibe);
  2235. p->addModel(modelGlassPane);
  2236. p->addModel(modelNudge);
  2237. }
  2238. }
  2239. static void initStatic__PinkTrombone()
  2240. {
  2241. Plugin* const p = new Plugin;
  2242. pluginInstance__PinkTrombone = p;
  2243. const StaticPluginLoader spl(p, "PinkTrombone");
  2244. if (spl.ok())
  2245. {
  2246. p->addModel(modelPinkTrombone);
  2247. }
  2248. }
  2249. static void initStatic__Prism()
  2250. {
  2251. Plugin* const p = new Plugin;
  2252. pluginInstance__Prism = p;
  2253. const StaticPluginLoader spl(p, "Prism");
  2254. if (spl.ok())
  2255. {
  2256. p->addModel(modelRainbow);
  2257. p->addModel(modelRainbowScaleExpander);
  2258. p->addModel(modelDroplet);
  2259. }
  2260. }
  2261. static void initStatic__rackwindows()
  2262. {
  2263. Plugin* const p = new Plugin;
  2264. pluginInstance__rackwindows = p;
  2265. const StaticPluginLoader spl(p, "rackwindows");
  2266. if (spl.ok())
  2267. {
  2268. // p->addModel(modelAcceleration);
  2269. p->addModel(modelBitshiftgain);
  2270. p->addModel(modelCapacitor);
  2271. p->addModel(modelCapacitor_stereo);
  2272. p->addModel(modelChorus);
  2273. p->addModel(modelConsole);
  2274. p->addModel(modelConsole_mm);
  2275. p->addModel(modelDistance);
  2276. p->addModel(modelGolem);
  2277. p->addModel(modelHolt);
  2278. p->addModel(modelHombre);
  2279. p->addModel(modelInterstage);
  2280. p->addModel(modelMonitoring);
  2281. p->addModel(modelMv);
  2282. p->addModel(modelRasp);
  2283. p->addModel(modelReseq);
  2284. p->addModel(modelTape);
  2285. p->addModel(modelTremolo);
  2286. p->addModel(modelVibrato);
  2287. }
  2288. }
  2289. static void initStatic__repelzen()
  2290. {
  2291. Plugin* const p = new Plugin;
  2292. pluginInstance__repelzen = p;
  2293. const StaticPluginLoader spl(p, "repelzen");
  2294. if (spl.ok())
  2295. {
  2296. #define modelBlank modelrepelzenBlank
  2297. #define modelMixer modelrepelzenMixer
  2298. #define modelWerner modelrepelzenWerner
  2299. p->addModel(modelBlank);
  2300. p->addModel(modelBurst);
  2301. p->addModel(modelFolder);
  2302. p->addModel(modelErwin);
  2303. p->addModel(modelWerner);
  2304. p->addModel(modelMixer);
  2305. #undef modelBlank
  2306. #undef modelMixer
  2307. #undef modelWerner
  2308. }
  2309. }
  2310. static void initStatic__sonusmodular()
  2311. {
  2312. Plugin* const p = new Plugin;
  2313. pluginInstance__sonusmodular = p;
  2314. const StaticPluginLoader spl(p, "sonusmodular");
  2315. if (spl.ok())
  2316. {
  2317. p->addModel(modelAddiction);
  2318. p->addModel(modelBitter);
  2319. p->addModel(modelBymidside);
  2320. p->addModel(modelCampione);
  2321. p->addModel(modelChainsaw);
  2322. p->addModel(modelCtrl);
  2323. p->addModel(modelDeathcrush);
  2324. p->addModel(modelFraction);
  2325. p->addModel(modelHarmony);
  2326. p->addModel(modelLadrone);
  2327. p->addModel(modelLuppolo);
  2328. p->addModel(modelLuppolo3);
  2329. p->addModel(modelMicromacro);
  2330. p->addModel(modelMrcheb);
  2331. p->addModel(modelMultimulti);
  2332. p->addModel(modelNeurosc);
  2333. p->addModel(modelOktagon);
  2334. p->addModel(modelOsculum);
  2335. p->addModel(modelParamath);
  2336. p->addModel(modelPiconoise);
  2337. p->addModel(modelPith);
  2338. p->addModel(modelPusher);
  2339. p->addModel(modelRingo);
  2340. p->addModel(modelScramblase);
  2341. p->addModel(modelTropicana);
  2342. p->addModel(modelTwoff);
  2343. p->addModel(modelYabp);
  2344. }
  2345. }
  2346. static void initStatic__stocaudio()
  2347. {
  2348. Plugin* const p = new Plugin;
  2349. pluginInstance__stocaudio = p;
  2350. const StaticPluginLoader spl(p, "stocaudio");
  2351. if (spl.ok())
  2352. {
  2353. p->addModel(modelPolyturing);
  2354. p->addModel(modelPolydelay);
  2355. p->addModel(modelSpread);
  2356. }
  2357. }
  2358. static void initStatic__unless_modules()
  2359. {
  2360. Plugin* const p = new Plugin;
  2361. pluginInstance__unless_modules = p;
  2362. const StaticPluginLoader spl(p, "unless_modules");
  2363. if (spl.ok())
  2364. {
  2365. // unless_modules::init_theme();
  2366. // theme = _less::Theme();
  2367. p->addModel(modelPiong);
  2368. p->addModel(modelChainkov);
  2369. p->addModel(modelAtoms);
  2370. p->addModel(modelCantor);
  2371. p->addModel(modelRoom);
  2372. p->addModel(modelSnake);
  2373. p->addModel(modelTowers);
  2374. p->addModel(modelPianoid);
  2375. p->addModel(modelPremuter);
  2376. p->addModel(modelAvoider);
  2377. }
  2378. }
  2379. static void initStatic__ValleyAudio()
  2380. {
  2381. Plugin* const p = new Plugin;
  2382. pluginInstance__ValleyAudio = p;
  2383. const StaticPluginLoader spl(p, "ValleyAudio");
  2384. if (spl.ok())
  2385. {
  2386. p->addModel(modelTopograph);
  2387. p->addModel(modelUGraph);
  2388. p->addModel(modelDexter);
  2389. p->addModel(modelPlateau);
  2390. p->addModel(modelInterzone);
  2391. p->addModel(modelAmalgam);
  2392. p->addModel(modelFeline);
  2393. p->addModel(modelTerrorform);
  2394. }
  2395. }
  2396. static void initStatic__Voxglitch()
  2397. {
  2398. Plugin* p = new Plugin;
  2399. pluginInstance__Voxglitch = p;
  2400. const StaticPluginLoader spl(p, "voxglitch");
  2401. if (spl.ok())
  2402. {
  2403. #define modelLooper modelVoxglitchLooper
  2404. p->addModel(modelAutobreak);
  2405. p->addModel(modelByteBeat);
  2406. p->addModel(modelDigitalProgrammer);
  2407. p->addModel(modelDigitalSequencer);
  2408. p->addModel(modelDigitalSequencerXP);
  2409. p->addModel(modelGlitchSequencer);
  2410. p->addModel(modelGhosts);
  2411. p->addModel(modelGoblins);
  2412. p->addModel(modelGrainEngine);
  2413. p->addModel(modelGrainEngineMK2);
  2414. p->addModel(modelGrainEngineMK2Expander);
  2415. p->addModel(modelGrainFx);
  2416. p->addModel(modelHazumi);
  2417. p->addModel(modelLooper);
  2418. p->addModel(modelRepeater);
  2419. p->addModel(modelSamplerX8);
  2420. p->addModel(modelSatanonaut);
  2421. p->addModel(modelGrooveBox);
  2422. p->addModel(modelGrooveBoxExpander);
  2423. p->addModel(modelWavBank);
  2424. p->addModel(modelWavBankMC);
  2425. p->addModel(modelXY);
  2426. #undef modelLooper
  2427. }
  2428. }
  2429. static void initStatic__WhatTheRack()
  2430. {
  2431. Plugin* p = new Plugin;
  2432. pluginInstance__WhatTheRack = p;
  2433. const StaticPluginLoader spl(p, "WhatTheRack");
  2434. if (spl.ok())
  2435. {
  2436. p->addModel(modelWhatTheRack);
  2437. p->addModel(modelWhatTheMod);
  2438. p->addModel(modelWhatTheJack);
  2439. }
  2440. }
  2441. static void initStatic__ZetaCarinaeModules()
  2442. {
  2443. Plugin* p = new Plugin;
  2444. pluginInstance__ZetaCarinaeModules = p;
  2445. const StaticPluginLoader spl(p, "ZetaCarinaeModules");
  2446. if (spl.ok())
  2447. {
  2448. p->addModel(modelBrownianBridge);
  2449. p->addModel(modelOrnsteinUhlenbeck);
  2450. p->addModel(modelIOU);
  2451. p->addModel(modelWarbler);
  2452. p->addModel(modelRosenchance);
  2453. p->addModel(modelGuildensTurn);
  2454. p->addModel(modelRosslerRustler);
  2455. p->addModel(modelFirefly);
  2456. }
  2457. }
  2458. static void initStatic__ZZC()
  2459. {
  2460. Plugin* p = new Plugin;
  2461. pluginInstance__ZZC = p;
  2462. const StaticPluginLoader spl(p, "ZZC");
  2463. if (spl.ok())
  2464. {
  2465. #define modelClock modelZZCClock
  2466. p->addModel(modelClock);
  2467. p->addModel(modelDivider);
  2468. p->addModel(modelFN3);
  2469. p->addModel(modelSCVCA);
  2470. p->addModel(modelSH8);
  2471. p->addModel(modelSRC);
  2472. p->addModel(modelDiv);
  2473. p->addModel(modelDivExp);
  2474. p->addModel(modelPolygate);
  2475. #undef modelClock
  2476. }
  2477. }
  2478. #endif // NOPLUGINS
  2479. void initStaticPlugins()
  2480. {
  2481. initStatic__Cardinal();
  2482. initStatic__Fundamental();
  2483. #ifndef NOPLUGINS
  2484. initStatic__21kHz();
  2485. initStatic__8Mode();
  2486. initStatic__AaronStatic();
  2487. initStatic__Algoritmarte();
  2488. initStatic__AmalgamatedHarmonics();
  2489. initStatic__AnimatedCircuits();
  2490. initStatic__ArableInstruments();
  2491. initStatic__Aria();
  2492. initStatic__AS();
  2493. initStatic__AudibleInstruments();
  2494. initStatic__Autinn();
  2495. initStatic__Axioma();
  2496. initStatic__Bacon();
  2497. initStatic__Befaco();
  2498. initStatic__Bidoo();
  2499. initStatic__BogaudioModules();
  2500. initStatic__CatroModulo();
  2501. initStatic__cf();
  2502. initStatic__ChowDSP();
  2503. initStatic__DrumKit();
  2504. initStatic__ESeries();
  2505. initStatic__ExpertSleepersEncoders();
  2506. initStatic__Extratone();
  2507. initStatic__FehlerFabrik();
  2508. initStatic__forsitan();
  2509. initStatic__GlueTheGiant();
  2510. initStatic__GoodSheperd();
  2511. initStatic__GrandeModular();
  2512. initStatic__HamptonHarmonics();
  2513. initStatic__HetrickCV();
  2514. initStatic__ImpromptuModular();
  2515. initStatic__ihtsyn();
  2516. initStatic__JW();
  2517. initStatic__kocmoc();
  2518. initStatic__LifeFormModular();
  2519. initStatic__LilacLoop();
  2520. initStatic__LittleUtils();
  2521. initStatic__Lomas();
  2522. initStatic__Lyrae();
  2523. initStatic__Meander();
  2524. initStatic__MindMeld();
  2525. initStatic__ML();
  2526. initStatic__MockbaModular();
  2527. initStatic__Mog();
  2528. initStatic__mscHack();
  2529. initStatic__MSM();
  2530. initStatic__myth_modules();
  2531. initStatic__nonlinearcircuits();
  2532. initStatic__Orbits();
  2533. initStatic__ParableInstruments();
  2534. initStatic__PathSet();
  2535. initStatic__PinkTrombone();
  2536. initStatic__Prism();
  2537. initStatic__rackwindows();
  2538. initStatic__repelzen();
  2539. initStatic__sonusmodular();
  2540. initStatic__stocaudio();
  2541. initStatic__unless_modules();
  2542. initStatic__ValleyAudio();
  2543. initStatic__Voxglitch();
  2544. initStatic__WhatTheRack();
  2545. initStatic__ZetaCarinaeModules();
  2546. initStatic__ZZC();
  2547. #endif // NOPLUGINS
  2548. }
  2549. void destroyStaticPlugins()
  2550. {
  2551. for (Plugin* p : plugins)
  2552. delete p;
  2553. plugins.clear();
  2554. }
  2555. }
  2556. }