From 1862336c8f1279aa1a6f7636677093b74d57e0eb Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 3 Nov 2021 05:34:18 -0400 Subject: [PATCH] Rename LED* components to VCV*. Change all green lights to yellow. --- src/ADSR.cpp | 10 +++++----- src/Random.cpp | 8 ++++---- src/SEQ3.cpp | 4 ++-- src/Scope.cpp | 4 ++-- src/VCA-1.cpp | 2 +- src/VCMixer.cpp | 8 ++++---- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/ADSR.cpp b/src/ADSR.cpp index 8610607..13accbd 100644 --- a/src/ADSR.cpp +++ b/src/ADSR.cpp @@ -224,15 +224,15 @@ struct ADSRWidget : ModuleWidget { addChild(createWidget(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); addChild(createWidget(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); - addParam(createLightParamCentered>(mm2px(Vec(6.604, 55.454)), module, ADSR::ATTACK_PARAM, ADSR::ATTACK_LIGHT)); - addParam(createLightParamCentered>(mm2px(Vec(17.441, 55.454)), module, ADSR::DECAY_PARAM, ADSR::DECAY_LIGHT)); - addParam(createLightParamCentered>(mm2px(Vec(28.279, 55.454)), module, ADSR::SUSTAIN_PARAM, ADSR::SUSTAIN_LIGHT)); - addParam(createLightParamCentered>(mm2px(Vec(39.116, 55.454)), module, ADSR::RELEASE_PARAM, ADSR::RELEASE_LIGHT)); + addParam(createLightParamCentered>(mm2px(Vec(6.604, 55.454)), module, ADSR::ATTACK_PARAM, ADSR::ATTACK_LIGHT)); + addParam(createLightParamCentered>(mm2px(Vec(17.441, 55.454)), module, ADSR::DECAY_PARAM, ADSR::DECAY_LIGHT)); + addParam(createLightParamCentered>(mm2px(Vec(28.279, 55.454)), module, ADSR::SUSTAIN_PARAM, ADSR::SUSTAIN_LIGHT)); + addParam(createLightParamCentered>(mm2px(Vec(39.116, 55.454)), module, ADSR::RELEASE_PARAM, ADSR::RELEASE_LIGHT)); addParam(createParamCentered(mm2px(Vec(6.604, 80.603)), module, ADSR::ATTACK_CV_PARAM)); addParam(createParamCentered(mm2px(Vec(17.441, 80.63)), module, ADSR::DECAY_CV_PARAM)); addParam(createParamCentered(mm2px(Vec(28.279, 80.603)), module, ADSR::SUSTAIN_CV_PARAM)); addParam(createParamCentered(mm2px(Vec(39.119, 80.603)), module, ADSR::RELEASE_CV_PARAM)); - addParam(createLightParamCentered>(mm2px(Vec(6.604, 113.115)), module, ADSR::PUSH_PARAM, ADSR::PUSH_LIGHT)); + addParam(createLightParamCentered>(mm2px(Vec(6.604, 113.115)), module, ADSR::PUSH_PARAM, ADSR::PUSH_LIGHT)); addInput(createInputCentered(mm2px(Vec(6.604, 96.882)), module, ADSR::ATTACK_INPUT)); addInput(createInputCentered(mm2px(Vec(17.441, 96.859)), module, ADSR::DECAY_INPUT)); diff --git a/src/Random.cpp b/src/Random.cpp index 131b487..023442f 100644 --- a/src/Random.cpp +++ b/src/Random.cpp @@ -243,10 +243,10 @@ struct RandomWidget : ModuleWidget { addChild(createWidget(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); addChild(createWidget(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); - addParam(createLightParamCentered>(mm2px(Vec(6.479, 33.605)), module, Random::RATE_PARAM, Random::RATE_LIGHT)); - addParam(createLightParamCentered>(mm2px(Vec(17.315, 33.605)), module, Random::PROB_PARAM, Random::PROB_LIGHT)); - addParam(createLightParamCentered>(mm2px(Vec(28.152, 33.605)), module, Random::RAND_PARAM, Random::RAND_LIGHT)); - addParam(createLightParamCentered>(mm2px(Vec(38.98, 33.605)), module, Random::SHAPE_PARAM, Random::SHAPE_LIGHT)); + addParam(createLightParamCentered>(mm2px(Vec(6.479, 33.605)), module, Random::RATE_PARAM, Random::RATE_LIGHT)); + addParam(createLightParamCentered>(mm2px(Vec(17.315, 33.605)), module, Random::PROB_PARAM, Random::PROB_LIGHT)); + addParam(createLightParamCentered>(mm2px(Vec(28.152, 33.605)), module, Random::RAND_PARAM, Random::RAND_LIGHT)); + addParam(createLightParamCentered>(mm2px(Vec(38.98, 33.605)), module, Random::SHAPE_PARAM, Random::SHAPE_LIGHT)); addParam(createParamCentered(mm2px(Vec(6.479, 64.347)), module, Random::RATE_CV_PARAM)); addParam(createParamCentered(mm2px(Vec(17.317, 64.347)), module, Random::PROB_CV_PARAM)); addParam(createParamCentered(mm2px(Vec(28.154, 64.347)), module, Random::RAND_CV_PARAM)); diff --git a/src/SEQ3.cpp b/src/SEQ3.cpp index 2747823..99dd373 100644 --- a/src/SEQ3.cpp +++ b/src/SEQ3.cpp @@ -275,9 +275,9 @@ struct SEQ3Widget : ModuleWidget { addParam(createParamCentered(mm2px(Vec(11.753, 26.755)), module, SEQ3::TEMPO_PARAM)); addParam(createParamCentered(mm2px(Vec(32.077, 26.782)), module, SEQ3::STEPS_PARAM)); addParam(createParamCentered(mm2px(Vec(49.372, 34.066)), module, SEQ3::TEMPO_CV_PARAM)); - addParam(createLightParamCentered>>(mm2px(Vec(88.424, 33.679)), module, SEQ3::RUN_PARAM, SEQ3::RUN_LIGHT)); + addParam(createLightParamCentered>>(mm2px(Vec(88.424, 33.679)), module, SEQ3::RUN_PARAM, SEQ3::RUN_LIGHT)); addParam(createParamCentered(mm2px(Vec(62.39, 34.066)), module, SEQ3::STEPS_CV_PARAM)); - addParam(createLightParamCentered>>(mm2px(Vec(101.441, 33.679)), module, SEQ3::RESET_PARAM, SEQ3::RESET_LIGHT)); + addParam(createLightParamCentered>>(mm2px(Vec(101.441, 33.679)), module, SEQ3::RESET_PARAM, SEQ3::RESET_LIGHT)); addParam(createParamCentered(mm2px(Vec(10.319, 46.563)), module, SEQ3::CV_PARAMS + 8 * 0 + 0)); addParam(createParamCentered(mm2px(Vec(23.336, 46.563)), module, SEQ3::CV_PARAMS + 8 * 0 + 1)); diff --git a/src/Scope.cpp b/src/Scope.cpp index caeefe2..b71c21a 100644 --- a/src/Scope.cpp +++ b/src/Scope.cpp @@ -361,10 +361,10 @@ struct ScopeWidget : ModuleWidget { addChild(createWidget(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); addChild(createWidget(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); - // addParam(createParamCentered(mm2px(Vec(8.643, 80.603)), module, Scope::_1X2_PARAM)); + // addParam(createParamCentered(mm2px(Vec(8.643, 80.603)), module, Scope::_1X2_PARAM)); addParam(createParamCentered(mm2px(Vec(24.897, 80.551)), module, Scope::X_SCALE_PARAM)); addParam(createParamCentered(mm2px(Vec(41.147, 80.551)), module, Scope::Y_SCALE_PARAM)); - // addParam(createParamCentered(mm2px(Vec(57.397, 80.521)), module, Scope::TRIG_PARAM)); + // addParam(createParamCentered(mm2px(Vec(57.397, 80.521)), module, Scope::TRIG_PARAM)); addParam(createParamCentered(mm2px(Vec(8.643, 96.819)), module, Scope::TIME_PARAM)); addParam(createParamCentered(mm2px(Vec(24.897, 96.789)), module, Scope::X_POS_PARAM)); addParam(createParamCentered(mm2px(Vec(41.147, 96.815)), module, Scope::Y_POS_PARAM)); diff --git a/src/VCA-1.cpp b/src/VCA-1.cpp index 9638f54..308b429 100644 --- a/src/VCA-1.cpp +++ b/src/VCA-1.cpp @@ -102,7 +102,7 @@ struct VCA_1VUKnob : SliderKnob { r.size.y * gain); } } - nvgFillColor(args.vg, SCHEME_GREEN); + nvgFillColor(args.vg, SCHEME_YELLOW); nvgFill(args.vg); // Invisible separators diff --git a/src/VCMixer.cpp b/src/VCMixer.cpp index c3f05db..807088c 100644 --- a/src/VCMixer.cpp +++ b/src/VCMixer.cpp @@ -153,10 +153,10 @@ struct VCMixerWidget : ModuleWidget { addChild(createWidget(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); addChild(createWidget(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); - addParam(createLightParamCentered>(mm2px(Vec(6.604, 33.605)), module, VCMixer::LVL_PARAMS + 0, VCMixer::LVL_LIGHTS + 0)); - addParam(createLightParamCentered>(mm2px(Vec(17.441, 33.605)), module, VCMixer::LVL_PARAMS + 1, VCMixer::LVL_LIGHTS + 1)); - addParam(createLightParamCentered>(mm2px(Vec(28.279, 33.605)), module, VCMixer::LVL_PARAMS + 2, VCMixer::LVL_LIGHTS + 2)); - addParam(createLightParamCentered>(mm2px(Vec(39.116, 33.605)), module, VCMixer::LVL_PARAMS + 3, VCMixer::LVL_LIGHTS + 3)); + addParam(createLightParamCentered>(mm2px(Vec(6.604, 33.605)), module, VCMixer::LVL_PARAMS + 0, VCMixer::LVL_LIGHTS + 0)); + addParam(createLightParamCentered>(mm2px(Vec(17.441, 33.605)), module, VCMixer::LVL_PARAMS + 1, VCMixer::LVL_LIGHTS + 1)); + addParam(createLightParamCentered>(mm2px(Vec(28.279, 33.605)), module, VCMixer::LVL_PARAMS + 2, VCMixer::LVL_LIGHTS + 2)); + addParam(createLightParamCentered>(mm2px(Vec(39.116, 33.605)), module, VCMixer::LVL_PARAMS + 3, VCMixer::LVL_LIGHTS + 3)); addParam(createParamCentered(mm2px(Vec(22.776, 64.366)), module, VCMixer::MIX_LVL_PARAM)); addInput(createInputCentered(mm2px(Vec(6.604, 64.347)), module, VCMixer::MIX_CV_INPUT));