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.

2775 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(modelGlBars);
  802. p->addModel(modelHostAudio2);
  803. p->addModel(modelHostAudio8);
  804. p->addModel(modelHostCV);
  805. p->addModel(modelHostMIDI);
  806. p->addModel(modelHostMIDICC);
  807. p->addModel(modelHostMIDIGate);
  808. p->addModel(modelHostMIDIMap);
  809. p->addModel(modelHostParameters);
  810. p->addModel(modelHostParametersMap);
  811. p->addModel(modelHostTime);
  812. p->addModel(modelTextEditor);
  813. #ifndef STATIC_BUILD
  814. p->addModel(modelAudioFile);
  815. p->addModel(modelCarla);
  816. p->addModel(modelIldaeil);
  817. #else
  818. spl.removeModule("AudioFile");
  819. spl.removeModule("Carla");
  820. spl.removeModule("Ildaeil");
  821. #endif
  822. #ifndef HEADLESS
  823. p->addModel(modelSassyScope);
  824. #else
  825. spl.removeModule("SassyScope");
  826. #endif
  827. #if defined(HAVE_X11) && !defined(HEADLESS) && !defined(STATIC_BUILD)
  828. p->addModel(modelMPV);
  829. #else
  830. spl.removeModule("MPV");
  831. #endif
  832. #ifdef HAVE_FFTW3F
  833. p->addModel(modelAudioToCVPitch);
  834. #else
  835. spl.removeModule("AudioToCVPitch");
  836. #endif
  837. hostTerminalModels = {
  838. modelHostAudio2,
  839. modelHostAudio8,
  840. modelHostCV,
  841. modelHostMIDI,
  842. modelHostMIDICC,
  843. modelHostMIDIGate,
  844. modelHostMIDIMap,
  845. modelHostParameters,
  846. modelHostParametersMap,
  847. modelHostTime,
  848. };
  849. }
  850. }
  851. static void initStatic__Fundamental()
  852. {
  853. Plugin* const p = new Plugin;
  854. pluginInstance__Fundamental = p;
  855. const StaticPluginLoader spl(p, "Fundamental");
  856. if (spl.ok())
  857. {
  858. p->addModel(model_8vert);
  859. p->addModel(modelADSR);
  860. p->addModel(modelDelay);
  861. p->addModel(modelLFO);
  862. p->addModel(modelLFO2);
  863. p->addModel(modelMerge);
  864. p->addModel(modelMidSide);
  865. p->addModel(modelMixer);
  866. p->addModel(modelMutes);
  867. p->addModel(modelNoise);
  868. p->addModel(modelOctave);
  869. p->addModel(modelPulses);
  870. p->addModel(modelQuantizer);
  871. p->addModel(modelRandom);
  872. p->addModel(modelScope);
  873. p->addModel(modelSEQ3);
  874. p->addModel(modelSequentialSwitch1);
  875. p->addModel(modelSequentialSwitch2);
  876. p->addModel(modelSplit);
  877. p->addModel(modelSum);
  878. p->addModel(modelVCA);
  879. p->addModel(modelVCA_1);
  880. p->addModel(modelVCF);
  881. p->addModel(modelVCMixer);
  882. p->addModel(modelVCO);
  883. p->addModel(modelVCO2);
  884. }
  885. }
  886. #ifndef NOPLUGINS
  887. static void initStatic__21kHz()
  888. {
  889. Plugin* const p = new Plugin;
  890. pluginInstance__21kHz = p;
  891. const StaticPluginLoader spl(p, "21kHz");
  892. if (spl.ok())
  893. {
  894. p->addModel(modelPalmLoop);
  895. p->addModel(modelD_Inf);
  896. p->addModel(modelTachyonEntangler);
  897. }
  898. }
  899. static void initStatic__8Mode()
  900. {
  901. Plugin* const p = new Plugin;
  902. pluginInstance__8Mode = p;
  903. const StaticPluginLoader spl(p, "8Mode");
  904. if (spl.ok())
  905. {
  906. p->addModel(modelsoftSN);
  907. }
  908. }
  909. static void initStatic__AaronStatic()
  910. {
  911. Plugin* const p = new Plugin;
  912. pluginInstance__AaronStatic = p;
  913. const StaticPluginLoader spl(p, "AaronStatic");
  914. if (spl.ok())
  915. {
  916. p->addModel(modelChordCV);
  917. p->addModel(modelScaleCV);
  918. p->addModel(modelRandomNoteCV);
  919. p->addModel(modelDiatonicCV);
  920. }
  921. }
  922. static void initStatic__Algoritmarte()
  923. {
  924. Plugin* const p = new Plugin;
  925. pluginInstance__Algoritmarte = p;
  926. const StaticPluginLoader spl(p, "Algoritmarte");
  927. if (spl.ok())
  928. {
  929. p->addModel(modelClockkky);
  930. p->addModel(modelPlanetz);
  931. p->addModel(modelMusiFrog);
  932. p->addModel(modelZefiro);
  933. p->addModel(modelHoldMeTight);
  934. p->addModel(modelCyclicCA);
  935. p->addModel(modelMusiMath);
  936. }
  937. }
  938. static void initStatic__AmalgamatedHarmonics()
  939. {
  940. Plugin* const p = new Plugin;
  941. pluginInstance__AmalgamatedHarmonics = p;
  942. const StaticPluginLoader spl(p, "AmalgamatedHarmonics");
  943. if (spl.ok())
  944. {
  945. p->addModel(modelArp31);
  946. p->addModel(modelArp32);
  947. p->addModel(modelBombe);
  948. p->addModel(modelChord);
  949. p->addModel(modelCircle);
  950. p->addModel(modelGalaxy);
  951. p->addModel(modelGenerative);
  952. p->addModel(modelImp);
  953. p->addModel(modelImperfect2);
  954. p->addModel(modelProgress2);
  955. p->addModel(modelRuckus);
  956. p->addModel(modelScaleQuantizer2);
  957. p->addModel(modelSLN);
  958. p->addModel(modelMuxDeMux);
  959. p->addModel(modelPolyProbe);
  960. p->addModel(modelPolyScope);
  961. p->addModel(modelPolyUtils);
  962. p->addModel(modelPolyVolt);
  963. p->addModel(modelScaleQuantizer);
  964. p->addModel(modelArpeggiator2);
  965. p->addModel(modelProgress);
  966. }
  967. }
  968. static void initStatic__AnimatedCircuits()
  969. {
  970. Plugin* const p = new Plugin;
  971. pluginInstance__AnimatedCircuits = p;
  972. const StaticPluginLoader spl(p, "AnimatedCircuits");
  973. if (spl.ok())
  974. {
  975. p->addModel(model_AC_Folding);
  976. p->addModel(model_AC_LFold);
  977. }
  978. }
  979. static void initStatic__ArableInstruments()
  980. {
  981. Plugin* const p = new Plugin;
  982. pluginInstance__ArableInstruments = p;
  983. const StaticPluginLoader spl(p, "ArableInstruments");
  984. if (spl.ok())
  985. {
  986. #define modelClouds modelArableClouds
  987. p->addModel(modelClouds);
  988. #undef modelClouds
  989. }
  990. }
  991. static void initStatic__Aria()
  992. {
  993. Plugin* const p = new Plugin;
  994. pluginInstance__Aria = p;
  995. const StaticPluginLoader spl(p, "AriaModules");
  996. if (spl.ok())
  997. {
  998. #define modelBlank modelAriaBlank
  999. p->addModel(modelSplort);
  1000. p->addModel(modelSmerge);
  1001. p->addModel(modelSpleet);
  1002. p->addModel(modelSwerge);
  1003. p->addModel(modelSplirge);
  1004. p->addModel(modelQqqq);
  1005. p->addModel(modelQuack);
  1006. p->addModel(modelQ);
  1007. p->addModel(modelQuale);
  1008. p->addModel(modelDarius);
  1009. p->addModel(modelSolomon4);
  1010. p->addModel(modelSolomon8);
  1011. p->addModel(modelSolomon16);
  1012. p->addModel(modelPsychopump);
  1013. p->addModel(modelPokies4);
  1014. p->addModel(modelGrabby);
  1015. p->addModel(modelRotatoes4);
  1016. p->addModel(modelUndular);
  1017. p->addModel(modelBlank);
  1018. #undef modelBlank
  1019. // NOTE disabled in Cardinal due to online requirement
  1020. spl.removeModule("Arcane");
  1021. spl.removeModule("Atout");
  1022. spl.removeModule("Aleister");
  1023. }
  1024. }
  1025. static void initStatic__AS()
  1026. {
  1027. Plugin* const p = new Plugin;
  1028. pluginInstance__AS = p;
  1029. const StaticPluginLoader spl(p, "AS");
  1030. if (spl.ok())
  1031. {
  1032. #define modelADSR modelASADSR
  1033. #define modelVCA modelASVCA
  1034. #define modelWaveShaper modelASWaveShaper
  1035. //OSCILLATORS
  1036. p->addModel(modelSineOsc);
  1037. p->addModel(modelSawOsc);
  1038. //TOOLS
  1039. p->addModel(modelADSR);
  1040. p->addModel(modelVCA);
  1041. p->addModel(modelQuadVCA);
  1042. p->addModel(modelTriLFO);
  1043. p->addModel(modelAtNuVrTr);
  1044. p->addModel(modelBPMClock);
  1045. p->addModel(modelSEQ16);
  1046. p->addModel(modelMixer2ch);
  1047. p->addModel(modelMixer4ch);
  1048. p->addModel(modelMixer8ch);
  1049. p->addModel(modelMonoVUmeter);
  1050. p->addModel(modelStereoVUmeter);
  1051. p->addModel(modelMultiple2_5);
  1052. p->addModel(modelMerge2_5);
  1053. p->addModel(modelSteps);
  1054. p->addModel(modelLaunchGate);
  1055. p->addModel(modelKillGate);
  1056. p->addModel(modelFlow);
  1057. p->addModel(modelSignalDelay);
  1058. p->addModel(modelTriggersMKI);
  1059. p->addModel(modelTriggersMKII);
  1060. p->addModel(modelTriggersMKIII);
  1061. p->addModel(modelBPMCalc);
  1062. p->addModel(modelBPMCalc2);
  1063. p->addModel(modelCv2T);
  1064. p->addModel(modelZeroCV2T);
  1065. p->addModel(modelReScale);
  1066. //EFFECTS
  1067. p->addModel(modelDelayPlusFx);
  1068. p->addModel(modelDelayPlusStereoFx);
  1069. p->addModel(modelPhaserFx);
  1070. p->addModel(modelReverbFx);
  1071. p->addModel(modelReverbStereoFx);
  1072. p->addModel(modelSuperDriveFx);
  1073. p->addModel(modelSuperDriveStereoFx);
  1074. p->addModel(modelTremoloFx);
  1075. p->addModel(modelTremoloStereoFx);
  1076. p->addModel(modelWaveShaper);
  1077. p->addModel(modelWaveShaperStereo);
  1078. //BLANK PANELS
  1079. p->addModel(modelBlankPanel4);
  1080. p->addModel(modelBlankPanel6);
  1081. p->addModel(modelBlankPanel8);
  1082. p->addModel(modelBlankPanelSpecial);
  1083. #undef modelADSR
  1084. #undef modelVCA
  1085. #undef modelWaveShaper
  1086. }
  1087. }
  1088. static void initStatic__AudibleInstruments()
  1089. {
  1090. Plugin* const p = new Plugin;
  1091. pluginInstance__AudibleInstruments = p;
  1092. const StaticPluginLoader spl(p, "AudibleInstruments");
  1093. if (spl.ok())
  1094. {
  1095. p->addModel(modelBraids);
  1096. p->addModel(modelPlaits);
  1097. p->addModel(modelElements);
  1098. p->addModel(modelTides);
  1099. p->addModel(modelTides2);
  1100. p->addModel(modelClouds);
  1101. p->addModel(modelWarps);
  1102. p->addModel(modelRings);
  1103. p->addModel(modelLinks);
  1104. p->addModel(modelKinks);
  1105. p->addModel(modelShades);
  1106. p->addModel(modelBranches);
  1107. p->addModel(modelBlinds);
  1108. p->addModel(modelVeils);
  1109. p->addModel(modelFrames);
  1110. p->addModel(modelMarbles);
  1111. p->addModel(modelStages);
  1112. p->addModel(modelRipples);
  1113. p->addModel(modelShelves);
  1114. p->addModel(modelStreams);
  1115. }
  1116. }
  1117. static void initStatic__Autinn()
  1118. {
  1119. Plugin* const p = new Plugin;
  1120. pluginInstance__Autinn = p;
  1121. const StaticPluginLoader spl(p, "Autinn");
  1122. if (spl.ok())
  1123. {
  1124. #define modelChord modelAutinnChord
  1125. #define modelVibrato modelAutinnVibrato
  1126. p->addModel(modelAmp);
  1127. p->addModel(modelDeadband);
  1128. p->addModel(modelBass);
  1129. p->addModel(modelCVConverter);
  1130. p->addModel(modelDC);
  1131. p->addModel(modelDigi);
  1132. p->addModel(modelFlopper);
  1133. p->addModel(modelFlora);
  1134. p->addModel(modelJette);
  1135. p->addModel(modelBoomerang);
  1136. p->addModel(modelOxcart);
  1137. p->addModel(modelSaw);
  1138. p->addModel(modelSjip);
  1139. p->addModel(modelSquare);
  1140. p->addModel(modelVibrato);
  1141. p->addModel(modelVectorDriver);
  1142. p->addModel(modelZod);
  1143. p->addModel(modelTriBand);
  1144. p->addModel(modelMixer6);
  1145. p->addModel(modelNon);
  1146. p->addModel(modelFil);
  1147. p->addModel(modelNap);
  1148. p->addModel(modelMelody);
  1149. p->addModel(modelChord);
  1150. #undef modelChord
  1151. #undef modelVibrato
  1152. }
  1153. }
  1154. static void initStatic__Axioma()
  1155. {
  1156. Plugin* const p = new Plugin;
  1157. pluginInstance__Axioma = p;
  1158. const StaticPluginLoader spl(p, "Axioma");
  1159. if (spl.ok())
  1160. {
  1161. p->addModel(modelTheBifurcator);
  1162. p->addModel(modelTesseract);
  1163. p->addModel(modelIkeda);
  1164. p->addModel(modelRhodonea);
  1165. }
  1166. }
  1167. static void initStatic__Bacon()
  1168. {
  1169. Plugin* const p = new Plugin;
  1170. pluginInstance__Bacon = p;
  1171. const StaticPluginLoader spl(p, "BaconPlugs");
  1172. if (spl.ok())
  1173. {
  1174. p->addModel(modelHarMoNee);
  1175. p->addModel(modelGlissinator);
  1176. p->addModel(modelPolyGnome);
  1177. p->addModel(modelQuantEyes);
  1178. p->addModel(modelSampleDelay);
  1179. #ifdef BUILD_SORTACHORUS
  1180. p->addModel(modelSortaChorus);
  1181. #endif
  1182. p->addModel(modelChipNoise);
  1183. p->addModel(modelChipWaves);
  1184. p->addModel(modelChipYourWave);
  1185. p->addModel(modelOpen303);
  1186. #ifdef BUILD_GENERICLSFR
  1187. p->addModel(modelGenericLFSR);
  1188. #endif
  1189. p->addModel(modelKarplusStrongPoly);
  1190. p->addModel(modelALingADing);
  1191. p->addModel(modelBitulator);
  1192. #ifdef BUILD_PHASER
  1193. p->addModel(modelPhaser);
  1194. #endif
  1195. p->addModel(modelPolyGenerator);
  1196. }
  1197. }
  1198. static void initStatic__Befaco()
  1199. {
  1200. Plugin* const p = new Plugin;
  1201. pluginInstance__Befaco = p;
  1202. const StaticPluginLoader spl(p, "Befaco");
  1203. if (spl.ok())
  1204. {
  1205. #define modelADSR modelBefacoADSR
  1206. #define modelMixer modelBefacoMixer
  1207. p->addModel(modelEvenVCO);
  1208. p->addModel(modelRampage);
  1209. p->addModel(modelABC);
  1210. p->addModel(modelSpringReverb);
  1211. p->addModel(modelMixer);
  1212. p->addModel(modelSlewLimiter);
  1213. p->addModel(modelDualAtenuverter);
  1214. p->addModel(modelPercall);
  1215. p->addModel(modelHexmixVCA);
  1216. p->addModel(modelChoppingKinky);
  1217. p->addModel(modelKickall);
  1218. p->addModel(modelSamplingModulator);
  1219. p->addModel(modelMorphader);
  1220. p->addModel(modelADSR);
  1221. p->addModel(modelSTMix);
  1222. p->addModel(modelMuxlicer);
  1223. p->addModel(modelMex);
  1224. p->addModel(modelNoisePlethora);
  1225. p->addModel(modelChannelStrip);
  1226. #undef modelADSR
  1227. #undef modelMixer
  1228. }
  1229. }
  1230. static void initStatic__Bidoo()
  1231. {
  1232. Plugin* const p = new Plugin;
  1233. pluginInstance__Bidoo = p;
  1234. const StaticPluginLoader spl(p, "Bidoo");
  1235. if (spl.ok())
  1236. {
  1237. p->addModel(modelTOCANTE);
  1238. p->addModel(modelLATE);
  1239. p->addModel(modelDIKTAT);
  1240. p->addModel(modelDTROY);
  1241. p->addModel(modelBORDL);
  1242. p->addModel(modelZOUMAI);
  1243. p->addModel(modelZOUMAIExpander);
  1244. p->addModel(modelMU);
  1245. p->addModel(modelCHUTE);
  1246. p->addModel(modelLOURDE);
  1247. p->addModel(modelDILEMO);
  1248. p->addModel(modelLAMBDA);
  1249. p->addModel(modelBANCAU);
  1250. p->addModel(modelACNE);
  1251. p->addModel(modelMS);
  1252. p->addModel(modelDUKE);
  1253. p->addModel(modelMOIRE);
  1254. p->addModel(modelPILOT);
  1255. p->addModel(modelHUITRE);
  1256. p->addModel(modelOUAIVE);
  1257. p->addModel(modelEDSAROS);
  1258. p->addModel(modelPOUPRE);
  1259. p->addModel(modelMAGMA);
  1260. p->addModel(modelOAI);
  1261. p->addModel(modelCANARD);
  1262. p->addModel(modelEMILE);
  1263. p->addModel(modelFORK);
  1264. p->addModel(modelTIARE);
  1265. p->addModel(modelLIMONADE);
  1266. p->addModel(modelLIMBO);
  1267. p->addModel(modelPERCO);
  1268. p->addModel(modelBAFIS);
  1269. p->addModel(modelBAR);
  1270. p->addModel(modelMINIBAR);
  1271. p->addModel(modelZINC);
  1272. p->addModel(modelFREIN);
  1273. p->addModel(modelHCTIP);
  1274. p->addModel(modelSPORE);
  1275. p->addModel(modelDFUZE);
  1276. p->addModel(modelREI);
  1277. p->addModel(modelRABBIT);
  1278. p->addModel(modelBISTROT);
  1279. p->addModel(modelSIGMA);
  1280. p->addModel(modelFLAME);
  1281. p->addModel(modelVOID);
  1282. // NOTE disabled in Cardinal due to curl usage
  1283. // p->addModel(modelANTN);
  1284. spl.removeModule("antN");
  1285. }
  1286. }
  1287. static void initStatic__BogaudioModules()
  1288. {
  1289. Plugin* const p = new Plugin;
  1290. pluginInstance__BogaudioModules = p;
  1291. const StaticPluginLoader spl(p, "BogaudioModules");
  1292. if (spl.ok())
  1293. {
  1294. // Make sure to use dark theme as default
  1295. Skins& skins(Skins::skins());
  1296. skins._default = "dark";
  1297. #define modelADSR modelBogaudioADSR
  1298. #define modelLFO modelBogaudioLFO
  1299. #define modelNoise modelBogaudioNoise
  1300. #define modelVCA modelBogaudioVCA
  1301. #define modelVCF modelBogaudioVCF
  1302. #define modelVCO modelBogaudioVCO
  1303. p->addModel(modelVCO);
  1304. p->addModel(modelLVCO);
  1305. p->addModel(modelSine);
  1306. p->addModel(modelPulse);
  1307. p->addModel(modelXCO);
  1308. p->addModel(modelAdditator);
  1309. p->addModel(modelFMOp);
  1310. p->addModel(modelChirp);
  1311. p->addModel(modelLFO);
  1312. p->addModel(modelLLFO);
  1313. p->addModel(modelFourFO);
  1314. p->addModel(modelEightFO);
  1315. p->addModel(modelVCF);
  1316. p->addModel(modelLVCF);
  1317. p->addModel(modelFFB);
  1318. p->addModel(modelEQ);
  1319. p->addModel(modelEQS);
  1320. p->addModel(modelLPG);
  1321. p->addModel(modelLLPG);
  1322. p->addModel(modelMegaGate);
  1323. p->addModel(modelPEQ);
  1324. p->addModel(modelPEQ6);
  1325. p->addModel(modelPEQ6XF);
  1326. p->addModel(modelPEQ14);
  1327. p->addModel(modelPEQ14XF);
  1328. p->addModel(modelDADSRH);
  1329. p->addModel(modelDADSRHPlus);
  1330. p->addModel(modelShaper);
  1331. p->addModel(modelShaperPlus);
  1332. p->addModel(modelAD);
  1333. p->addModel(modelASR);
  1334. p->addModel(modelADSR);
  1335. p->addModel(modelVish);
  1336. p->addModel(modelFollow);
  1337. p->addModel(modelDGate);
  1338. p->addModel(modelRGate);
  1339. p->addModel(modelEdge);
  1340. p->addModel(modelNoise);
  1341. p->addModel(modelSampleHold);
  1342. p->addModel(modelWalk2);
  1343. p->addModel(modelWalk);
  1344. p->addModel(modelMix8);
  1345. p->addModel(modelMix8x);
  1346. p->addModel(modelMix4);
  1347. p->addModel(modelMix4x);
  1348. p->addModel(modelMix2);
  1349. p->addModel(modelMix1);
  1350. p->addModel(modelVCM);
  1351. p->addModel(modelMute8);
  1352. p->addModel(modelPan);
  1353. p->addModel(modelXFade);
  1354. p->addModel(modelVCA);
  1355. p->addModel(modelVCAmp);
  1356. p->addModel(modelVelo);
  1357. p->addModel(modelUMix);
  1358. p->addModel(modelMumix);
  1359. p->addModel(modelMatrix81);
  1360. p->addModel(modelMatrix18);
  1361. p->addModel(modelMatrix44);
  1362. p->addModel(modelMatrix44Cvm);
  1363. p->addModel(modelMatrix88);
  1364. p->addModel(modelMatrix88Cv);
  1365. p->addModel(modelMatrix88M);
  1366. p->addModel(modelSwitch81);
  1367. p->addModel(modelSwitch18);
  1368. p->addModel(modelSwitch44);
  1369. p->addModel(modelSwitch88);
  1370. p->addModel(modelSwitch1616);
  1371. p->addModel(modelAMRM);
  1372. p->addModel(modelPressor);
  1373. p->addModel(modelClpr);
  1374. p->addModel(modelLmtr);
  1375. p->addModel(modelNsgt);
  1376. p->addModel(modelCmpDist);
  1377. p->addModel(modelOneEight);
  1378. p->addModel(modelEightOne);
  1379. p->addModel(modelAddrSeq);
  1380. p->addModel(modelAddrSeqX);
  1381. p->addModel(modelPgmr);
  1382. p->addModel(modelPgmrX);
  1383. p->addModel(modelVU);
  1384. p->addModel(modelAnalyzer);
  1385. p->addModel(modelAnalyzerXL);
  1386. p->addModel(modelRanalyzer);
  1387. p->addModel(modelDetune);
  1388. p->addModel(modelStack);
  1389. p->addModel(modelReftone);
  1390. p->addModel(modelMono);
  1391. p->addModel(modelArp);
  1392. p->addModel(modelAssign);
  1393. p->addModel(modelUnison);
  1394. p->addModel(modelPolyCon8);
  1395. p->addModel(modelPolyCon16);
  1396. p->addModel(modelPolyOff8);
  1397. p->addModel(modelPolyOff16);
  1398. p->addModel(modelPolyMult);
  1399. p->addModel(modelBool);
  1400. p->addModel(modelCmp);
  1401. p->addModel(modelCVD);
  1402. p->addModel(modelFlipFlop);
  1403. p->addModel(modelInv);
  1404. p->addModel(modelManual);
  1405. p->addModel(modelFourMan);
  1406. p->addModel(modelMult);
  1407. p->addModel(modelOffset);
  1408. p->addModel(modelSlew);
  1409. p->addModel(modelSums);
  1410. p->addModel(modelSwitch);
  1411. p->addModel(modelLgsw);
  1412. p->addModel(modelBlank3);
  1413. p->addModel(modelBlank6);
  1414. #ifdef EXPERIMENTAL
  1415. p->addModel(modelLag);
  1416. p->addModel(modelPEQ14XR);
  1417. p->addModel(modelPEQ14XV);
  1418. #endif
  1419. #ifdef TEST
  1420. p->addModel(modelTest);
  1421. p->addModel(modelTest2);
  1422. p->addModel(modelTestExpanderBase);
  1423. p->addModel(modelTestExpanderExtension);
  1424. p->addModel(modelTestGl);
  1425. p->addModel(modelTestVCF);
  1426. #endif
  1427. #undef modelADSR
  1428. #undef modelLFO
  1429. #undef modelNoise
  1430. #undef modelVCA
  1431. #undef modelVCF
  1432. #undef modelVCO
  1433. }
  1434. }
  1435. static void initStatic__CatroModulo()
  1436. {
  1437. Plugin* const p = new Plugin;
  1438. pluginInstance__CatroModulo = p;
  1439. const StaticPluginLoader spl(p, "CatroModulo");
  1440. if (spl.ok())
  1441. {
  1442. p->addModel(modelCM1Module);
  1443. p->addModel(modelCM2Module);
  1444. p->addModel(modelCM3Module);
  1445. p->addModel(modelCM4Module);
  1446. p->addModel(modelCM5Module);
  1447. p->addModel(modelCM6Module);
  1448. p->addModel(modelCM7Module);
  1449. p->addModel(modelCM8Module);
  1450. p->addModel(modelCM9Module);
  1451. p->addModel(modelCM10Module);
  1452. }
  1453. }
  1454. static void initStatic__cf()
  1455. {
  1456. Plugin* const p = new Plugin;
  1457. pluginInstance__cf = p;
  1458. const StaticPluginLoader spl(p, "cf");
  1459. if (spl.ok())
  1460. {
  1461. p->addModel(modelMETRO);
  1462. p->addModel(modelEACH);
  1463. p->addModel(modeltrSEQ);
  1464. p->addModel(modelLEDSEQ);
  1465. p->addModel(modelL3DS3Q);
  1466. p->addModel(modelSLIDERSEQ);
  1467. p->addModel(modelPLAYER);
  1468. p->addModel(modelPLAY);
  1469. p->addModel(modelMONO);
  1470. p->addModel(modelSTEREO);
  1471. p->addModel(modelSUB);
  1472. p->addModel(modelMASTER);
  1473. p->addModel(modelVARIABLE);
  1474. p->addModel(modelALGEBRA);
  1475. p->addModel(modelFUNKTION);
  1476. p->addModel(modelCHOKE);
  1477. p->addModel(modelFOUR);
  1478. p->addModel(modelSTEPS);
  1479. p->addModel(modelPEAK);
  1480. p->addModel(modelCUTS);
  1481. p->addModel(modelBUFFER);
  1482. p->addModel(modelDISTO);
  1483. p->addModel(modelCUBE);
  1484. p->addModel(modelPATCH);
  1485. p->addModel(modelLABEL);
  1486. p->addModel(modelDAVE);
  1487. }
  1488. }
  1489. static void initStatic__ChowDSP()
  1490. {
  1491. Plugin* const p = new Plugin;
  1492. pluginInstance__ChowDSP = p;
  1493. const StaticPluginLoader spl(p, "ChowDSP");
  1494. if (spl.ok())
  1495. {
  1496. p->addModel(modelChowTape);
  1497. p->addModel(modelChowPhaserFeedback);
  1498. p->addModel(modelChowPhaserMod);
  1499. p->addModel(modelChowFDN);
  1500. p->addModel(modelChowRNN);
  1501. p->addModel(modelChowModal);
  1502. p->addModel(modelChowDer);
  1503. p->addModel(modelWarp);
  1504. p->addModel(modelWerner);
  1505. p->addModel(modelCredit);
  1506. p->addModel(modelChowPulse);
  1507. p->addModel(modelChowTapeCompression);
  1508. p->addModel(modelChowTapeChew);
  1509. p->addModel(modelChowTapeDegrade);
  1510. p->addModel(modelChowTapeLoss);
  1511. p->addModel(modelChowChorus);
  1512. }
  1513. }
  1514. static void initStatic__DrumKit()
  1515. {
  1516. Plugin* const p = new Plugin;
  1517. pluginInstance__DrumKit = p;
  1518. const StaticPluginLoader spl(p, "DrumKit");
  1519. if (spl.ok())
  1520. {
  1521. setupSamples();
  1522. p->addModel(modelBD9);
  1523. p->addModel(modelSnare);
  1524. p->addModel(modelClosedHH);
  1525. p->addModel(modelOpenHH);
  1526. p->addModel(modelDMX);
  1527. p->addModel(modelCR78);
  1528. p->addModel(modelSBD);
  1529. p->addModel(modelGnome);
  1530. p->addModel(modelSequencer);
  1531. p->addModel(modelTomi);
  1532. p->addModel(modelBaronial);
  1533. p->addModel(modelMarionette);
  1534. }
  1535. }
  1536. static void initStatic__ESeries()
  1537. {
  1538. Plugin* const p = new Plugin;
  1539. pluginInstance__ESeries = p;
  1540. const StaticPluginLoader spl(p, "ESeries");
  1541. if (spl.ok())
  1542. {
  1543. p->addModel(modelE340);
  1544. }
  1545. }
  1546. static void initStatic__ExpertSleepersEncoders()
  1547. {
  1548. Plugin* const p = new Plugin;
  1549. pluginInstance__ExpertSleepersEncoders = p;
  1550. const StaticPluginLoader spl(p, "ExpertSleepers-Encoders");
  1551. if (spl.ok())
  1552. {
  1553. p->addModel(model8GT);
  1554. p->addModel(model8CV);
  1555. p->addModel(modelES40);
  1556. p->addModel(modelES5);
  1557. p->addModel(modelSMUX);
  1558. p->addModel(modelCalibrator);
  1559. }
  1560. }
  1561. static void initStatic__Extratone()
  1562. {
  1563. Plugin* const p = new Plugin;
  1564. pluginInstance__Extratone = p;
  1565. const StaticPluginLoader spl(p, "Extratone");
  1566. if (spl.ok())
  1567. {
  1568. p->addModel(modelModulo);
  1569. p->addModel(modelMesoglea);
  1570. p->addModel(modelMesoglea2);
  1571. p->addModel(modelOpabinia);
  1572. p->addModel(modelSplitterburst);
  1573. p->addModel(modelPuzzlebox);
  1574. p->addModel(modelDarwinism);
  1575. // p->addModel(modelHalluciMemory);
  1576. p->addModel(modelIchneumonid);
  1577. p->addModel(modelMeganeura);
  1578. p->addModel(modelPureneura);
  1579. p->addModel(modelMesohyl);
  1580. p->addModel(modelXtrtnBlank);
  1581. }
  1582. }
  1583. static void initStatic__FehlerFabrik()
  1584. {
  1585. Plugin* const p = new Plugin;
  1586. pluginInstance__FehlerFabrik = p;
  1587. const StaticPluginLoader spl(p, "FehlerFabrik");
  1588. if (spl.ok())
  1589. {
  1590. p->addModel(modelPSIOP);
  1591. p->addModel(modelPlanck);
  1592. p->addModel(modelLuigi);
  1593. p->addModel(modelAspect);
  1594. p->addModel(modelMonte);
  1595. p->addModel(modelArpanet);
  1596. p->addModel(modelSigma);
  1597. p->addModel(modelFax);
  1598. p->addModel(modelRasoir);
  1599. p->addModel(modelChi);
  1600. p->addModel(modelNova);
  1601. p->addModel(modelLilt);
  1602. p->addModel(modelBotzinger);
  1603. }
  1604. }
  1605. static void initStatic__forsitan()
  1606. {
  1607. Plugin* const p = new Plugin;
  1608. pluginInstance__forsitan = p;
  1609. const StaticPluginLoader spl(p, "forsitan-modulare");
  1610. if (spl.ok())
  1611. {
  1612. p->addModel(alea);
  1613. p->addModel(interea);
  1614. p->addModel(cumuli);
  1615. p->addModel(deinde);
  1616. p->addModel(pavo);
  1617. }
  1618. }
  1619. static void initStatic__GlueTheGiant()
  1620. {
  1621. Plugin* const p = new Plugin;
  1622. pluginInstance__GlueTheGiant = p;
  1623. const StaticPluginLoader spl(p, "GlueTheGiant");
  1624. if (spl.ok())
  1625. {
  1626. p->addModel(modelGigBus);
  1627. p->addModel(modelMiniBus);
  1628. p->addModel(modelSchoolBus);
  1629. p->addModel(modelMetroCityBus);
  1630. p->addModel(modelBusDepot);
  1631. p->addModel(modelBusRoute);
  1632. p->addModel(modelRoad);
  1633. p->addModel(modelEnterBus);
  1634. p->addModel(modelExitBus);
  1635. }
  1636. }
  1637. static void initStatic__GoodSheperd()
  1638. {
  1639. Plugin* const p = new Plugin;
  1640. pluginInstance__GoodSheperd = p;
  1641. const StaticPluginLoader spl(p, "GoodSheperd");
  1642. if (spl.ok())
  1643. {
  1644. p->addModel(modelHurdle);
  1645. p->addModel(modelSEQ3st);
  1646. p->addModel(modelStable16);
  1647. p->addModel(modelStall);
  1648. p->addModel(modelSwitch1);
  1649. p->addModel(modelSeqtrol);
  1650. }
  1651. }
  1652. static void initStatic__GrandeModular()
  1653. {
  1654. Plugin* const p = new Plugin;
  1655. pluginInstance__GrandeModular = p;
  1656. const StaticPluginLoader spl(p, "GrandeModular");
  1657. if (spl.ok())
  1658. {
  1659. p->addModel(modelClip);
  1660. p->addModel(modelLFO3);
  1661. p->addModel(modelLFO4);
  1662. p->addModel(modelLogic);
  1663. p->addModel(modelMerge8);
  1664. p->addModel(modelMergeSplit4);
  1665. p->addModel(modelMicrotonalChords);
  1666. p->addModel(modelMicrotonalNotes);
  1667. p->addModel(modelNoteMT);
  1668. p->addModel(modelPeak);
  1669. p->addModel(modelPolyMergeResplit);
  1670. p->addModel(modelPolySplit);
  1671. p->addModel(modelPush);
  1672. p->addModel(modelQuant);
  1673. p->addModel(modelQuantIntervals);
  1674. p->addModel(modelQuantMT);
  1675. p->addModel(modelSampleDelays);
  1676. p->addModel(modelScale);
  1677. p->addModel(modelSplit8);
  1678. p->addModel(modelTails);
  1679. p->addModel(modelVarSampleDelays);
  1680. p->addModel(modelVCA3);
  1681. p->addModel(modelVCA4);
  1682. }
  1683. }
  1684. static void initStatic__HamptonHarmonics()
  1685. {
  1686. Plugin* const p = new Plugin;
  1687. pluginInstance__HamptonHarmonics = p;
  1688. const StaticPluginLoader spl(p, "HamptonHarmonics");
  1689. if (spl.ok())
  1690. {
  1691. #define modelArp modelHamptonHarmonicsArp
  1692. #define modelProgress modelHamptonHarmonicsProgress
  1693. p->addModel(modelArp);
  1694. p->addModel(modelProgress);
  1695. #undef modelProgress
  1696. #undef modelArp
  1697. }
  1698. }
  1699. static void initStatic__HetrickCV()
  1700. {
  1701. Plugin* const p = new Plugin;
  1702. pluginInstance__HetrickCV = p;
  1703. const StaticPluginLoader spl(p, "HetrickCV");
  1704. if (spl.ok())
  1705. {
  1706. #define modelASR modelHetrickCVASR
  1707. #define modelBlankPanel modelHetrickCVBlankPanel
  1708. #define modelFlipFlop modelHetrickCVFlipFlop
  1709. #define modelMidSide modelHetrickCVMidSide
  1710. #define modelMinMax modelHetrickCVMinMax
  1711. p->addModel(modelTwoToFour);
  1712. p->addModel(modelAnalogToDigital);
  1713. p->addModel(modelASR);
  1714. p->addModel(modelBinaryGate);
  1715. p->addModel(modelBinaryNoise);
  1716. p->addModel(modelBitshift);
  1717. p->addModel(modelBlankPanel);
  1718. p->addModel(modelBoolean3);
  1719. p->addModel(modelChaos1Op);
  1720. p->addModel(modelChaos2Op);
  1721. p->addModel(modelChaos3Op);
  1722. p->addModel(modelChaoticAttractors);
  1723. p->addModel(modelClockedNoise);
  1724. p->addModel(modelComparator);
  1725. p->addModel(modelContrast);
  1726. p->addModel(modelCrackle);
  1727. p->addModel(modelDataCompander);
  1728. p->addModel(modelDelta);
  1729. p->addModel(modelDigitalToAnalog);
  1730. p->addModel(modelDust);
  1731. p->addModel(modelExponent);
  1732. p->addModel(modelFBSineChaos);
  1733. p->addModel(modelFlipFlop);
  1734. p->addModel(modelFlipPan);
  1735. p->addModel(modelGateJunction);
  1736. p->addModel(modelGingerbread);
  1737. p->addModel(modelLogicCombine);
  1738. p->addModel(modelMidSide);
  1739. p->addModel(modelMinMax);
  1740. p->addModel(modelRandomGates);
  1741. p->addModel(modelRotator);
  1742. p->addModel(modelRungler);
  1743. p->addModel(modelScanner);
  1744. p->addModel(modelWaveshape);
  1745. p->addModel(modelXYToPolar);
  1746. #undef modelASR
  1747. #undef modelBlankPanel
  1748. #undef modelFlipFlop
  1749. #undef modelMidSide
  1750. #undef modelMinMax
  1751. }
  1752. }
  1753. static void initStatic__ImpromptuModular()
  1754. {
  1755. Plugin* const p = new Plugin;
  1756. pluginInstance__ImpromptuModular = p;
  1757. const StaticPluginLoader spl(p, "ImpromptuModular");
  1758. if (spl.ok())
  1759. {
  1760. p->addModel(modelAdaptiveQuantizer);
  1761. p->addModel(modelBigButtonSeq);
  1762. p->addModel(modelBigButtonSeq2);
  1763. p->addModel(modelChordKey);
  1764. p->addModel(modelChordKeyExpander);
  1765. p->addModel(modelClocked);
  1766. p->addModel(modelClockedExpander);
  1767. p->addModel(modelClkd);
  1768. p->addModel(modelCvPad);
  1769. p->addModel(modelFoundry);
  1770. p->addModel(modelFoundryExpander);
  1771. p->addModel(modelFourView);
  1772. p->addModel(modelGateSeq64);
  1773. p->addModel(modelGateSeq64Expander);
  1774. p->addModel(modelHotkey);
  1775. p->addModel(modelPart);
  1776. p->addModel(modelPhraseSeq16);
  1777. p->addModel(modelPhraseSeq32);
  1778. p->addModel(modelPhraseSeqExpander);
  1779. p->addModel(modelProbKey);
  1780. p->addModel(modelSemiModularSynth);
  1781. p->addModel(modelSygen);
  1782. p->addModel(modelTact);
  1783. p->addModel(modelTact1);
  1784. p->addModel(modelTactG);
  1785. p->addModel(modelTwelveKey);
  1786. p->addModel(modelVariations);
  1787. p->addModel(modelWriteSeq32);
  1788. p->addModel(modelWriteSeq64);
  1789. p->addModel(modelBlankPanel);
  1790. }
  1791. }
  1792. static void initStatic__ihtsyn()
  1793. {
  1794. Plugin* const p = new Plugin;
  1795. pluginInstance__ihtsyn = p;
  1796. const StaticPluginLoader spl(p, "ihtsyn");
  1797. if (spl.ok())
  1798. {
  1799. p->addModel(modelPitchMangler);
  1800. p->addModel(modelTwistedVerb);
  1801. p->addModel(modelHiVerb);
  1802. p->addModel(modelMVerb);
  1803. }
  1804. }
  1805. static void initStatic__JW()
  1806. {
  1807. Plugin* const p = new Plugin;
  1808. pluginInstance__JW = p;
  1809. const StaticPluginLoader spl(p, "JW-Modules");
  1810. if (spl.ok())
  1811. {
  1812. #define modelQuantizer modelJWQuantizer
  1813. p->addModel(modelAdd5);
  1814. p->addModel(modelBouncyBalls);
  1815. p->addModel(modelCat);
  1816. p->addModel(modelTree);
  1817. p->addModel(modelFullScope);
  1818. p->addModel(modelGridSeq);
  1819. p->addModel(modelEightSeq);
  1820. p->addModel(modelDivSeq);
  1821. p->addModel(modelMinMax);
  1822. p->addModel(modelNoteSeq);
  1823. p->addModel(modelNoteSeqFu);
  1824. p->addModel(modelNoteSeq16);
  1825. p->addModel(modelTrigs);
  1826. p->addModel(modelOnePattern);
  1827. p->addModel(modelPatterns);
  1828. p->addModel(modelQuantizer);
  1829. p->addModel(modelSimpleClock);
  1830. p->addModel(modelD1v1de);
  1831. p->addModel(modelPres1t);
  1832. p->addModel(modelThingThing);
  1833. p->addModel(modelWavHead);
  1834. p->addModel(modelXYPad);
  1835. p->addModel(modelBlankPanel1hp);
  1836. p->addModel(modelBlankPanelSmall);
  1837. p->addModel(modelBlankPanelMedium);
  1838. p->addModel(modelBlankPanelLarge);
  1839. p->addModel(modelCoolBreeze);
  1840. p->addModel(modelPete);
  1841. #ifndef STATIC_BUILD
  1842. p->addModel(modelStr1ker);
  1843. #else
  1844. spl.removeModule("Str1ker");
  1845. #endif
  1846. #undef modelQuantizer
  1847. }
  1848. }
  1849. static void initStatic__kocmoc()
  1850. {
  1851. Plugin* const p = new Plugin;
  1852. pluginInstance__kocmoc= p;
  1853. const StaticPluginLoader spl(p, "kocmoc");
  1854. if (spl.ok())
  1855. {
  1856. p->addModel(modelSVF_1);
  1857. p->addModel(modelTRG);
  1858. p->addModel(modelLADR);
  1859. p->addModel(modelOP);
  1860. p->addModel(modelPHASR);
  1861. p->addModel(modelMUL);
  1862. p->addModel(modelSKF);
  1863. p->addModel(modelDDLY);
  1864. }
  1865. }
  1866. static void initStatic__LifeFormModular()
  1867. {
  1868. Plugin* const p = new Plugin;
  1869. pluginInstance__LifeFormModular= p;
  1870. const StaticPluginLoader spl(p, "LifeFormModular");
  1871. if (spl.ok())
  1872. {
  1873. p->addModel(modelTimeDiktat);
  1874. p->addModel(modelSequenceModeler);
  1875. p->addModel(modelPitchDiktat);
  1876. p->addModel(modelPitchIntegrator);
  1877. p->addModel(modelBurstIntegrator);
  1878. p->addModel(modelQuadModulator);
  1879. p->addModel(modelImpulseControl);
  1880. p->addModel(modelQuadSteppedOffset);
  1881. p->addModel(modelPercussiveVibration);
  1882. p->addModel(modelQuadUtility);
  1883. p->addModel(modelAdditiveVibration);
  1884. p->addModel(modelComplexOsc);
  1885. p->addModel(modelDriftgen);
  1886. }
  1887. }
  1888. static void initStatic__LilacLoop()
  1889. {
  1890. Plugin* const p = new Plugin;
  1891. pluginInstance__LilacLoop = p;
  1892. const StaticPluginLoader spl(p, "LilacLoop");
  1893. if (spl.ok())
  1894. {
  1895. p->addModel(modelLooperOne);
  1896. }
  1897. }
  1898. static void initStatic__LittleUtils()
  1899. {
  1900. Plugin* const p = new Plugin;
  1901. pluginInstance__LittleUtils = p;
  1902. const StaticPluginLoader spl(p, "LittleUtils");
  1903. if (spl.ok())
  1904. {
  1905. p->addModel(modelButtonModule);
  1906. p->addModel(modelPulseGenerator);
  1907. p->addModel(modelBias_Semitone);
  1908. p->addModel(modelMulDiv);
  1909. p->addModel(modelTeleportInModule);
  1910. p->addModel(modelTeleportOutModule);
  1911. }
  1912. }
  1913. static void initStatic__Lomas()
  1914. {
  1915. Plugin* const p = new Plugin;
  1916. pluginInstance__Lomas = p;
  1917. const StaticPluginLoader spl(p, "LomasModules");
  1918. if (spl.ok())
  1919. {
  1920. p->addModel(modelAdvancedSampler);
  1921. p->addModel(modelGateSequencer);
  1922. }
  1923. }
  1924. static void initStatic__Lyrae()
  1925. {
  1926. Plugin* const p = new Plugin;
  1927. pluginInstance__Lyrae = p;
  1928. const StaticPluginLoader spl(p, "LyraeModules");
  1929. if (spl.ok())
  1930. {
  1931. #define modelDelta modelLyraeDelta
  1932. p->addModel(modelSulafat);
  1933. p->addModel(modelGamma);
  1934. p->addModel(modelDelta);
  1935. p->addModel(modelVega);
  1936. p->addModel(modelBD383238);
  1937. p->addModel(modelZeta);
  1938. #undef modelDelta
  1939. }
  1940. }
  1941. static void initStatic__Meander()
  1942. {
  1943. Plugin* const p = new Plugin;
  1944. pluginInstance__Meander = p;
  1945. const StaticPluginLoader spl(p, "Meander");
  1946. if (spl.ok())
  1947. {
  1948. // for dark theme
  1949. panelTheme = 1;
  1950. p->addModel(modelMeander);
  1951. }
  1952. }
  1953. static void initStatic__MindMeld()
  1954. {
  1955. Plugin* const p = new Plugin;
  1956. pluginInstance__MindMeld = p;
  1957. const StaticPluginLoader spl(p, "MindMeldModular");
  1958. if (spl.ok())
  1959. {
  1960. p->addModel(modelMixMasterJr);
  1961. p->addModel(modelAuxExpanderJr);
  1962. p->addModel(modelMixMaster);
  1963. p->addModel(modelAuxExpander);
  1964. p->addModel(modelMeld);
  1965. p->addModel(modelUnmeld);
  1966. p->addModel(modelMSMelder);
  1967. p->addModel(modelEqMaster);
  1968. p->addModel(modelEqExpander);
  1969. p->addModel(modelBassMaster);
  1970. p->addModel(modelBassMasterJr);
  1971. p->addModel(modelShapeMaster);
  1972. }
  1973. }
  1974. static void initStatic__ML()
  1975. {
  1976. Plugin* const p = new Plugin;
  1977. pluginInstance__ML = p;
  1978. const StaticPluginLoader spl(p, "ML_modules");
  1979. if (spl.ok())
  1980. {
  1981. #define modelQuantizer modelMLQuantizer
  1982. #define modelSH8 modelMLSH8
  1983. p->addModel(modelQuantizer);
  1984. p->addModel(modelQuantum);
  1985. p->addModel(modelTrigBuf);
  1986. p->addModel(modelSeqSwitch);
  1987. p->addModel(modelSeqSwitch2);
  1988. p->addModel(modelShiftRegister);
  1989. p->addModel(modelShiftRegister2);
  1990. p->addModel(modelFreeVerb);
  1991. p->addModel(modelSum8);
  1992. p->addModel(modelSum8mk2);
  1993. p->addModel(modelSum8mk3);
  1994. p->addModel(modelSH8);
  1995. p->addModel(modelConstants);
  1996. p->addModel(modelCounter);
  1997. p->addModel(modelTrigDelay);
  1998. p->addModel(modelBPMdetect);
  1999. p->addModel(modelVoltMeter);
  2000. p->addModel(modelOctaFlop);
  2001. p->addModel(modelOctaTrig);
  2002. p->addModel(modelOctaSwitch);
  2003. p->addModel(modelTrigSwitch);
  2004. p->addModel(modelTrigSwitch2);
  2005. p->addModel(modelTrigSwitch3);
  2006. p->addModel(modelTrigSwitch3_2);
  2007. p->addModel(modelOctaPlus);
  2008. p->addModel(modelOctaTimes);
  2009. p->addModel(modelCloner);
  2010. p->addModel(modelPolySplitter);
  2011. p->addModel(modelArpeggiator);
  2012. #undef modelQuantizer
  2013. #undef modelSH8
  2014. }
  2015. }
  2016. static void initStatic__MockbaModular()
  2017. {
  2018. Plugin* const p = new Plugin;
  2019. pluginInstance__MockbaModular = p;
  2020. const StaticPluginLoader spl(p, "MockbaModular");
  2021. if (spl.ok())
  2022. {
  2023. #define modelBlank modelMockbaModularBlank
  2024. #define modelComparator modelMockbaModularComparator
  2025. p->addModel(modelBlank);
  2026. p->addModel(modelFeidah);
  2027. p->addModel(modelFeidahS);
  2028. p->addModel(modelFiltah);
  2029. p->addModel(modelMixah);
  2030. p->addModel(modelMixah3);
  2031. p->addModel(modelDividah);
  2032. p->addModel(modelCountah);
  2033. p->addModel(modelSelectah);
  2034. p->addModel(modelShapah);
  2035. p->addModel(modelHoldah);
  2036. p->addModel(modelPannah);
  2037. p->addModel(modelReVoltah);
  2038. p->addModel(modelCZSaw);
  2039. p->addModel(modelCZSquare);
  2040. p->addModel(modelCZPulse);
  2041. p->addModel(modelCZDblSine);
  2042. p->addModel(modelCZSawPulse);
  2043. p->addModel(modelCZReso1);
  2044. p->addModel(modelCZReso2);
  2045. p->addModel(modelCZReso3);
  2046. p->addModel(modelCZOsc);
  2047. p->addModel(modelMaugTriangle);
  2048. p->addModel(modelMaugShark);
  2049. p->addModel(modelMaugSaw);
  2050. p->addModel(modelMaugSaw2);
  2051. p->addModel(modelMaugSquare);
  2052. p->addModel(modelMaugSquare2);
  2053. p->addModel(modelMaugSquare3);
  2054. p->addModel(modelMaugOsc);
  2055. p->addModel(modelComparator);
  2056. p->addModel(modelDualBUFFER);
  2057. p->addModel(modelDualNOT);
  2058. p->addModel(modelDualOR);
  2059. p->addModel(modelDualNOR);
  2060. p->addModel(modelDualAND);
  2061. p->addModel(modelDualNAND);
  2062. p->addModel(modelDualXOR);
  2063. p->addModel(modelDualXNOR);
  2064. p->addModel(modelPSelectah);
  2065. // require input files to work
  2066. spl.removeModule("UDPClockMaster");
  2067. spl.removeModule("UDPClockSlave");
  2068. #undef modelBlank
  2069. #undef modelComparator
  2070. }
  2071. }
  2072. static void initStatic__Mog()
  2073. {
  2074. Plugin* const p = new Plugin;
  2075. pluginInstance__Mog = p;
  2076. const StaticPluginLoader spl(p, "Mog");
  2077. if (spl.ok())
  2078. {
  2079. p->addModel(modelNetwork);
  2080. p->addModel(modelNexus);
  2081. }
  2082. }
  2083. static void initStatic__mscHack()
  2084. {
  2085. Plugin* const p = new Plugin;
  2086. pluginInstance__mscHack = p;
  2087. const StaticPluginLoader spl(p, "mscHack");
  2088. if (spl.ok())
  2089. {
  2090. p->addModel(modelCompressor);
  2091. p->addModel(modelSynthDrums);
  2092. p->addModel(modelSEQ_6x32x16);
  2093. p->addModel(modelMasterClockx4);
  2094. //p->addModel(modelMasterClockx8);
  2095. p->addModel(modelSEQ_Envelope_8);
  2096. p->addModel(modelSeq_Triad2);
  2097. p->addModel(modelARP700);
  2098. p->addModel(modelMix_4_0_4);
  2099. p->addModel(modelMix_9_3_4);
  2100. p->addModel(modelMix_16_4_4);
  2101. p->addModel(modelMix_24_4_4);
  2102. p->addModel(modelASAF8);
  2103. p->addModel(modelPingPong);
  2104. p->addModel(modelStepDelay);
  2105. p->addModel(modelOsc_3Ch);
  2106. p->addModel(modelDronez);
  2107. p->addModel(modelMorze);
  2108. p->addModel(modelWindz);
  2109. p->addModel(modelLorenz);
  2110. p->addModel(modelAlienz);
  2111. p->addModel(modelOSC_WaveMorph_3);
  2112. p->addModel(modelMaude_221);
  2113. }
  2114. }
  2115. static void initStatic__MSM()
  2116. {
  2117. Plugin* const p = new Plugin;
  2118. pluginInstance__MSM = p;
  2119. const StaticPluginLoader spl(p, "MSM");
  2120. if (spl.ok())
  2121. {
  2122. #define modelADSR modelMSMADSR
  2123. #define modelBlankPanel modelMSMBlankPanel
  2124. #define modelDelay modelMSMDelay
  2125. #define modelLFO modelMSMLFO
  2126. #define modelMult modelMSMMult
  2127. #define modelNoise modelMSMNoise
  2128. #define modelVCA modelMSMVCA
  2129. #define modelVCO modelMSMVCO
  2130. p->addModel(modelVCO);
  2131. p->addModel(modelBVCO);
  2132. p->addModel(modelExperimentalVCO);
  2133. p->addModel(modelNoise);
  2134. p->addModel(modelLFO);
  2135. p->addModel(modelVCA);
  2136. p->addModel(modelADSR);
  2137. p->addModel(modelDelay);
  2138. p->addModel(modelWaveShaper);
  2139. p->addModel(modelWavefolder);
  2140. p->addModel(modelBitcrusher);
  2141. p->addModel(modelPhaserModule);
  2142. p->addModel(modelMorpher);
  2143. p->addModel(modelRingMod);
  2144. p->addModel(modelRandomSource);
  2145. p->addModel(modelMult);
  2146. p->addModel(modelCrazyMult);
  2147. p->addModel(modelFade);
  2148. p->addModel(modelSimpleSlider);
  2149. p->addModel(modelxseq);
  2150. p->addModel(modelBlankPanel);
  2151. #undef modelADSR
  2152. #undef modelBlankPanel
  2153. #undef modelDelay
  2154. #undef modelLFO
  2155. #undef modelMult
  2156. #undef modelNoise
  2157. #undef modelVCA
  2158. #undef modelVCO
  2159. }
  2160. }
  2161. static void initStatic__myth_modules()
  2162. {
  2163. Plugin* const p = new Plugin;
  2164. pluginInstance__myth_modules = p;
  2165. const StaticPluginLoader spl(p, "myth-modules");
  2166. if (spl.ok())
  2167. {
  2168. p->addModel(modelMavka);
  2169. p->addModel(modelMolphar);
  2170. }
  2171. }
  2172. static void initStatic__nonlinearcircuits()
  2173. {
  2174. Plugin* const p = new Plugin;
  2175. pluginInstance__nonlinearcircuits = p;
  2176. const StaticPluginLoader spl(p, "nonlinearcircuits");
  2177. if (spl.ok())
  2178. {
  2179. p->addModel(model4Seq);
  2180. p->addModel(modelCipher);
  2181. p->addModel(modelBOOLs);
  2182. p->addModel(modelDivideConquer);
  2183. p->addModel(modelDivineCMOS);
  2184. p->addModel(modelDoubleNeuron);
  2185. p->addModel(modelGenie);
  2186. p->addModel(modelLetsSplosh);
  2187. p->addModel(modelNeuron);
  2188. p->addModel(modelNumberwang);
  2189. p->addModel(modelSegue);
  2190. p->addModel(modelSquidAxon);
  2191. p->addModel(modelStatues);
  2192. }
  2193. }
  2194. static void initStatic__Orbits()
  2195. {
  2196. Plugin* const p = new Plugin;
  2197. pluginInstance__Orbits = p;
  2198. const StaticPluginLoader spl(p, "Orbits");
  2199. if (spl.ok())
  2200. {
  2201. p->addModel(modelRareBreeds_Orbits_Eugene);
  2202. p->addModel(modelRareBreeds_Orbits_Polygene);
  2203. }
  2204. }
  2205. static void initStatic__ParableInstruments()
  2206. {
  2207. Plugin* const p = new Plugin;
  2208. pluginInstance__ParableInstruments = p;
  2209. const StaticPluginLoader spl(p, "ParableInstruments");
  2210. if (spl.ok())
  2211. {
  2212. #define modelClouds modelParableClouds
  2213. p->addModel(modelClouds);
  2214. #undef modelClouds
  2215. }
  2216. }
  2217. static void initStatic__PathSet()
  2218. {
  2219. Plugin* const p = new Plugin;
  2220. pluginInstance__PathSet = p;
  2221. const StaticPluginLoader spl(p, "PathSet");
  2222. if (spl.ok())
  2223. {
  2224. p->addModel(modelShiftyMod);
  2225. p->addModel(modelShiftyExpander);
  2226. p->addModel(modelIceTray);
  2227. p->addModel(modelAstroVibe);
  2228. p->addModel(modelGlassPane);
  2229. p->addModel(modelNudge);
  2230. }
  2231. }
  2232. static void initStatic__PinkTrombone()
  2233. {
  2234. Plugin* const p = new Plugin;
  2235. pluginInstance__PinkTrombone = p;
  2236. const StaticPluginLoader spl(p, "PinkTrombone");
  2237. if (spl.ok())
  2238. {
  2239. p->addModel(modelPinkTrombone);
  2240. }
  2241. }
  2242. static void initStatic__Prism()
  2243. {
  2244. Plugin* const p = new Plugin;
  2245. pluginInstance__Prism = p;
  2246. const StaticPluginLoader spl(p, "Prism");
  2247. if (spl.ok())
  2248. {
  2249. p->addModel(modelRainbow);
  2250. p->addModel(modelRainbowScaleExpander);
  2251. p->addModel(modelDroplet);
  2252. }
  2253. }
  2254. static void initStatic__rackwindows()
  2255. {
  2256. Plugin* const p = new Plugin;
  2257. pluginInstance__rackwindows = p;
  2258. const StaticPluginLoader spl(p, "rackwindows");
  2259. if (spl.ok())
  2260. {
  2261. // p->addModel(modelAcceleration);
  2262. p->addModel(modelBitshiftgain);
  2263. p->addModel(modelCapacitor);
  2264. p->addModel(modelCapacitor_stereo);
  2265. p->addModel(modelChorus);
  2266. p->addModel(modelConsole);
  2267. p->addModel(modelConsole_mm);
  2268. p->addModel(modelDistance);
  2269. p->addModel(modelGolem);
  2270. p->addModel(modelHolt);
  2271. p->addModel(modelHombre);
  2272. p->addModel(modelInterstage);
  2273. p->addModel(modelMonitoring);
  2274. p->addModel(modelMv);
  2275. p->addModel(modelRasp);
  2276. p->addModel(modelReseq);
  2277. p->addModel(modelTape);
  2278. p->addModel(modelTremolo);
  2279. p->addModel(modelVibrato);
  2280. }
  2281. }
  2282. static void initStatic__repelzen()
  2283. {
  2284. Plugin* const p = new Plugin;
  2285. pluginInstance__repelzen = p;
  2286. const StaticPluginLoader spl(p, "repelzen");
  2287. if (spl.ok())
  2288. {
  2289. #define modelBlank modelrepelzenBlank
  2290. #define modelMixer modelrepelzenMixer
  2291. #define modelWerner modelrepelzenWerner
  2292. p->addModel(modelBlank);
  2293. p->addModel(modelBurst);
  2294. p->addModel(modelFolder);
  2295. p->addModel(modelErwin);
  2296. p->addModel(modelWerner);
  2297. p->addModel(modelMixer);
  2298. #undef modelBlank
  2299. #undef modelMixer
  2300. #undef modelWerner
  2301. }
  2302. }
  2303. static void initStatic__sonusmodular()
  2304. {
  2305. Plugin* const p = new Plugin;
  2306. pluginInstance__sonusmodular = p;
  2307. const StaticPluginLoader spl(p, "sonusmodular");
  2308. if (spl.ok())
  2309. {
  2310. p->addModel(modelAddiction);
  2311. p->addModel(modelBitter);
  2312. p->addModel(modelBymidside);
  2313. p->addModel(modelCampione);
  2314. p->addModel(modelChainsaw);
  2315. p->addModel(modelCtrl);
  2316. p->addModel(modelDeathcrush);
  2317. p->addModel(modelFraction);
  2318. p->addModel(modelHarmony);
  2319. p->addModel(modelLadrone);
  2320. p->addModel(modelLuppolo);
  2321. p->addModel(modelLuppolo3);
  2322. p->addModel(modelMicromacro);
  2323. p->addModel(modelMrcheb);
  2324. p->addModel(modelMultimulti);
  2325. p->addModel(modelNeurosc);
  2326. p->addModel(modelOktagon);
  2327. p->addModel(modelOsculum);
  2328. p->addModel(modelParamath);
  2329. p->addModel(modelPiconoise);
  2330. p->addModel(modelPith);
  2331. p->addModel(modelPusher);
  2332. p->addModel(modelRingo);
  2333. p->addModel(modelScramblase);
  2334. p->addModel(modelTropicana);
  2335. p->addModel(modelTwoff);
  2336. p->addModel(modelYabp);
  2337. }
  2338. }
  2339. static void initStatic__stocaudio()
  2340. {
  2341. Plugin* const p = new Plugin;
  2342. pluginInstance__stocaudio = p;
  2343. const StaticPluginLoader spl(p, "stocaudio");
  2344. if (spl.ok())
  2345. {
  2346. p->addModel(modelPolyturing);
  2347. p->addModel(modelPolydelay);
  2348. p->addModel(modelSpread);
  2349. }
  2350. }
  2351. static void initStatic__unless_modules()
  2352. {
  2353. Plugin* const p = new Plugin;
  2354. pluginInstance__unless_modules = p;
  2355. const StaticPluginLoader spl(p, "unless_modules");
  2356. if (spl.ok())
  2357. {
  2358. // unless_modules::init_theme();
  2359. // theme = _less::Theme();
  2360. p->addModel(modelPiong);
  2361. p->addModel(modelChainkov);
  2362. p->addModel(modelAtoms);
  2363. p->addModel(modelCantor);
  2364. p->addModel(modelRoom);
  2365. p->addModel(modelSnake);
  2366. p->addModel(modelTowers);
  2367. p->addModel(modelPianoid);
  2368. p->addModel(modelPremuter);
  2369. p->addModel(modelAvoider);
  2370. }
  2371. }
  2372. static void initStatic__ValleyAudio()
  2373. {
  2374. Plugin* const p = new Plugin;
  2375. pluginInstance__ValleyAudio = p;
  2376. const StaticPluginLoader spl(p, "ValleyAudio");
  2377. if (spl.ok())
  2378. {
  2379. p->addModel(modelTopograph);
  2380. p->addModel(modelUGraph);
  2381. p->addModel(modelDexter);
  2382. p->addModel(modelPlateau);
  2383. p->addModel(modelInterzone);
  2384. p->addModel(modelAmalgam);
  2385. p->addModel(modelFeline);
  2386. p->addModel(modelTerrorform);
  2387. }
  2388. }
  2389. static void initStatic__Voxglitch()
  2390. {
  2391. Plugin* p = new Plugin;
  2392. pluginInstance__Voxglitch = p;
  2393. const StaticPluginLoader spl(p, "voxglitch");
  2394. if (spl.ok())
  2395. {
  2396. #define modelLooper modelVoxglitchLooper
  2397. p->addModel(modelAutobreak);
  2398. p->addModel(modelByteBeat);
  2399. p->addModel(modelDigitalProgrammer);
  2400. p->addModel(modelDigitalSequencer);
  2401. p->addModel(modelDigitalSequencerXP);
  2402. p->addModel(modelGlitchSequencer);
  2403. p->addModel(modelGhosts);
  2404. p->addModel(modelGoblins);
  2405. p->addModel(modelGrainEngine);
  2406. p->addModel(modelGrainEngineMK2);
  2407. p->addModel(modelGrainEngineMK2Expander);
  2408. p->addModel(modelGrainFx);
  2409. p->addModel(modelHazumi);
  2410. p->addModel(modelLooper);
  2411. p->addModel(modelRepeater);
  2412. p->addModel(modelSamplerX8);
  2413. p->addModel(modelSatanonaut);
  2414. p->addModel(modelGrooveBox);
  2415. p->addModel(modelGrooveBoxExpander);
  2416. p->addModel(modelWavBank);
  2417. p->addModel(modelWavBankMC);
  2418. p->addModel(modelXY);
  2419. #undef modelLooper
  2420. }
  2421. }
  2422. static void initStatic__WhatTheRack()
  2423. {
  2424. Plugin* p = new Plugin;
  2425. pluginInstance__WhatTheRack = p;
  2426. const StaticPluginLoader spl(p, "WhatTheRack");
  2427. if (spl.ok())
  2428. {
  2429. p->addModel(modelWhatTheRack);
  2430. p->addModel(modelWhatTheMod);
  2431. p->addModel(modelWhatTheJack);
  2432. }
  2433. }
  2434. static void initStatic__ZetaCarinaeModules()
  2435. {
  2436. Plugin* p = new Plugin;
  2437. pluginInstance__ZetaCarinaeModules = p;
  2438. const StaticPluginLoader spl(p, "ZetaCarinaeModules");
  2439. if (spl.ok())
  2440. {
  2441. p->addModel(modelBrownianBridge);
  2442. p->addModel(modelOrnsteinUhlenbeck);
  2443. p->addModel(modelIOU);
  2444. p->addModel(modelWarbler);
  2445. p->addModel(modelRosenchance);
  2446. p->addModel(modelGuildensTurn);
  2447. p->addModel(modelRosslerRustler);
  2448. p->addModel(modelFirefly);
  2449. }
  2450. }
  2451. static void initStatic__ZZC()
  2452. {
  2453. Plugin* p = new Plugin;
  2454. pluginInstance__ZZC = p;
  2455. const StaticPluginLoader spl(p, "ZZC");
  2456. if (spl.ok())
  2457. {
  2458. #define modelClock modelZZCClock
  2459. p->addModel(modelClock);
  2460. p->addModel(modelDivider);
  2461. p->addModel(modelFN3);
  2462. p->addModel(modelSCVCA);
  2463. p->addModel(modelSH8);
  2464. p->addModel(modelSRC);
  2465. p->addModel(modelDiv);
  2466. p->addModel(modelDivExp);
  2467. p->addModel(modelPolygate);
  2468. #undef modelClock
  2469. }
  2470. }
  2471. #endif // NOPLUGINS
  2472. void initStaticPlugins()
  2473. {
  2474. initStatic__Cardinal();
  2475. initStatic__Fundamental();
  2476. #ifndef NOPLUGINS
  2477. initStatic__21kHz();
  2478. initStatic__8Mode();
  2479. initStatic__AaronStatic();
  2480. initStatic__Algoritmarte();
  2481. initStatic__AmalgamatedHarmonics();
  2482. initStatic__AnimatedCircuits();
  2483. initStatic__ArableInstruments();
  2484. initStatic__Aria();
  2485. initStatic__AS();
  2486. initStatic__AudibleInstruments();
  2487. initStatic__Autinn();
  2488. initStatic__Axioma();
  2489. initStatic__Bacon();
  2490. initStatic__Befaco();
  2491. initStatic__Bidoo();
  2492. initStatic__BogaudioModules();
  2493. initStatic__CatroModulo();
  2494. initStatic__cf();
  2495. initStatic__ChowDSP();
  2496. initStatic__DrumKit();
  2497. initStatic__ESeries();
  2498. initStatic__ExpertSleepersEncoders();
  2499. initStatic__Extratone();
  2500. initStatic__FehlerFabrik();
  2501. initStatic__forsitan();
  2502. initStatic__GlueTheGiant();
  2503. initStatic__GoodSheperd();
  2504. initStatic__GrandeModular();
  2505. initStatic__HamptonHarmonics();
  2506. initStatic__HetrickCV();
  2507. initStatic__ImpromptuModular();
  2508. initStatic__ihtsyn();
  2509. initStatic__JW();
  2510. initStatic__kocmoc();
  2511. initStatic__LifeFormModular();
  2512. initStatic__LilacLoop();
  2513. initStatic__LittleUtils();
  2514. initStatic__Lomas();
  2515. initStatic__Lyrae();
  2516. initStatic__Meander();
  2517. initStatic__MindMeld();
  2518. initStatic__ML();
  2519. initStatic__MockbaModular();
  2520. initStatic__Mog();
  2521. initStatic__mscHack();
  2522. initStatic__MSM();
  2523. initStatic__myth_modules();
  2524. initStatic__nonlinearcircuits();
  2525. initStatic__Orbits();
  2526. initStatic__ParableInstruments();
  2527. initStatic__PathSet();
  2528. initStatic__PinkTrombone();
  2529. initStatic__Prism();
  2530. initStatic__rackwindows();
  2531. initStatic__repelzen();
  2532. initStatic__sonusmodular();
  2533. initStatic__stocaudio();
  2534. initStatic__unless_modules();
  2535. initStatic__ValleyAudio();
  2536. initStatic__Voxglitch();
  2537. initStatic__WhatTheRack();
  2538. initStatic__ZetaCarinaeModules();
  2539. initStatic__ZZC();
  2540. #endif // NOPLUGINS
  2541. }
  2542. void destroyStaticPlugins()
  2543. {
  2544. for (Plugin* p : plugins)
  2545. delete p;
  2546. plugins.clear();
  2547. }
  2548. }
  2549. }