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.

2740 lines
73KB

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