• WebView Bug

    5
    0 Votes
    5 Posts
    268 Views
    dannytaurusD

    ... slowly backs away from web views ...

    image.gif

  • Invalid use of incomplete type vSIMDType

    33
  • Error!

    2
    0 Votes
    2 Posts
    150 Views
    Oli UllmannO

    @udalilprofile
    This bug has already been discussed twice in the forum. Do not use the latest commit to compile HISE.

    Use this commit: cf3fc78

    You can do this as follows:

    Clone HISE in the usual way with git clone https://github.com/christophhart/HISE.git Set the head to the last working commit: git reset --hard cf3fc78

    Now you can compile HISE without errors.

    PS. Use the develop branch.

  • Mask does not scale properly on HiDPI or Retina display

    21
    0 Votes
    21 Posts
    3k Views
    ustkU

    @d-healey Strange... I just need masks and proper blur too at the moment. And those layer limitations are bad 🙁

    Graphics in general is a point that people are still asking for improvement and I understand Hise is not meant to be a photoshop clone. But when you hit limitations... I'd like to re-use OpenGL as well but not confident enough to deal with plateform specific issues... Well, it's one or the other I guess 🤷♂

  • Sampler "Sample Start" modulation doesn't support the MatrixModulator??

    1
    0 Votes
    1 Posts
    74 Views
    No one has replied
  • Sampler.setSoundPropertyForSelection(); seems to have a bug.

    9
    0 Votes
    9 Posts
    567 Views
    Felix WF

    @Felix-W said in Sampler.setSoundPropertyForSelection(); seems to have a bug.:

    @CatABC said in Sampler.setSoundPropertyForSelection(); seems to have a bug.:

    @ulrik

    @d-healey said in Sampler.setSoundPropertyForSelection(); seems to have a bug.:

    @CatABC Use constants instead of magic numbers

    Sadly, I tried using constants, but the problem persists. Also, if I swap the positions of HIGH_KEY and LOW_KEY, and need to move the smaller value to the larger value, the contradiction still occurs.

    const var ComboBox1 = Content.getComponent("ComboBox1"); const var ROOT = 2; const var LOW_KEY = 3; const var HIGH_KEY = 4; const var C1 = 36; const var D1 = 38; const var E1 = 40; const var B3 = 71; inline function onComboBox1Control(component, value) { Sampler.selectSounds("C3"); if (value == 1) { Sampler.setSoundPropertyForSelection(ROOT, C1); Sampler.setSoundPropertyForSelection(HIGH_KEY, C1); Sampler.setSoundPropertyForSelection(LOW_KEY, C1); } if (value == 2) { Sampler.setSoundPropertyForSelection(ROOT, D1); Sampler.setSoundPropertyForSelection(HIGH_KEY,D1); Sampler.setSoundPropertyForSelection(LOW_KEY, D1); } if (value == 3) { Sampler.setSoundPropertyForSelection(ROOT, E1); Sampler.setSoundPropertyForSelection(HIGH_KEY,E1); Sampler.setSoundPropertyForSelection(LOW_KEY, E1); } if (value == 4) { Sampler.setSoundPropertyForSelection(ROOT, B3); Sampler.setSoundPropertyForSelection(LOW_KEY, B3); Sampler.setSoundPropertyForSelection(HIGH_KEY, B3); } }; Content.getComponent("ComboBox1").setControlCallback(onComboBox1Control);

    Ultimately, I set up two methods to call different methods depending on whether the value in the combobox increases or decreases.😹

    Wow, this method is so cool! Thank you for the code comments; they really enlightened me.

  • 0 Votes
    3 Posts
    147 Views
    OrvillainO

    @Oli-Ullmann Yes I think you're correct. I checked the docs and there is a line about it not meant to be a dynamic state.

  • Linux + Bitwig Crash in hise::GlobalServer::WebThread

    2
    0 Votes
    2 Posts
    132 Views
    David HealeyD

    @Dan-Korneff I haven't ran into that one. Do you have a minimal test project?

  • [bug] SlotFX.setBypassed no worky

    21
    0 Votes
    21 Posts
    1k Views
    David 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.

  • createFixObjectFactory push -> function not found

    2
    0 Votes
    2 Posts
    109 Views
    ustkU

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

  • Macro Modulators...seem to be broken

    18
    0 Votes
    18 Posts
    1k Views
    S

    @Lindon Worked for me, but im not using the latest version of HISE, maybe a bug?

  • Network Bookmark issue

    Unsolved
    1
    1 Votes
    1 Posts
    92 Views
    No one has replied
  • Synthgroup crash

    6
    0 Votes
    6 Posts
    665 Views
    whereami518W

    hey did you ever figure out why this is happening i have ran into this issue too

  • Hise can't save hr file with hxi metadata.

    13
    0 Votes
    13 Posts
    1k Views
    It_UsedI

    @d-healey yeah

  • selection.set(Sampler.FileName, new path);

    1
    0 Votes
    1 Posts
    102 Views
    No one has replied
  • Matrix Modulator voice nullptr crash

    11
    0 Votes
    11 Posts
    1k Views
    ustkU

    @Christoph-Hart oh awesome! Thanks!

    AGI my ass…

    Lol very true 😆

  • Build failed LAST DEV COMMIT on Mac

    1
    0 Votes
    1 Posts
    89 Views
    No one has replied
  • error C1083. HELP!

    9
    0 Votes
    9 Posts
    765 Views
    It_UsedI

    @13murderer в лс отправил всё

  • Autosave overwrites the wrong project...

    8
  • External Filter not updating the floating tile

    1
    0 Votes
    1 Posts
    143 Views
    No one has replied

21

Online

2.3k

Users

13.6k

Topics

118.4k

Posts