Hello,
I want to add fader and pot control to my Axoloti.
I'm looking at two possible ways to do it.
I wanted to use the analog inputs (if I'm right 16 available) which could make 4 faders and 12 pots.
The other solution was to get a cheap midi controller and do it the out of the box way.
I would prefer the all in the box for weight and travel convenience.
What will make me take my decision is the processing power that would take the 16 controls.
Anyone has some experience with this?
how much does an analog control take on the Pic?
My main patch is running at 70% cpu (it's basically a sampler with 6 voice of poly and some mixer for the audio input and sampler with fx)
Would I be ok using the analog control or is safer to go the midi way.
best
K
Analog control and processing power
Barely any, if I'm not mistaken. Load in a gpio/analog/in device, right click it, and go to help. It'll load a patch with 15 of them and from what I remember usage is only like 1 or 2 percent.
@Ott thanks!
that's perfect, I'm gonna go for the analog controls then!
I realized only 15 analog are available, right?
cheers
K
I have another question, is it possible to transfer the analog in controls as midi out cc from the axoloty?
FYI, I've had noise here and there on my analog pots. I'm fairly skilled with electronics, and tried some smoothing capacitors to kill the noise, but found that a kfilter lowpass object on the analog inputs does the job perfectly -- just at the cost of some more DSP power. Worth it in my opinion, but not everyone might agree with me.
Its all about what you want to do with the data you want to collect from the analog inputs, depending on your needs, the more objects you need to get the data the way you want it, the more processing power needed. Long time ago when I was experimenting with what sort of setup I could have, I had quite an elaborate setup of mux's, data converters, internal midi routers, that there was not enough processing power just for that. So I chose to go with midi and build my own controller achieving the same result with very little demand for processing power on the Axo.
I want to control my axo patch, which is basically a sample player with various parameters but then also use some of the faders and pots on the axo to control a Nord Micro via midi. I will only be CC out, I won't be using the midi notes or sequences as another machine will be sending this to the Nord.
something else to consider -- i find the steppiness of midi control extraordinarily distasteful, so each midi CC input costs me extra for a smoothing object. Pros and cons for both methods...
I have another question, is it possible to transfer the analog in controls as midi out cc from the axoloty?
Yes, that's not a problem. You can use one of the regular midi/out/cc objects for that.
I wrote myself an object that reads all 15 gpio analog pins and sends them to midi, and also filters some of the noise, without using up too much SRAM. Maybe you find this useful. Just enter 15 numbers in the 'map' attribute and give it a try.
Ignore the pval inlet and the pickup attribute, these are for combination with tables to store the whole set of cc values.
With 'offset' you can shift (preferably by 15) to get several 'pages' of controllers; just give it more map numbers accordingly.