Engine.getHostBpm not works as aspected
-
I would like to know if Engine.getHostBpm works inside HISE. In Console.print I always get 80.0 as value. Example:
-
@Mighty23 I recently exported a plugin with that function and it was ok. I think it doesn't work within Hise.
-
It would be really handy if it did work inside HISE.
-
It should work but I think it's bugged.
I notice if I change the BPM in HISE then close/reopen HISE then Engine.getHostBPM() will show the new BPM I set.
Open a github issue.
-
That function gets the Global BPM from the Custom Settings Tile (Actually the DAW's BPM in audio Plugins), not from the HISE Controller.
HiseSnippet 913.3ocsU80aaaCDmzIJX1saqEXe.D5SN.AF1YsoCqOrT+uLiFmXTkVLfggBZoy1DghTfjJcdE8084ZeY166aP6QIEaoD2zVCL8fMue2cR+3w69wIZUHXLJMgV+hkI.gdeufkR6hdKXbIYTeB867FyLVP6mC0cYByXfHBktyIN.Z8cIYO+2uzkIXxPXMDg7ZEODNkGysqQmb7K3BwPVDbAOtTzO93QgJYOkPkh7YGu1jDV3kr4vYLWX07Hz8FDwsJcfkYACFSWUzxfEp2Jyi+0bCep.bFcHA3KJGlzaAWDM458pgPn6NY8Nem7c9O3MlGwWgutB7fLG9qynbMfV6tnTmuBJQKQocyozC8BB07D6ZON9bOuQR7.YFCK0koRdrD5+50SgAHsshYWBC0nwpDZdT61G3i+r+yZz.CynDPqDMWZaNPNmKgVyA6upL1tIwM2e+mMKUFZ4JouRdlxBmKatei20ndi22v+ltlMai9bbQqDBPuQ2tV.8ckXSYZ7TPef+ULQJrJPrFUsvu2WVgOLuzTJPkbjjaOOAJrGpDQtBpa8sOlHE0Vb0qF0mYYtStBLLtDPa4N5P6CWgs94mi085ClKspjrXiSTR2afdOaQiW9I2PghY4x4WvQZyQF78dkg5P9yUyJ+yziWVdvof.4esG30K0XUwAf0kqgLc90CU02CC+Ctb3VHtBJoJ5gkgy1m09ap26Z36+n9Z9Uf9Q+r+Llv.GjAksYq.cdpMI0VApa5rYfNf+WUiLfEmHfWhGiUfOQnlxDcmLFQs5zhXsZfEi6pwpna7VBYBXHKDaIpfmo.87XUp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