chaos pad controlled filter – incrementation problem
I have only recently started playing with max and it’s great of fun! However i am having a problem with a chaos pad (pictslider) controlled filter (biquad~). The chaos pad controls the filter fine, i have set the values of the X Y axis’ to their respective values of the filter, the problem im having is the increments the chaos pad uses on the X axis (controlling freq.). i had a similar problem with the Y axis (controlling gain) and corrected it by using a ‘scale’ object so that between the values ‘0’ and ‘1’ the increments effect the decimal numbers and after ‘1’ it effects the integer numbers.
My problem is that i have tried to do something similar with the scale object on the X axis but whatever i do seems to make the ‘pictslider’ object think that i am connecting an inlet rather than effecting the value scale.
----------begin_max5_patcher---------- 1020.3ocyX0tjaBBE82IOEN19yTKfBps+pu.8EnSmNrJIgVhZEx1samtO6kO T2X2nwrI0s6LKFtfvgy8v8B9qkK7uo7Nlz26cdexawhesbwBqIigEM0W3uid WlfJscyesnrX+N+UtlVWVnj76Yllfn.PiYcOJ2qDLk8cPMVclT+rh4lPyXQU 9q77ugVrw26yM8qhpx1xK17kZVlx00nTrdv8HP6CHAXdfzkcuDO2Buxa95aP gGBuB5N674+gZNU3+HB4Es.DZr86kKMEqlHOTv9gdtZGNE6NKR8kYTAyCnIi XuPfFh5+7f5hixXv.bJFlDeTZCNDsMElBGaoHHdTlBlblLE4eCSYJ8fA.xbw RjXmdB3XIDbT8DZFXoWl8UogVBf3dbBwB4kaa0aM6gBNK1ANN6LAVAmXEIQi JNfmq3.8LXkJdlRJ34r51grluYq5VpXuc5rgYFUirsrleuFfTgpll8MtQW7N KoBFhm3EVMj4wXjUCK4nrnvP6iXzArkfs9QnFBdJGl1tptkUq3Y8wXzg92Ki FeY1iE5RZgvtbWf3QkSvYXS19crh8men1vV3pX6ZNyfeNWVIn+zPDqLEhxeT Yll15a05zdFzzU9SLHUkUcFpXzuUTpowCGT4VlXcuQsukZlrrf5TrVCTgvNM cj7P5a6+c8xzdyZaLeJxkdMx5RiGMrYT7L3QWyEJV8lZZ01G7OpyKdHZPvkV dnSPOxOZ66ohIzPOoNhASbIYSNNAkbTVHo0nao0KjtjobVcylITsd7WY9gYh bgh.AjT.1zP.DfvFCfAK7970KW0M7uuml+v0IYkjuoPqSFkrQt3KNNOgDfGV LFOCmjgceNMa.UHX3kQyQUCcmLKpq7XKCxUKy5NlTR2vdhSTTVV48Z30wINp 6ClXW2tksiCfCrSAOCG0XnSqu1Dl+gqStyFQ8TRd1nJf.mdHcrHsm609Zwmj daKxd0GMnpawZyN.Mwt.oDWzEa9h26+rBXnJ2rQv7OOwyoh01vPtMLnwuX7I y2XeKcX9h+9iBXmXi89KOY495rVj1diRuGm7blTwKnJdYwAcJsWe1xyyYEGF cXGOupTut6RDeTt9pBIy2L3+MLY5Cd5PBSrWTAa2O1Vi3NOdTRPbBNFPbVtP zatP7IQu45hyHiZzTvS4jQyJjlDMYbxjyvI2bXJXj0I6pEauRQTBJfDgRvgN KWH5Sl.gZtsxLRnwSfOI8f8IQDJLxbdovP2kyz2kss1LgUvy.qQtOsmMY3A0 LsEe46tCm.xiOOj2fNTyGXxsNr0tzsXS.qyajc70GQvDK6AAvC7z1ZWHVihm X.p4i9Rln3CNeQwm.hvOqsCjDWLmtJ8PptxuW9G.untsz -----------end_max5_patcher-----------
This is the patcher in question, any help would be much appreciated!!!
Thanks in advance
"My problem is that i have tried to do something similar with the scale object on the X axis but whatever i do seems to make the ‘pictslider’ object think that i am connecting an inlet rather than effecting the value scale."
It appears from the way your patch cords are laid out you were *trying* to connect the scale outlet to the pictslider *outlet* – and max always avoids connections like that and in this case forces the patch cord to connect to the inlet. Actually connecting the x scale object – as it was set in your patch to the filtergraph frequency inlet also gave extreme values because the pictslider is already set to output values between 30 and 20000 -. (as set in the pictslider inspector).
I revised the patch to what (I thinkt) you were trying to do – and took liberties to revise both x and y scale object arguments- x scale is only changing the linearity of the values for better low frequency resolution, while y scale is set to achieved balanced cut/boost.
----------begin_max5_patcher---------- 1061.3oc2YstbapCD921OELzyO8wiVIDWZ+UeA5KvY5bFEP1VmJCTPNMMcZd 1O5BfMsXBl33oSxjHgVzku8aWsqD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NjRzYToluPf6tYAt6jzqUSXzXrN4HNlRbRd g5RvDUE5zUkPf3TE6UAnTvoC8ZYu4UPP75nXZDJzI4FnJ.5l679bPJ3ONDA2 3sSS.RzKCQ.Mw3B593YPbWiWHRim.Ri5Eu50l6Bhl392am4jNADQtPyoyBBH v8EqN15F35QtorGYhtXW9lAbyW3hDz05Eh0o36cgGVnAcD2+rACxQ8ZYdWD4 lgbXFH288ehocstBAcdtC.AvKvIU23mK+eH2pcrC -----------end_max5_patcher-----------
Excelent, this is exactly what i was trying to do, apologies for the bad explination….
So the problem with the routing was because i was trying to route the outlet of the scaling object outputing the scaled number instead of the inlet which is the number to be scaled.
I do have a couple of questions though, is there an easy method to working out the exponential value or is it a case of trial and error or masses of equations? And the ‘low output value’ on the Y axis is set to ‘0.0675’ rather than ‘0’, is this figure used because of the exponential? if not why not just use ‘0’?
Cheers for your help
The exponential value for x (1.0003) was chosen – by trial and error- as it provides somewhat more low frequency ‘resolution’. Much greater values (which you could try) seemed to zip through the lower frequency ranges of the filtergraph or not work at all.
The gain (y) value are a ratio, as you guessed – an exponential, as in a gain fader – where 1 is ‘flat’ or no gain, 12 is (close enough to) max gain, and, to have a proportional gain reduction the min should be 0.833 (ie 1/12) rather than 0.0625 which is 1/16th. either a ratio of 12 or 16 for both gain and cut seems ok, its just that I was not consistent…If you have 0 as a minimum gain value, the ratio becomes extreme and the filtergraph effectively goes ‘out of bounds’.
Ok, thanks dude. Appreciate the help!
Forums > MaxMSP