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.

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