MCPcopy Create free account
hub / github.com/VCVRack/Befaco / STMix

Method STMix

src/STMix.cpp:31–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 };
30
31 STMix() {
32 config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS);
33 for (int i = 0; i < numMixerChannels; ++i) {
34 configParam(GAIN_PARAM + i, 0.f, 1.f, 0.f, string::f("Gain %d", i + 1));
35 configInput(LEFT_INPUT + i, string::f("Channel %d left", i + 1));
36 configInput(RIGHT_INPUT + i, string::f("Channel %d right", i + 1));
37 }
38 configInput(LEFT_INPUT + numMixerChannels, "Channel left (aux)");
39 configInput(RIGHT_INPUT + numMixerChannels, "Channel right (aux)");
40 configOutput(LEFT_OUTPUT, "Left");
41 configOutput(RIGHT_OUTPUT, "Right");
42 }
43
44 void process(const ProcessArgs& args) override {
45 float_4 out_left[4] = {};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected