ScriptPanel on a timer doesn't work on standalone.
-
@ustk Unfortunately, the problem persists after compiling with the change to 30ms.
-
@RastaChess Do you see any console errors in HISE? Does it work at 100ms?
-
@d-healey No console errors. It works just fine inside HISE.
It still doesn't work after compilation with the setting at 100ms. -
@RastaChess
Boy, it feels like I'm on this forum everyday now asking questions.Thank you all for the help.
I still have not been able to solve this issue.
I think it may be connected somehow with the other part of my interface that does not work after export (the initial preset does not get loaded) It works just fine in HISE but not after exporting.
I have no idea what connects the LFO meter bulb and the mini browser that I scripted but yeah, these two things refuse to work after export, standalone or AU.
This is the last hurdle I need to overcome to complete my project.
any ideas?
thank you.
-
@RastaChess
Is everything in the snipped to rebuild the issue?
I would take a look at it, if it wouldn't be solved than. -
@VorosMusic Yes, Everything for the panel/meter bulb. Not for the patch browser.
Thank you. -
@VorosMusic Note that in the snippet it has the original 5ms on the timer. Which I has since change to 100.
-
@RastaChess I changed in preferences to
and
HiseSnippet 1320.3ocyXE0aaTDDdujbUXCE0BUH3Ezo9jCM3ZmjlBJBU63XCV0NwM1MfTTTXycq8sJ2s6wdqShEpuya72gG4+.+QfeAkYt0974V2PHMPikxcdmYmc+1Yl8aFmNJoKKNVpHV45MJhQr9.6tiDZ+Z9Ttfzbah0ssaDPi84hAsXdjsFEQiiguXYs32hSwJ2RjjO+4S1hFPEtrohHj8kbWVKdHWOUZmJOkGDzf5w5wCyL60qzzUJpICjCA3rncIRD08D5.1NTbZKXSrtUcOtVp5poZVLwZosjdi55KOSXl+97X9wALbPYRWXgLhaHC7PDiRI074AdclbriIvpzYpSXQiS3d1s4d7T4ScF2IQgyTKx5OrVXV3s3LvqbV3UJC7lCjrx.okLP5t1ccU7H8TMHdde6lBMS0mBt8rPwLWxBubQ6ZRXFBcwP5IrFJXPpEE1nToUbfGKuY97fqOV6bJU4zpwtG0d2sOpry23jjKTb.S2V5MLfBGtB2OU+8A6LlghBYvxBlLY+nddcnBVfwfDs2eEmGUB+C2vG9vbfBm106UeOmNUatSOm81848ZtS87o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7HWSKi3U12KQBfIQxuwNmcabrSYRRajHccohkHgvu48HWWrf9WBc9MeaV8JXyZWAaV+JXyitB1rwUvlGeEr4qtPav+cCUGBUFL4iffN0M0DrRKHYsH4uQTGGM.
-
@ulrik thank you so much for taking a look.
During the build I got the following error which I didn't get before.
clang: error: no such file or directory: /............./Binaries/JuceLibraryCode/include_juce_audio_basics.mm
I confirmed that is not there. How do I tell HISE to include this file? or where can I find it to copy it in there?
-
@ulrik OMG!!! I'm so happy!
On a hunch, I changed the Enable Global Preprocesor setting in preferences to on.... And the build succeeded!
Thank you soooooooooooo much. You guys are amazing!
-
This post is deleted! -
@ulrik @RastaChess hey guys! im attempting to figure out how to link this to the panels scale instead of the opacity but am stuck. any advice?
HiseSnippet 1320.3ocyXE0aaTDDdujbUXCE0BUH3Ezo9jCM3ZmjlBJBU63XCV0NwM1MfTTTXycq8sJ2s6wdqShEpuya72gG4+.+QfeAkYt0974V2PHMPikxcdmYmc+1Yl8aFmNJoKKNVpHV45MJhQr9.6tiDZ+Z9Ttfzbah0ssaDPi84hAsXdjsFEQiiguXYs32hSwJ2RjjO+4S1hFPEtrohHj8kbWVKdHWOUZmJOkGDzf5w5wCyL60qzzUJpICjCA3rncIRD08D5.1NTbZKXSrtUcOtVp5poZVLwZosjdi55KOSXl+97X9wALbPYRWXgLhaHC7PDiRI074AdclbriIvpzYpSXQiS3d1s4d7T4ScF2IQgyTKx5OrVXV3s3LvqbV3UJC7lCjrx.okLP5t1ccU7H8TMHdde6lBMS0mBt8rPwLWxBubQ6ZRXFBcwP5IrFJXPpEE1nToUbfGKuY97fqOV6bJU4zpwtG0d2sOpry23jjKTb.S2V5MLfBGtB2OU+8A6LlghBYvxBlLY+nddcnBVfwfDs2eEmGUB+C2vG9vbfBm106UeOmNUatSOm81848ZtS87oFTLlo6.9d8dxgZtfUn+PgqlKEEFrb9eNeNDtgUgM8.sOOFw42w3C70EV9KJUb0UbtzRe77kd3ll8fFD4S2mFLjA60jIlLt.bTxM.woIw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RKHYsH4uQTGGM.
-
@Adam_G said in ScriptPanel on a timer doesn't work on standalone.:
@ulrik @RastaChess hey guys! im attempting to figure out how to link this to the panels scale instead of the opacity but am stuck. any advice?
HiseSnippet 1320.3ocyXE0aaTDDdujbUXCE0BUH3Ezo9jCM3ZmjlBJBU63XCV0NwM1MfTTTXycq8sJ2s6wdqShEpuya72gG4+.+QfeAkYt0974V2PHMPikxcdmYmc+1Yl8aFmNJoKKNVpHV45MJhQr9.6tiDZ+Z9Ttfzbah0ssaDPi84hAsXdjsFEQiiguXYs32hSwJ2RjjO+4S1hFPEtrohHj8kbWVKdHWOUZmJOkGDzf5w5wCyL60qzzUJpICjCA3rncIRD08D5.1NTbZKXSrtUcOtVp5poZVLwZosjdi55KOSXl+97X9wALbPYRWXgLhaHC7PDiRI074AdclbriIvpzYpSXQiS3d1s4d7T4ScF2IQgyTKx5OrVXV3s3LvqbV3UJC7lCjrx.okLP5t1ccU7H8TMHdde6lBMS0mBt8rPwLWxBubQ6ZRXFBcwP5IrFJXPpEE1nToUbfGKuY97fqOV6bJU4zpwtG0d2sOpry23jjKTb.S2V5MLfBGtB2OU+8A6LlghBYvxBlLY+nddcnBVfwfDs2eEmGUB+C2vG9vbfBm106UeOmNUatSOm81848ZtS87oFTLlo6.9d8dxgZtfUn+PgqlKEEFrb9eNeNDtgUgM8.sOOFw42w3C70EV9KJUb0UbtzRe77kd3ll8fFD4S2mFLjA60jIlLt.bTxM.woIwsf4UbwiCfjWiROE8L3.Hfjv8XtZpXP.qvAgUOn7gq3XdAOWyLXsCg2qBdoxKuoy7WZOp5jAJ1Hyp2GtL8ua0KW5MtzREXOK8LsKbCjqGUX54+RumNyYSy+hWKv2qYa3YspsZsU0ZOMetYB8H+fpFMH3XvWNM1ub9bPrOIvbNDORyGwfRsgJEj80hcJj4gfMGNkycdfSohkwgIQu3IQuyWNUlhEgYZIFg3LGBzt8ptWOCHmAaZpxftBqgNyIPyQJ1QpY6hXDfX9Wj+0T0u+b0g2ZTxf.XEmmZydcAFVPLL7XlZE3FLFklLQf9XVNI62LmTVJSWyk3LSTJZJ3PBAS7lHRIiu4Ce64M2lpoHQ1XYv7hXJMGgf01rSgpBFZsb1ayhOQKiRlaXjTfqf0szIZu8DROjHgv8PBuzn.4b33XsJrcil7ky3dZ+zJJUjU7StLmJ42CpPdcpUfTeB6VVldr71XEfqdF5UjBUDC2LxV96Zi9+xBw6Z2gqc8mOFWXNXDBH+WfwwEMusc898A1fo.bI6F+v+CUHG24xGY2QFLJxWJ3tM3AXFBBhb1lAkufdWHjFJ1OMjIbm5s9k+nxyxFdA2bllU9zJOaHM3U7tawijAT0aqmu7EezW5Rld7I1oGJm2I4wyDjtiAo1382wstjRb+OioWM77i+1m+WOAagr4znXkesx2SOk0WpBGysjZdK1.v2jUROFv0.c23lMF0MTJ0Xmty1X58pzRJipKnvo1K6hzwmFiL5P4jYVFXY6IaSigrtZAR2Sxpr4.gTwLUIxJu1vXsLbxAHoc2tZVTBOp0A1ardQ3S+GfO+5Zvi0185Y70Xh4BWxDyOFi7NowYL47FH6pAkybE5FYM.jIy4FccpOydLwXh27lMV+P6m8NBflehyf1Tshic1ryvvtPO4tL.bBn8Gr4MqEPlBy3R33D5FlvKYvKgOiUVFGaMVY4IJIgTWk7HWSKi3U12KQBfIQxuwNmcabrSYRRajHccohkHgvu48HWWrf9WBc9MeaV8JXyZWAaV+JXyitB1rwUvlGeEr4qtPav+cCUGBUFL4iffN0M0DrRKHYsH4uQTGGM.
To scale the panel you have change its width and height, and maybe you want to change x and y as well, depending on where you want to have its center.
lets say the area is [0, 0, 100, 100] and level (v) goes from 0 to 1
// Same x & y var area = [0, 0, 100 * v, 100 * v]; // Keep the center var area = [50 * (1-v), 50 * (1-v), 100 * v, 100 * v];
-
@ulrik thank you! im not able to get this to work unfortunately. do i add it to the lfo meter timer callback in the snippet?
-
@Adam_G No, add it to the paint routine, the LFOs current level is set to the panels value, so when repainting the panel it will paint it with the current level.
HiseSnippet 1312.3ocyWE0aaT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