Hello,
I’m trying to modify Hampton Harmonics Arp module to have poly outputs in rotate mode. That is, I would like each output note to be played in a separate channel. I have partial success, now the output is poly but the gate output is on all channels at the same time. Here is the part that I modified:
int channels = inputs[PITCH_INPUT].getChannels(); outputs[PITCH_OUTPUT].setChannels(channels); outputs[GATE_OUTPUT].setChannels(channels); for (int c = 0; c < channels; c++) { outputs[PITCH_OUTPUT].setVoltage(this->_pitchOut, c); outputs[GATE_OUTPUT].setVoltage(hasHighGate || this->_shouldLatch ? this->_gateGenerator.process (this->_sampleTime) * 5.0f : 0.0f, c); }
You can find the original source code here: https://gitlab.com/hampton-harmonics/hampton-harmonics-modules
I’m a beginner in programming, but I will be glad if you can point me in the right direction.
Thanks in advance