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.

96 lines
6.1KB

  1. #include "mental.hpp"
  2. #include <math.h>
  3. RACK_PLUGIN_MODEL_DECLARE(mental, MentalSubMixer);
  4. RACK_PLUGIN_MODEL_DECLARE(mental, MentalMults);
  5. RACK_PLUGIN_MODEL_DECLARE(mental, MentalMixer);
  6. RACK_PLUGIN_MODEL_DECLARE(mental, MentalFold);
  7. RACK_PLUGIN_MODEL_DECLARE(mental, MentalClip);
  8. RACK_PLUGIN_MODEL_DECLARE(mental, MentalGates);
  9. RACK_PLUGIN_MODEL_DECLARE(mental, MentalABSwitches);
  10. RACK_PLUGIN_MODEL_DECLARE(mental, MentalQuantiser);
  11. RACK_PLUGIN_MODEL_DECLARE(mental, MentalChord);
  12. RACK_PLUGIN_MODEL_DECLARE(mental, MentalMuxes);
  13. RACK_PLUGIN_MODEL_DECLARE(mental, MentalLogic);
  14. RACK_PLUGIN_MODEL_DECLARE(mental, MentalButtons);
  15. RACK_PLUGIN_MODEL_DECLARE(mental, MentalSums);
  16. RACK_PLUGIN_MODEL_DECLARE(mental, MentalPitchShift);
  17. RACK_PLUGIN_MODEL_DECLARE(mental, MentalClockDivider);
  18. RACK_PLUGIN_MODEL_DECLARE(mental, MentalCartesian);
  19. RACK_PLUGIN_MODEL_DECLARE(mental, MentalPatchMatrix);
  20. RACK_PLUGIN_MODEL_DECLARE(mental, MentalBinaryDecoder);
  21. RACK_PLUGIN_MODEL_DECLARE(mental, MentalSwitch8);
  22. RACK_PLUGIN_MODEL_DECLARE(mental, MentalMux8);
  23. RACK_PLUGIN_MODEL_DECLARE(mental, MentalCounters);
  24. RACK_PLUGIN_MODEL_DECLARE(mental, MentalKnobs);
  25. RACK_PLUGIN_MODEL_DECLARE(mental, MentalGateMaker);
  26. RACK_PLUGIN_MODEL_DECLARE(mental, MentalMasterClock);
  27. //RACK_PLUGIN_MODEL_DECLARE(mental, MentalPatchNotes);
  28. RACK_PLUGIN_MODEL_DECLARE(mental, MentalQuadLFO);
  29. RACK_PLUGIN_MODEL_DECLARE(mental, MentalRadioButtons);
  30. RACK_PLUGIN_INIT(mental) {
  31. RACK_PLUGIN_INIT_ID();
  32. RACK_PLUGIN_INIT_WEBSITE("https://github.com/Strum/Strums_Mental_VCV_Modules");
  33. RACK_PLUGIN_INIT_MANUAL("https://github.com/Strum/Strums_Mental_VCV_Modules/wiki/Mental-Modules-WIKI");
  34. RACK_PLUGIN_MODEL_ADD(mental, MentalSubMixer);
  35. RACK_PLUGIN_MODEL_ADD(mental, MentalMults);
  36. RACK_PLUGIN_MODEL_ADD(mental, MentalMixer);
  37. RACK_PLUGIN_MODEL_ADD(mental, MentalFold);
  38. RACK_PLUGIN_MODEL_ADD(mental, MentalClip);
  39. RACK_PLUGIN_MODEL_ADD(mental, MentalGates);
  40. RACK_PLUGIN_MODEL_ADD(mental, MentalABSwitches);
  41. RACK_PLUGIN_MODEL_ADD(mental, MentalQuantiser);
  42. RACK_PLUGIN_MODEL_ADD(mental, MentalChord);
  43. RACK_PLUGIN_MODEL_ADD(mental, MentalMuxes);
  44. RACK_PLUGIN_MODEL_ADD(mental, MentalLogic);
  45. RACK_PLUGIN_MODEL_ADD(mental, MentalButtons);
  46. RACK_PLUGIN_MODEL_ADD(mental, MentalSums);
  47. RACK_PLUGIN_MODEL_ADD(mental, MentalPitchShift);
  48. RACK_PLUGIN_MODEL_ADD(mental, MentalClockDivider);
  49. RACK_PLUGIN_MODEL_ADD(mental, MentalCartesian);
  50. RACK_PLUGIN_MODEL_ADD(mental, MentalPatchMatrix);
  51. RACK_PLUGIN_MODEL_ADD(mental, MentalBinaryDecoder);
  52. RACK_PLUGIN_MODEL_ADD(mental, MentalSwitch8);
  53. RACK_PLUGIN_MODEL_ADD(mental, MentalMux8);
  54. RACK_PLUGIN_MODEL_ADD(mental, MentalCounters);
  55. RACK_PLUGIN_MODEL_ADD(mental, MentalKnobs);
  56. RACK_PLUGIN_MODEL_ADD(mental, MentalGateMaker);
  57. RACK_PLUGIN_MODEL_ADD(mental, MentalMasterClock);
  58. //RACK_PLUGIN_MODEL_ADD(mental, MentalPatchNotes);
  59. RACK_PLUGIN_MODEL_ADD(mental, MentalQuadLFO);
  60. RACK_PLUGIN_MODEL_ADD(mental, MentalRadioButtons);
  61. /*
  62. p->addModel(createModel<MentalSubMixerWidget>("mental", "MentalSubMixer", "Mental Sub Mixer", MIXER_TAG, PANNING_TAG));
  63. p->addModel(createModel<MentalMultsWidget>("mental", "MentalMults", "Mental Mults", DUAL_TAG, MULTIPLE_TAG));
  64. p->addModel(createModel<MentalMixerWidget>("mental", "MentalMixer", "Mental Mixer", MIXER_TAG, PANNING_TAG));
  65. p->addModel(createModel<MentalFoldWidget>("mental", "MentalFold", "Mental Wave Folder", WAVESHAPER_TAG));
  66. p->addModel(createModel<MentalClipWidget>("mental", "MentalClip", "Mental Wave Clipper", DISTORTION_TAG));
  67. p->addModel(createModel<MentalGatesWidget>("mental", "MentalGates", "Mental Gates", UTILITY_TAG));
  68. p->addModel(createModel<MentalABSwitchesWidget>("mental", "MentalABSwitches", "Mental A/B Switches", SWITCH_TAG, UTILITY_TAG));
  69. //p->addModel(createModel<MentalNoiseGateWidget>("mental", "mental", "MentalNoiseGate", "Mental Noise Gate"));
  70. p->addModel(createModel<MentalQuantiserWidget>("mental", "MentalQuantiser", "Mental Quantiser", QUANTIZER_TAG));
  71. p->addModel(createModel<MentalChordWidget>("mental", "MentalChord", "Mental Chord", CONTROLLER_TAG));
  72. p->addModel(createModel<MentalMuxesWidget>("mental", "MentalMuxes", "Mental Muxes", UTILITY_TAG));
  73. p->addModel(createModel<MentalLogicWidget>("mental", "MentalLogic", "Mental Logic", LOGIC_TAG));
  74. p->addModel(createModel<MentalButtonsWidget>("mental", "MentalButtons", "Mental Buttons", UTILITY_TAG));
  75. p->addModel(createModel<MentalSumsWidget>("mental", "MentalSums", "Mental Sums", UTILITY_TAG));
  76. p->addModel(createModel<MentalPitchShiftWidget>("mental", "MentalPitchShift", "Mental Pitch Shifter", UTILITY_TAG));
  77. p->addModel(createModel<MentalClockDividerWidget>("mental", "MentalClockDivider", "Mental Clock Divider", UTILITY_TAG));
  78. p->addModel(createModel<MentalCartesianWidget>("mental", "MentalCartesian", "Mental Cartesian Sequencer", SEQUENCER_TAG));
  79. p->addModel(createModel<MentalPatchMatrixWidget>("mental", "MentalPatchMatrix", "Mental Patch Matrix", UTILITY_TAG));
  80. p->addModel(createModel<MentalBinaryDecoderWidget>("mental", "MentalBinaryDecoder", "Mental Binary Decoder", UTILITY_TAG));
  81. p->addModel(createModel<MentalSwitch8Widget>("mental", "MentalSwitch8", "Mental 8 Way Switch", UTILITY_TAG));
  82. p->addModel(createModel<MentalMux8Widget>("mental", "MentalMux8", "Mental 8 to 1 Mux", UTILITY_TAG));
  83. p->addModel(createModel<MentalCountersWidget>("mental", "MentalCounters", "Mental Counters", UTILITY_TAG));
  84. p->addModel(createModel<MentalKnobsWidget>("mental", "MentalKnobs", "Mental Knobs", UTILITY_TAG));
  85. p->addModel(createModel<MentalGateMakerWidget>("mental", "MentalGateMaker", "Mental Gate Maker", UTILITY_TAG));
  86. p->addModel(createModel<MentalMasterClockWidget>("mental", "MentalMasterClock", "MentalMasterClock", CLOCK_TAG));
  87. p->addModel(createModel<MentalPatchNotesWidget>("mental", "MentalPatchNotes", "MentalPatchNotes", UTILITY_TAG));
  88. p->addModel(createModel<MentalQuadLFOWidget>("mental", "MentalQuadLFO", "Quad LFO", LFO_TAG, QUAD_TAG, CLOCK_TAG));
  89. p->addModel(createModel<MentalRadioButtonsWidget>("mental", "MentalRadioButtons", "Radio Buttons", UTILITY_TAG, SWITCH_TAG, CONTROLLER_TAG));*/
  90. }