| 181 | |
| 182 | struct SpringReverbWidget : ModuleWidget { |
| 183 | SpringReverbWidget(SpringReverb* module) { |
| 184 | setModule(module); |
| 185 | setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/SpringReverb.svg"))); |
| 186 | |
| 187 | addChild(createWidget<Knurlie>(Vec(15, 0))); |
| 188 | addChild(createWidget<Knurlie>(Vec(15, 365))); |
| 189 | addChild(createWidget<Knurlie>(Vec(15 * 6, 0))); |
| 190 | addChild(createWidget<Knurlie>(Vec(15 * 6, 365))); |
| 191 | |
| 192 | addParam(createParam<BefacoBigKnob>(Vec(22, 29), module, SpringReverb::WET_PARAM)); |
| 193 | |
| 194 | addParam(createParam<BefacoSlidePot>(Vec(12, 116), module, SpringReverb::LEVEL1_PARAM)); |
| 195 | addParam(createParam<BefacoSlidePot>(Vec(93, 116), module, SpringReverb::LEVEL2_PARAM)); |
| 196 | |
| 197 | addParam(createParam<Davies1900hWhiteKnob>(Vec(42, 210), module, SpringReverb::HPF_PARAM)); |
| 198 | |
| 199 | addInput(createInput<BefacoInputPort>(Vec(7, 243), module, SpringReverb::CV1_INPUT)); |
| 200 | addInput(createInput<BefacoInputPort>(Vec(88, 243), module, SpringReverb::CV2_INPUT)); |
| 201 | addInput(createInput<BefacoInputPort>(Vec(27, 281), module, SpringReverb::IN1_INPUT)); |
| 202 | addInput(createInput<BefacoInputPort>(Vec(67, 281), module, SpringReverb::IN2_INPUT)); |
| 203 | |
| 204 | addOutput(createOutput<BefacoOutputPort>(Vec(7, 317), module, SpringReverb::MIX_OUTPUT)); |
| 205 | addInput(createInput<BefacoInputPort>(Vec(47, 324), module, SpringReverb::MIX_CV_INPUT)); |
| 206 | addOutput(createOutput<BefacoOutputPort>(Vec(88, 317), module, SpringReverb::WET_OUTPUT)); |
| 207 | |
| 208 | addChild(createLight<MediumLight<GreenRedLight>>(Vec(55, 269), module, SpringReverb::PEAK_LIGHT)); |
| 209 | addChild(createLight<MediumLight<RedLight>>(Vec(55, 113), module, SpringReverb::VU1_LIGHTS + 0)); |
| 210 | addChild(createLight<MediumLight<YellowLight>>(Vec(55, 126), module, SpringReverb::VU1_LIGHTS + 1)); |
| 211 | addChild(createLight<MediumLight<YellowLight>>(Vec(55, 138), module, SpringReverb::VU1_LIGHTS + 2)); |
| 212 | addChild(createLight<MediumLight<GreenLight>>(Vec(55, 150), module, SpringReverb::VU1_LIGHTS + 3)); |
| 213 | addChild(createLight<MediumLight<GreenLight>>(Vec(55, 163), module, SpringReverb::VU1_LIGHTS + 4)); |
| 214 | addChild(createLight<MediumLight<GreenLight>>(Vec(55, 175), module, SpringReverb::VU1_LIGHTS + 5)); |
| 215 | addChild(createLight<MediumLight<GreenLight>>(Vec(55, 188), module, SpringReverb::VU1_LIGHTS + 6)); |
| 216 | } |
| 217 | }; |
| 218 | |
| 219 |
nothing calls this directly
no outgoing calls
no test coverage detected