Part 4 - Axoctrl
Ok, problems solved. I got the soldering issues figured out and while I'm waiting for the OLED 3306 screen to arrive (didn't know they made ones with the VCC and ground pins swapped?!?), I put the unit together and did some basic coding on the patch.
Replacing the inputs with those from the Axoctrl is pretty straightforward, but I have a couple of questions below that maybe someone can help me figure out what the best approach is.
First things first, I'm struggling with how to control the filter. The easy way which is in the patch is to simply control the cut-off with one of the pots, which sounds great. The harder way is somehow figuring out how to combine the ADSR with the EG amount. I think what I'm trying to do is to set the cut-off frequency and then use the ADSR to modulate the amount of filter applied based on the gate? Does this sound right?
The other thing is that the pots that I bought are 0-64 range and for most things I need -64-+64 range, I solved this with the TSG/math/map b and setting the two points. Is there an easier way to do this?
Another idea which I'm not sure how to do is to take one of the pots and have it do the mixing between the two OSCs, -64=100% OSC1, 0=50/50 mix of both +64=100% OSC2. I was thinking there should be an object that does this already but I couldn't find one. This would move the mix to one of the potentiometer instead of two.
The other problem I'd like to solve is that I have four buttons on the axoctrl and I'd like to use one as a "shift" function and be able to hold it and change a value of a pot to affect a different parameter, are there any good examples of this out there?
Thanks again, I'm hoping that I'll have the screen and the modulation inputs to test out as part of the next couple of updates.
minataur-step4-axoctrl.axp (13.5 KB)