Execution timed-out
-
Hey Folks
I'm Getting Execution timed-out With The Below Code, Any Idea?
Happening With The Latest Scriptnode Build.// Meter Horizontal namespace VuMeter { /** Creates a peak meter. * * Usage: Give it a reference to a module (either synth or effect). * * It looks best using a width and height with multiple of 4. * Customize the colours using the scriptPanel colour Ids */ inline function createVuMeter(name, x, y) { local widget = Content.addPanel(name, x, y); Content.setPropertiesFromJSON(name, { "width": 40, "height": 12, "itemColour": 0xFFBABABA, // Green Color 0xFF8EE49F "itemColour2": 0, // Original 4279505940 "bgColour": 0xFF131313, "textColour": 4283782485, "saveInPreset": false, "opaque": 1 }); widget.setPaintRoutine(function(g) { g.fillAll(this.get("bgColour")); g.setColour(this.get("itemColour")); var lsize = parseInt(this.data.lvalue * (this.getWidth()-4)); var rsize = parseInt(this.data.rvalue * (this.getWidth()-4)); g.fillRect([0, 2, lsize, (this.getHeight()-4)/2-1]); g.fillRect([0, 2 + this.getHeight() / 2 - 1, rsize, (this.getHeight()-4)/2-1]); g.setColour(this.get("itemColour2")); for(i = 1; i < this.getWidth()-1; i = i + 3) { g.fillRect([i, 1, 1, this.getHeight()-2]); } }); widget.setTimerCallback(function() { var lvalue; var rvalue; if(this.data.fx) { lvalue = getNormalizedPeakValue(this.data.fx.getCurrentLevel(1)); rvalue = getNormalizedPeakValue(this.data.fx.getCurrentLevel(0)); } else { lvalue = getNormalizedPeakValue(Engine.getMasterPeakLevel(1)); rvalue = getNormalizedPeakValue(Engine.getMasterPeakLevel(0)); } this.data.lvalue = Math.max(lvalue, this.data.lvalue - 0.04); this.data.rvalue = Math.max(rvalue, this.data.rvalue - 0.04); this.repaintImmediately(); }); widget.startTimer(30); return widget; }; inline function setModule(vuMeter, module) { vuMeter.data.fx = module; } inline function getNormalizedPeakValue(gain) { return 0.01 * (100.0 + Engine.getDecibelsForGainFactor(gain)); } } const var InputMeter = VuMeter.createVuMeter("InputMeter", 15, 24); InputMeter.set("width", 150); VuMeter.setModule(InputMeter, Synth.getEffect("Input")); const var OutputMeter = VuMeter.createVuMeter("OutputMeter", 1051, 24); // 16 Top // 524 Bottom OutputMeter.set("width", 150); VuMeter.setModule(OutputMeter, Synth.getEffect("MasterOutput"));
-
Item color 2 and text color need to be HEX values. I ran into this as well recently
-
@dustbro Bravo :)
Thank You Sir, Yeah This Happened To Me Since I Updated To Look n Feel -
@dustbro No Luck Here, I Don't Get This :(
"itemColour": 0xFFBABABA, // Green Color 0xFF8EE49F "itemColour2": 0x00BABABA, // Original 4279505940 "bgColour": 0xFF131313, "textColour": 0x00BABABA,
-
@Natan How can I add clipping color in it?
-
@Natan It is working fine here, you must have something wrong somewhere else in your code, a time-out exception is typically a loop that is never-ending...
-
@ustk said in Execution timed-out:
st have something wrong somewhere else in your code, a time-out exception is typically a loop that is never-ending...
There Was'nt Any Error Since I Updated My Commit To The Last One
HISE-61257a81932a80064af8d2949e882f1a5ddb9138 -
@Natan Ok... I haven't checked the very last one...
-
@ustk @dustbro Faced With Same Error And Managed To Fix It By Changing Some Codes.
I Have No Idea, What Is Those :/ -
@ustk SIr Could You Please Take A Look At This n Let Me Know What's Going On Here :(
Here You Can Clearly See As Soon As I Open The Combobox, And Move My Mouse UP/DOWN
The Error, Pops UpHiseSnippet 2908.3oc6Z0saajaEdjsmzHk0EYKxhtWzKHLJVHkUVVi7uaRCh+UIpMNVH1IYKbMVPOCkDqGMTcFNN1Mv22GhdcusuB8Qn.8EnWzGf9FjdH4LZ3neG6sIcy1XAIKdH4geme4gCUSelMIHf4ajK+QW1iXj6yLO7ROdmc5fodFM10H2O0beb.m3iTj19xd3f.hiQtby9DAgb4myP92+9waicwd1jDRFFuhQsIOi1kxSn1byeC00sN1gbDsq1nWYyF1LucXtrP.OyZV0nG19LbaxywhgMioQtasmCky7Oji4j.ibysMy4xC6vdimZ7uhFPO0kHZXYbHvHE45LWGAhETM1oC00oYrbGXXjyrYhVXVkV3dl6Scn8omnMtqrCTxLz0G4lYRvyRGdUyN7xoAu4Tv6yMOz1m1imzi.a2wrgGXnZgAS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Pq8YdrdcXdzTF8WPfLBsaSR4KMRAZKNGaeVBk6s4KHtDbPR31e5ero3WY.1GzSjantvJ65hIYu9RSEbQh7AnebbNyY++xyYl8HTHk4GOV5etIjFuFRZtQ+u2d+gn9fODqQWrsO66rUOtTQBiaKo.xsm7Gped3nHPaT+mPpoY0JUM5Ba67c11Be5EA8ynmSsavbV9FLmUtAyY0avbV6FLm0uAyYiINGwN9aExYcU9+.gl6IeR04xoJ5QFJX7e.JCEiFB
-
This Is Def Causes By LooknFeel :(
-
@Natan Have a Look on it... Working fine here.... https://youtu.be/f684RYayYKY
-
@Natan No error on my system...
-
@ustk Just Move Your Mouse Up And Down Over The Combo Box Items,
And What Commit Youre USing?
-
Im On LookandFeel
HISE-61257a81932a80064af8d2949e882f1a5ddb9138https://github.com/christophhart/HISE/commit/61257a81932a80064af8d2949e882f1a5ddb9138
-
@Rudra-Ghosh Your'e On Wrong Commit Buddy, I'm On A Newer Version
Check Your Combobox Is Like The Normal, Mine Has Some Changes In How It Looks.
And You Removed The LookandFeel -
This Happens On My Win n Mac Machine, Both On the Same Build :(
By Moving Mouse Cursor Over The Combo Box Items, Time Execution Error, Pops Up -
@Natan here is the code same as snippet..no error ... may be it's a version issue...
-
@Rudra-Ghosh Mate, Just Move Your Mouse Up n Down Like Crazy Over The Combobox Items
-
@Rudra-Ghosh What Commit Youre Using?