@ustk@griffinboy are right the scripting portion doesn’t work for realtime. I’ve recently worked on something similar to this, you can perform the FFT analysis in a C++ node then broadcast the values to HISE using global cables.
@Bicrome the issue is your air windows nodes. Whenever you update HISE you need to recompile any nodes you are using as well. If you have air windows inside of scriptnode networks it will fail initially. You need to compile the air windows nodes first, then do another round of compiling the scriptnode networks that contain them.
@Bicrome I made an attempt long ago, had several "client plugins" listening to the main plugin, It worked using osc.
I stopped working on it but I don't remember why.
@d-healey Is there a way to completely reset all settings and make Projucer 100% clean?
I suspect something might be hidden in Projucer—are there any folders I should delete to ensure a truly clean build?
There will be an app data folder on your system for Projucer, you can delete that.
@HISEnberg
Thanks for the suggestion! :-)
I had to open a panel anyway to display the ViewPort. I opened the panel using a button. In the button callback, I then always set the ViewPort to the correct position. That solved the problem for me.
@d-healey Hi there, I am replying to this post three years later. Is there any workaround for this at all? (Making the .tablePoint in a table larger than the boundary restrictions for g.drawEllipse(obj.tablePoint, 1.0);
@Christoph-Hart So i've compiled the latest branch to try it out and it looks really cool! my only issue is that when enabling the Spectrum Meter in a parametriq EQ it crashes. I suppose it's because of the CSS or maybe I'm missing something?
@d-healey Ok, I think I know what's going on. When duplicating knobs, the duplicated knob inherits the links from the original one. So if I change the gain of the original knob and compile, HISE applies the value from the duplicated knob, not the original. Thanks anyway!
const var exh= Engine.createExpansionHandler();
var presetList=[];
var expList= exh.getExpansionList();
for (e in Engine.getUserPresetList()) presetList.push(e);
for (i=0;i<expList.length;i++)
{
for (e in expList[i].getUserPresetList()) presetList.push(e);
}
Console.print(trace(presetList));
I'm not in front of the computer but this should work. @mehmethand
Your code did work. I have now populated a viewport with the list of all presets across all expansions. I can also type into a 'search box' which is actually a label and then the matching results are shown which is a good start.
I am struggling to figure out how to link further code to it so that I can load the relevant preset when one of the results is clicked. Do you know if this is possible?
Thanks in advance