I think you are more akin to programmers than musicians from your speedy replies and willingness to help.
I am fairly new to max and have only basic experience using objects.
Just how hard will will it be to implement that piece of code into a patch that actually performs how I would like?
For your interest I am trying to use a rotary encoder as a crossfader of sorts. I have mapped it to 2 seperate faders in ableton and inverted the range on one so when I dial it they go opposite ways. My problem is that being logarithmic and not linear I get a very attenuated crossfade in the middle of the ranges. Ideally I would like consistent volume.
If my faders are relying on inverted values from the same rotary encoder then no matter what the curve is it will still be the exact inverse value at any given point. The rate of movement will be affected by changing the curve but not the relative volume changes. derrrrrrr....
Somehow I need to adjust the individual fader curves before the bcr comes into play. Anyone know any code for converting a logarithmic function into a linear one.
This is proving quite the pickle.
Basically if a sine wave is playing on 2 channels I want to be able to use the rotary to cross fade between them without noticing a drop in volume.
Somehow I have a feeling that someone will know just what I want to do and have a much easier way to do it. And no, I cant use the cross fader as there is only 1 of them and I want one every 2 channels.