• 0 Votes
    128 Posts
    2k Views
    D

    @David-Healey So I'm probably going to have to remake the project to get validating xml files

  • Invalid use of incomplete type vSIMDType

    26
    0 Votes
    26 Posts
    1k Views
    iamlampreyI

    Still working at this, found another juce thread:

    https://forum.juce.com/t/dsp-module-no-longer-compiles-on-linux-after-april-17th-commit/27684/6

    d3de2b48-0322-48d0-bbae-2317a8f5ab2d-{7D973138-55F5-4E38-85B3-2BA3EC9FBD57}.png

    possibly related to the explicit template with jmin? there's a few of those in that monolith file

    this clank also fixes that particular error:

    // Include this AFTER juce_dsp.h // It aliases unsigned long to the existing uint64_t SIMDNativeOps specialization, // fixing builds on platforms where MaskType resolves to unsigned long. #pragma once #include "juce_dsp/juce_dsp.h" namespace juce { namespace dsp { template<> struct SIMDNativeOps<unsigned long> : SIMDNativeOps<std::uint64_t> {}; }}

    which forces it to use uint64_t, but I'm also getting a bunch of Reference to Point is ambiguous errors so this all might just be xcode doing xcode things...

  • Mask does not scale properly on HiDPI or Retina display

    21
    0 Votes
    21 Posts
    2k 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
    23 Views
    No one has replied
  • Sampler.setSoundPropertyForSelection(); seems to have a bug.

    9
    0 Votes
    9 Posts
    225 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
    47 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
    43 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
    358 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
    52 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
    751 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
    47 Views
    No one has replied
  • Synthgroup crash

    6
    0 Votes
    6 Posts
    517 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
    674 Views
    It_UsedI

    @d-healey yeah

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

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

    11
    0 Votes
    11 Posts
    734 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
    60 Views
    No one has replied
  • error C1083. HELP!

    9
    0 Votes
    9 Posts
    535 Views
    It_UsedI

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

  • Autosave overwrites the wrong project...

    8
  • External Filter not updating the floating tile

    1
    0 Votes
    1 Posts
    116 Views
    No one has replied
  • Parametric EQ Sticks when deleting a band

    12
    0 Votes
    12 Posts
    646 Views
    dannytaurusD

    @iamlamprey Fixed with this PR: https://github.com/christophhart/HISE/pull/793

    Changes repaint(), which I believe uses a cached path, to refreshAsync(), which forces a proper repaint.

28

Online

2.1k

Users

13.0k

Topics

112.6k

Posts