Browse Source

Merge branch 'v2' of github.com:VCVRack/Fundamental into v2

tags/v2.0.1
Andrew Belt 3 years ago
parent
commit
b7113e9cbc
3 changed files with 10 additions and 2 deletions
  1. +3
    -1
      Makefile
  2. +1
    -1
      plugin.json
  3. +6
    -0
      src/VCA.cpp

+ 3
- 1
Makefile View File

@@ -2,6 +2,8 @@ RACK_DIR ?= ../..

FLAGS += -Idep/include
SOURCES += $(wildcard src/*.cpp)
DISTRIBUTABLES += $(wildcard LICENSE*) res
DISTRIBUTABLES += res
DISTRIBUTABLES += $(wildcard LICENSE*)
DISTRIBUTABLES += $(wildcard presets)

include $(RACK_DIR)/plugin.mk

+ 1
- 1
plugin.json View File

@@ -5,7 +5,7 @@
"name": "Fundamental",
"brand": "VCV",
"author": "VCV",
"authorEmail": "contact@vcvrack.com",
"authorEmail": "support@vcvrack.com",
"pluginUrl": "https://vcvrack.com/Fundamental.html",
"authorUrl": "https://vcvrack.com/",
"manualUrl": "https://vcvrack.com/Fundamental.html#manual",


+ 6
- 0
src/VCA.cpp View File

@@ -34,6 +34,8 @@ struct VCA : Module {
configInput(IN2_INPUT, "Channel 2");
configOutput(OUT1_OUTPUT, "Channel 1");
configOutput(OUT2_OUTPUT, "Channel 2");
configBypass(IN1_INPUT, OUT1_OUTPUT);
configBypass(IN2_INPUT, OUT2_OUTPUT);
}

void processChannel(Input& in, Param& level, Input& lin, Input& exp, Output& out) {
@@ -159,6 +161,10 @@ struct VCA_1 : Module {
config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS);
configParam(LEVEL_PARAM, 0.0, 1.0, 1.0, "Level", "%", 0, 100);
configSwitch(EXP_PARAM, 0.0, 1.0, 1.0, "Response mode", {"Exponential", "Linear"});
configInput(CV_INPUT, "CV");
configInput(IN_INPUT, "Channel");
configOutput(OUT_OUTPUT, "Channel");
configBypass(IN_INPUT, OUT_OUTPUT);
}

void process(const ProcessArgs& args) override {


Loading…
Cancel
Save