*Feature Request* Extra tempo synced speeds for modulation
-
@LeeC as David said "Engine.getHostBmp();"
-
-
@LeeC I guess you have to use a timer that continuous checks the host tempo
-
@ulrik ok thanks.
Any thoughts on how frequently to call
Engine.getHostBmp();
using a timer?Also, will this method eat up unnecessary CPU?
Thanks again
-
@LeeC I don't think the timer will eat up much cpu, but maybe some more qualified can answer that.
I think you should try to set up a test plugin and run it in your host, you could even make button and a slider in your plugin, slider to change the timer freq and a button to restart it.I'm just speculating now but maybe the code
"Engine.getHostBmp();"
will check the host continuous already? or maybe when the host change tempo it spits out the information the plugin will respond immediately, I don't know?
Maybe some with more knowledge can chime in? -
I think the timer is the only option at the moment. If would be nice to see some host callbacks for bpm and transport states @Christoph-Hart ;)
-
@d-healey but what about all modulators "Tempo Sync", they follow if the host change tempo, so there must be some inbuilt function there?
-
@ulrik I don't think we can access it through scripting though. Might be able to with scriptnode...
-
@d-healey Ok.
-
Yes I was excited to see @Christoph-Hart push some new features to the tempo.sync node in scriptnode a few days ago.
However, exported fx using this node sound very strange when using them in a DAW as mentioned in this thread https://forum.hise.audio/topic/2120/flanger-in-scriptnode/17).Iām gonna keep exploring the timer solution for now