Paul, Thanks for confirming that.
boxofrobots, not sure I follow what you mean by "modulate the ADSR"? It doesn't have either an input channel or a method to allow it to be modulated?
I get Paul's suggestion as something like:
Code:
// GUItool: begin automatically generated code
AudioSynthWaveformDc dc1; //xy=406,312
AudioSynthWaveform waveform3; //xy=510.9999694824219,259
AudioEffectEnvelope envelope2; //xy=542,315
AudioFilterStateVariable filter1; //xy=685.7777099609375,269.3333435058594
AudioEffectEnvelope envelope1; //xy=841,252
AudioOutputI2S i2s1; //xy=1001.1110305786133,256.44447135925293
AudioConnection patchCord1(dc1, envelope2);
AudioConnection patchCord2(waveform3, 0, filter1, 0);
AudioConnection patchCord3(envelope2, 0, filter1, 1);
AudioConnection patchCord4(filter1, 0, envelope1, 0);
AudioConnection patchCord5(envelope1, 0, i2s1, 0);
AudioConnection patchCord6(envelope1, 0, i2s1, 1);
AudioControlSGTL5000 sgtl5000_1; //xy=667.4443969726562,196.11111450195312
// GUItool: end automatically generated code
(and I'll try that.)
But what would any alternatives look like?
EDIT: actually maybe the above should look more like??:
Code:
// GUItool: begin automatically generated code
AudioSynthWaveform waveform3; //xy=514,166
AudioSynthWaveformDc dc1; //xy=540,227
AudioEffectEnvelope envelope1; //xy=667,168
AudioEffectEnvelope envelope2; //xy=676,230
AudioFilterStateVariable filter1; //xy=819,184
AudioOutputI2S i2s1; //xy=1007,172
AudioConnection patchCord1(waveform3, envelope1);
AudioConnection patchCord2(dc1, envelope2);
AudioConnection patchCord3(envelope1, 0, filter1, 0);
AudioConnection patchCord4(envelope2, 0, filter1, 1);
AudioConnection patchCord5(filter1, 0, i2s1, 0);
AudioConnection patchCord6(filter1, 0, i2s1, 1);
AudioControlSGTL5000 sgtl5000_1; //xy=673,112
// GUItool: end automatically generated code
that is: