W5ZZO
Well-known member
In order to more easily manipulate multiple channels in my synthesizer project, I coded this:
used by indexing to address a particular channel like this:
This also works well with faders and mixers.
Perhaps there could be an (optional?) automated way to generate these object arrays from the Audio Tool?
It takes some time to copy/paste and edit them manually... I am thankful for the tool as-is, but I love automation replacing drudgery.
- Wes, W5ZZO
Code:
AudioSynthWaveformModulated *WaveformMod[MAX_CHANNELS]={&waveformMod1, &waveformMod2, &waveformMod3, &waveformMod4};
Code:
WaveformMod[0]->begin(WAVEFORM_SINE);
Perhaps there could be an (optional?) automated way to generate these object arrays from the Audio Tool?
It takes some time to copy/paste and edit them manually... I am thankful for the tool as-is, but I love automation replacing drudgery.
- Wes, W5ZZO