Setting filter gain in script
I'm trying to set the gain attribute of a polyphonic filter from my script, I'm using
filterName.setAttribute(0, value);but the values don't seem to line up. If I put in a value of 18 I would expect the gain knob on the filter to go to 18 but it doesn't and if I don't seem to be able to set it to a negative number.
Yes there is indeed something weird (it changes the value somehow but with a extremely weird conversion function). I'll investigate.
Alright, it's fixed.