@Oli-Ullmann
Hi, thnak you !
I will start studying and create something with Scriptnode (yes I too noticed that the Filter module create some glitches when change some parameters, and it happens also with the VST compiled used in different DAWS).
I didn't try the standalone if it has the same problems.
Latest posts made by swina
-
RE: How to get correct list of filter modes from Engine.getFilterModeList()
-
RE: How to get correct list of filter modes from Engine.getFilterModeList()
@d-healey
As a developer I am always trying not to "hardcode" options that are going to probably get an update, but in this case my problem was to associate them to a combo items with a correct index in order to work without any hardcode. If you use a normal knob with any value from 0 to 100 and you set the parameterId to the Filter->Mode it works correctly. There is also the problem that "Filter mode", that means no Filter mode selected has to be added to the combo's items in a position that doesn't make sense (see pict below). -
How to get correct list of filter modes from Engine.getFilterModeList()
I am quite new about HISE,
and I am trying to populate a combo items with the list of the Engine.getFilterModeList() that returns an object.
I was not able to find a way to get the filter modes list as an array of items (or at least the object keys, that should be something like State_mode_name in camel case).
So I tried to set the combo items manually with an order mapped thru a slider set to the Filter->Mode. I found out that the Modes are 0 thru 17, where the Filter mode (no filter selected) is in position 15.
But even setting the items manually with the following list (created manually)://Combo has processorId = Filter1 //Combo as parameterId = Mode reg FILTER_MODES = [ "Biquad LP", "Biquad HP", "Low Shelf EQ", "High Shelf EQ", "Peak EQ", "BiQuad LP Rez", "SVF LP", "SVF HP", "Moog LP", "1 Pole LP", "1 Pole HP", "SVF Notch", "SVF BP", "Allpass", "Filter mode", "Ladder 4Pole LP", "Ring Mod" ]; Combo.set("items",FILTER_MODES.join('\n'));
from the interface the combo selection doesn't set the correct value for the corrispondent filter. Items are correctly listed as the array order. Index order seems to change every time I compile.
Any idea ?
Thank you.