@d-healey I was watching it than I started 'getting creative' to see what I can do... and that's where I got in trouble... I used to write javascript and AS2 and AS3 for flash... there is some familiar things going on and it's been awhile...
Trust me you don't want a single knob. This creates many issues with preset restoring / automation if the order of the sync knob and the button is not in the correct order etc.
What I'm usually doing is to have two knobs at the same position and just swap the visible property to show only one of them.
@Lindon yes but there's no way of knowing where they are until dir is defined. which is the same function as the download. Can you think of a way of separating these? I'm trying with a timer.... ...... ok hang on... just exported it and the behaviour is different to within Hise and I thiiiink it might work with what I posted above after all... which would be nice!
Yes now that you mention it, it definitely improves the interprocess abilities. Not sure what happens if you use the same port for input / output, but if you're brave you can find it out yourself.
Edit: Added a failsafe rule to reset the panel size if it falls outside of the set perimeters and stops the timer, as on subsequent script recompiles, the panel can keep shifting position until it is outside of the interface and can not show up.
@lalalandsynth Maybe you can use OSC for that? Everything that has to do with MIDI in HISE is using the HiseEvent type internally which is spectacularly incompatible with SysEx so the MidiOut will still not work as you want (also it can't send it to an actual MIDI output, it will just put the message into the buffer that came from the DAW).
@Christoph-Hart Thank you so much man, I'll try and use them ASAP.
I have really complex equations that use the trigonometric math functions like tanh, cosh, cos, atan... several times as a combination on each equation. So I think the total performance should be improved now. Thank you!
@d-healey
Ouch! My fault, i just ran the new version from the dowmloadfolder, where i also compiled it, witchout caring about the paths leading to the old built.
Sorry for that! :(