HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Chazrox
    3. Topics
    • Profile
    • Following 6
    • Followers 5
    • Topics 162
    • Posts 1,345
    • Groups 0

    Topics

    • ChazroxC

      How do I get GlobalCable value?

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Scripting
      2
      0 Votes
      2 Posts
      29 Views
      ChazroxC

      update...

      I figured it out...

      I found the snippet in Docs and modified it for my usage. Yee.

      const var rm = Engine.getGlobalRoutingManager(); const var mc = rm.getCable("bars"); const var pnlMasterPlayheadBars = Content.getComponent("pnlMasterPlayheadBars"); pnlMasterPlayheadBars.data.value = 0; mc.registerCallback(function(value) { pnlMasterPlayheadBars.data.value = value; pnlMasterPlayheadBars.repaint(); //Console.print(value); }, AsyncNotification); pnlMasterPlayheadBars.setPaintRoutine(function(g) { var a = this.getLocalBounds(0); g.fillAll(this.get("bgColour")); g.setColour(Colours.withAlpha(this.get("textColour"), 1.0)); var x = a[2] / 100 * (this.data.value * 100); g.drawVerticalLine(x, 0, a[3]); });
    • ChazroxC

      Need More 'reg' variables !

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Scripting
      4
      0 Votes
      4 Posts
      37 Views
      d.healeyD

      @Chazrox said in Need More 'reg' variables !:

      can you give me a quick tip on which reg's be change to const?

      All component and module references, arrays, and objects.

    • ChazroxC

      How do we get accurate playHead feedback?

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Scripting
      7
      0 Votes
      7 Posts
      94 Views
      ChazroxC

      We've made it this far....

      Screen Recording 2025-11-23 at 1.11.25 PM.mov

    • ChazroxC

      Drag & Drop || Viewport List item --> Drop Panel

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Scripting
      16
      0 Votes
      16 Posts
      432 Views
      ChazroxC

      Anybody know how to check viewport list for 'scroll bar dragging'?

    • ChazroxC

      Can we 'get' hex Colour value from Mouse position?

      Watching Ignoring Scheduled Pinned Locked Moved Solved Scripting
      9
      0 Votes
      9 Posts
      246 Views
      ustkU

      Yep wanted to do that kind of thing a while back but it seems Juce doesn't have a method to read the pixel under the mouse (or any pos..)

    • ChazroxC

      How do you change FilterView floating til 'processorId' by script?

      Watching Ignoring Scheduled Pinned Locked Moved Solved Scripting
      15
      0 Votes
      15 Posts
      388 Views
      ChazroxC

      @dannytaurus ahh I like this way too. I didnt know how to do that. i can actally use that method for my theme switching script I imagine! 🙏🏽

    • ChazroxC

      BackgroundTask.setFinishedCallback() || How to get status....

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Scripting
      1
      0 Votes
      1 Posts
      60 Views
      No one has replied
    • ChazroxC

      Background Task || Help me understand this please.

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Scripting
      9
      0 Votes
      9 Posts
      365 Views
      ChazroxC

      @ustk aaahhhh here you go! haha. I gotta see this...brb.

    • ChazroxC

      Syntax Error ?

      Watching Ignoring Scheduled Pinned Locked Moved Solved Scripting
      5
      0 Votes
      5 Posts
      187 Views
      ChazroxC

      @Lindon I havent gotten that one much before. I get whats happening now. 🙏

    • ChazroxC

      Setting ControlCallback w/ Loops ?

      Watching Ignoring Scheduled Pinned Locked Moved Solved Scripting
      17
      0 Votes
      17 Posts
      563 Views
      Oli UllmannO

      @d-healey
      Yes, that's right! Thanks for the tip! :-)

    • ChazroxC

      Check if (!FILE) do this...

      Watching Ignoring Scheduled Pinned Locked Moved Solved Scripting
      4
      0 Votes
      4 Posts
      163 Views
      ChazroxC

      @Oli-Ullmann @iamlamprey I promise you guys I was looking for this. hahaha. Thank You 🙏

      That was it...Thank you guys!

    • ChazroxC

      FileSystem / How tdo I set USER specified root folder?

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Scripting
      10
      0 Votes
      10 Posts
      498 Views
      ChazroxC

      @d-healey I eneded up figuring that out reading thru the apis.....then everything went baaaad. lol

    • ChazroxC

      Query multiple TOKENS? || Please advise!

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Scripting
      11
      0 Votes
      11 Posts
      426 Views
      dannytaurusD

      Yeah, regex is your friend here. The HISE regex seems to be missing a lot of features but you can still condense it down a bit like this:

      const kickPattern = "kick|kck|kk|bd|bassdrum|bass\sdrum|bassd"; const snarePattern = "snare|snar|snr|sn"; const hatPattern = "hat|hh|clh|cl|oph|op"; inline function stringMatchesPattern(str, pattern) { return Engine.matchesRegex(str.toLowerCase(), pattern); } Console.print(stringMatchesPattern("Kick".toLowerCase(), kickPattern)); Console.print(stringMatchesPattern("Kck".toLowerCase(), kickPattern)); Console.print(stringMatchesPattern("Kk".toLowerCase(), kickPattern)); Console.print(stringMatchesPattern("kick".toLowerCase(), kickPattern)); Console.print(stringMatchesPattern("kk".toLowerCase(), kickPattern)); Console.print(stringMatchesPattern("BD".toLowerCase(), kickPattern)); Console.print(stringMatchesPattern("Bd".toLowerCase(), kickPattern)); Console.print(stringMatchesPattern("bd".toLowerCase(), kickPattern)); Console.print(stringMatchesPattern("BassDrum".toLowerCase(), kickPattern)); Console.print(stringMatchesPattern("Kick".toLowerCase(), kickPattern)); Console.print(stringMatchesPattern("Kick".toLowerCase(), kickPattern)); Console.print(stringMatchesPattern("Snare".toLowerCase(), snarePattern)); Console.print(stringMatchesPattern("Snr".toLowerCase(), snarePattern)); Console.print(stringMatchesPattern("Hat".toLowerCase(), hatPattern)); Console.print(stringMatchesPattern("Clh".toLowerCase(), hatPattern));

      If some of the usual regex tools worked, we could have shorter patterns like this:

      const kickPattern = "ki?c?k|b(ass)?\s?d(rum)?"

      Although the longer one might be easier to read and understand I guess.

    • ChazroxC

      HAVE A GREAT DAY! ⚡ ⚡ ⚡

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      1
      11 Votes
      1 Posts
      125 Views
      No one has replied
    • ChazroxC

      Where is the "EDIT TAGS" Button?

      Watching Ignoring Scheduled Pinned Locked Moved Solved Scripting
      7
      0 Votes
      7 Posts
      348 Views
      d.healeyD

      @Chazrox But the process for the user for adding tags is weird, I don't like it anyway :p

    • ChazroxC

      FLIP FFT Display? || Solved || Code Snippet.

      Watching Ignoring Scheduled Pinned Locked Moved Solved Scripting
      4
      0 Votes
      4 Posts
      312 Views
      ILIAMI

      1000050915.jpg

    • ChazroxC

      'global_send' / How can I 'getValue() ?

      Watching Ignoring Scheduled Pinned Locked Moved Solved Scripting
      5
      0 Votes
      5 Posts
      245 Views
      ChazroxC

      UPDATE:

      I figured it out...

      const var globalRouting = Engine.getGlobalRoutingManager(); const var SlotFxDelayLeft = globalRouting.getCable("Slot.DelayLeft"); Console.print(SlotFxDelayLeft.getValue()); // Register the callback SlotFxDelayLeft.registerCallback(function(value) { Console.print(value); }, AsyncNotification); // Values print =)

      @Christoph-Hart @HISEnberg Thank You! 🙏