HISE Forum
    • Unread
    • Recent
    • Admin
    • Register
    • Login
    1. Home
    2. Recent
    Log in to post
    Load new posts
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • All tags
    • ChazroxC

      Need More 'reg' variables !

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Scripting
      4
      0 Votes
      4 Posts
      47 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.

    • OrvillainO

      Disabling interpolation in the wavetable synth

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      4
      1 Votes
      4 Posts
      72 Views
      resonantR

      Sorry if this is off-topic.

      In a wavetable synth, even if the notes are played at different times, all sounds modulate with the same timing, right?

    • d.healeyD

      [bug] SlotFX.setBypassed no worky

      Watching Ignoring Scheduled Pinned Locked Moved Bug Reports
      21
      0 Votes
      21 Posts
      286 Views
      d.healeyD

      @Orvillain said in [bug] SlotFX.setBypassed no worky:

      What is the benefit of using const, in my situation?

      I think the best answer is from Christoph

      it yields a huge performance boost (because it can resolve the function call on compile time).
      There is absolutely no reason to not declare UI widgets, references to modules (via Synth.getModulator() etc.) not as const

      reg is good for accessing script level variables in midi callbacks and anywhere else where you would have had to use a script level var. But the more reg you have (and you only get 32 per namespace) the worse the performance gets. Internally reg is like a predefined array that HISE is keeping track of. So the more values you add the more data it needs to go through each time to you access it.

      Another addition to Javascript: Use reg instead of var when declaring temporary variables which are accessed in the MIDI (or audio) callbacks. It tells the interpreter to store this in a fixed size container with faster access times:
      If you have a script with lots of variables, the interpreter must search the entire array for every variable access (so the 23 - 40 ms are depending on how many other variables are defined in the script while the access time to reg slots stay the same).

      It's also possible since you're storing them in an object rather than as direct references that const gives no performance benefit. But it's still good practice to use a const here. It makes it clear to other developers who might see your code (or your future self) that this variable is not meant to be reassigned, and it also prevents it being reassigned accidentality.

    • Felix WF

      How to replace a single sample in the Sampler?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      3
      0 Votes
      3 Posts
      94 Views
      Felix WF

      @d-healey Cool, thank you so much! Let me give it a try

    • Adam_GA

      Error at node soft_bypass:Can't create node with factory path container.soft_bypass

      Watching Ignoring Scheduled Pinned Locked Moved ScriptNode
      2
      0 Votes
      2 Posts
      64 Views
      No one has replied
    • S

      Ideas for better module tree navigation

      Watching Ignoring Scheduled Pinned Locked Moved Feature Requests module tree shortcuts hide unhide user experience
      1
      4 Votes
      1 Posts
      76 Views
      No one has replied
    • ChazroxC

      How do we get accurate playHead feedback?

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

      We've made it this far....

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

    • dannytaurusD

      LAF documentation?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      11
      0 Votes
      11 Posts
      157 Views
      dannytaurusD

      @d-healey Mainly because the default method of showing the octave numbers doesn't really work for small and large key sizes, but also partly to avoid using LAF. 😜

      Since I know I'll want control over octave numbers in every plugin I create - and I probably won't want to override anything else about the already-very-nice-looking keyboard - it made sense to me to bake it into HISE rather than using LAF every time.

    • tsempireT

      Low-cut and a high-cut - Simple Reverb1

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      12
      0 Votes
      12 Posts
      203 Views
      tsempireT

      @Lindon Thank you so much 🤞🏻

    • R

      Default preset when using expansions.

      Watching Ignoring Scheduled Pinned Locked Moved General Questions default preset preset expansion
      16
      0 Votes
      16 Posts
      190 Views
      R

      @d-healey I'll have a look at that thankyou. I may have set it/not set it correctly from one OS to another maybe

    • D

      File.loadAsBase64String() seem not to return valid a base64 string?

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      1
      0 Votes
      1 Posts
      41 Views
      No one has replied
    • D

      How To Put custom skin on a knob

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      4
      0 Votes
      4 Posts
      147 Views
      D

      @duma figured it out

    • trillbillyT

      Displaying Images from the web...

      Watching Ignoring Scheduled Pinned Locked Moved Scripting images web server api server calls
      4
      0 Votes
      4 Posts
      97 Views
      d.healeyD

      @trillbilly The plugin should have permission

    • L

      Looking for guidance or paid support with HISE GUI design

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      7
      2 Votes
      7 Posts
      210 Views
      L

      @dannytaurus Thank you! This is excellent advice and helps a lot, if you don't mind - i'm going to message you privately!

    • ChazroxC

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

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

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

    • ustkU

      createFixObjectFactory push -> function not found

      Watching Ignoring Scheduled Pinned Locked Moved Bug Reports
      2
      0 Votes
      2 Posts
      52 Views
      ustkU

      So it appears I should use a stack with the insert method instead. Mistake in the doc...

    • 1

      DSP network sanity check failed (saturator from Christoph Hart)

      Watching Ignoring Scheduled Pinned Locked Moved ScriptNode
      1
      0 Votes
      1 Posts
      54 Views
      No one has replied
    • P

      Opening website in plugin

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      3
      0 Votes
      3 Posts
      154 Views
      P

      @bendurso great, thanks

    • D

      XY PAD PROBLEM FIXED BUT NEED HELP ROUTING TO FILTER SETTINGS

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      18
      0 Votes
      18 Posts
      633 Views
      D

      @d-healey nvm i coded smth wrong but i fixed it thanks for the help guys

    • trillbillyT

      SoundSync: Reseller, Security & Serial Management Platform

      Watching Ignoring Scheduled Pinned Locked Moved General Questions security branding website serials redemptions
      27
      0 Votes
      27 Posts
      2k Views
      trillbillyT

      UPDATES:

      Implemented developer branding info (Brand Color, support email/webpage) from the Tools > Branding section to display directly on the GUI.

      Logo can be added to this as well by simply adding your logo named "SoundSyncLogo" to the image pool. The script will auto-detect if the logo is present. If you dont have a logo added to the project, it will display initials for your Brand (example: SS for SoundSync) instead.