MCPcopy Create free account
hub / github.com/VCVRack/AudibleInstruments / Streams

Method Streams

src/Streams.cpp:45–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 };
44
45 Streams() {
46 config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS);
47 configParam(BUTTON_1_PARAM, 0.f, 1.f, 0.f, "");
48 configParam(BUTTON_2_PARAM, 0.f, 1.f, 0.f, "");
49 configParam(SHAPE_1_PARAM, 0.f, 1.f, 0.5f, "");
50 configParam(SHAPE_2_PARAM, 0.f, 1.f, 0.5f, "");
51 configParam(MOD_1_PARAM, 0.f, 1.f, 0.5f, "");
52 configParam(MOD_2_PARAM, 0.f, 1.f, 0.5f, "");
53 configParam(METER_PARAM, 0.f, 1.f, 0.f, "");
54 configParam(KNOB_1_PARAM, 0.f, 1.f, 0.5f, "");
55 configParam(LEVEL_MOD_1_PARAM, 0.f, 1.f, 0.5f, "");
56 configParam(LEVEL_MOD_2_PARAM, 0.f, 1.f, 0.5f, "");
57 configParam(KNOB_2_PARAM, 0.f, 1.f, 0.5f, "");
58 }
59
60 void process(const ProcessArgs& args) override {
61 lights[METER_1_LIGHT].setBrightness(1);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected