• Issues with for loop?

    29
    0 Votes
    29 Posts
    2k Views
    Christoph HartC

    Ideally you use reserve(128) and a for loop where you push default values in the onInit callback.

    Javascript usually doesn‘t complain about passing around undefined values but I found it to be the most frustrating source of issues while debugging (a little typo in the variable name goes through multiple function calls undetected and finding where it breaks is super annoying).

  • How do I return the number of instances of a value in an array?

    2
    0 Votes
    2 Posts
    145 Views
    David HealeyD

    @VirtualVirgin You'd need to loop through the array and keep count in a variable

  • Direct access to Arpeggiator Slider Packs

    7
    0 Votes
    7 Posts
    658 Views
    DanHD

    @eliasbor In the Property Editor on the right side, click on your SliderPack and change the SliderPackIndex (near the bottom) to either 1 or 2.

  • masterbypass snippet declaration in inline function error

    3
    0 Votes
    3 Posts
    482 Views
    M

    @d-healey aaaah ok now it works thank you!

  • turn all effect moduls of and keep the effect states

    5
    0 Votes
    5 Posts
    674 Views
    M

    @d-healey I've been watching the post for a few days, did you manage to do it? I don't quite understand how to do it

  • Hoping this is an easy one! Version number with 2 decimal places

    19
    0 Votes
    19 Posts
    740 Views
    DanHD

    @d-healey Righto, thanks!

  • Stumped by displaying webpage in WebView

    12
    0 Votes
    12 Posts
    1k Views
    L

    Bump - anyone with web view experience able to weigh in? I've done some more playing around and can't get any further with it.

  • 0 Votes
    7 Posts
    717 Views
    VirtualVirginV

    @d-healey said in Adding an LAF knob ("rotary slider") did not work properly and changed appearance of other items as well:

    .setLocalLookAndFeel()

    Thanks! All is looking as expected now and I can move on in your tutorial :)

  • Panel

    4
    0 Votes
    4 Posts
    411 Views
    DWD

    @udalilprofile you can paint on panels so it should possible

    https://m.youtube.com/watch?v=nmB_Ml-XWGg

    This video covers it somewhat but you would need tweak it for what you’re looking for

  • Daydreams of Scope

    Solved
    3
    0 Votes
    3 Posts
    340 Views
    C

    @d-healey Thank you as always.

  • Not Embedding SampeMaps

    Solved
    3
    0 Votes
    3 Posts
    189 Views
    C

    @d-healey Thank you - can you explain that a bit more? I'm not sure what you mean. Got ya- will try!

  • Setting a value of a volume knob...

    7
    0 Votes
    7 Posts
    893 Views
    Oli UllmannO

    @Xenox-AFL
    If you want to set the value of a button/slider/component in an array you have to do something like this:

    array[0].setValue();
  • 0 Votes
    3 Posts
    241 Views
    MorphoiceM

    @d-healey pity. but I'm diggint the solution you posted a while ago, so that's probably the way I'll be going. It's a brilliant idea you had there.

  • Detect drag direction

    9
    0 Votes
    9 Posts
    430 Views
    mmprodM

    @mmprod This is awesome- exactly what I needed (thank you!)

  • Look & Feel modifies the HISE IDE, not only my plugin GUI

    5
    0 Votes
    5 Posts
    363 Views
    MorphoiceM

    @bendurso d'uh. :) thanks

  • Tap Tempo function

    7
    0 Votes
    7 Posts
    2k Views
    J

    @orange wow...just should've scrolled back a few days in the forum lol...question...this is connected to a delay...how would I connect it to just the global BPM?

  • Standalone app having focus

    Solved
    3
    0 Votes
    3 Posts
    332 Views
    ulrikU

    @d-healey No, only if the app active, I tried this without the timer now, and it works nicely
    As soon as I make the app active it's possible to use the setKeypressCallback
    So in. the snippet, I removed the timer function and it worked
    😀

  • C++ Buffers, and using the Hise interpolator?

    Solved
    5
    0 Votes
    5 Posts
    452 Views
    Christoph HartC

    @griffinboy the SNEX API has three main container types and if you want to use the index template for interpolating / safe access you need to use them. They differ in their ability to change their size dynamically and whether or not they "own" the data:

    span: owns the data, compile time size (allocated on creation) dyn: doesn't own the data, only refers to it heap: owns the data, but allocates it dynamically

    The easiest entry into this would be creating a dyn<T> container with a simple T* pointer and a size. Almost any container in the world will give you access to the raw data. Here's a std::vector<float> example:

    std::vector<float> x; x.push_back(1.0f); x.push_back(1.0f); x.push_back(1.0f); dyn<float> snexContainer(x.data(), x.size());
  • Note Off from Note On?

    3
    0 Votes
    3 Posts
    252 Views
    VirtualVirginV

    @d-healey said in Note Off from Note On?:

    @VirtualVirgin Change the velocity to 0, most hosts count this as note off

    Thanks!
    Yes I forgot to try this.
    My only concern is situations where it may be needed that the messages are distinctly categorized as "note off" as opposed to "note on". I can't think of exactly where it would be crucial, but I may find out down the road a bit.

    In HISE it seems that the note on of velocity 0 remains in the note on category, so when I do subsequent processing with MIDI script modules, the notes will still be going to the "onNoteOn" callback, instead of getting forwarded to the "onNoteOff".
    No so terrible as I can treat those by using filter for == 0 velocity in the "onNoteOn" callback, but maybe a bit messy to have note offs appear in two different places.

  • How do I disable the floating tile MidiChannelList from the script?

    5
    0 Votes
    5 Posts
    253 Views
    David HealeyD

    I just put together a simple example for myself and it does work, but I also get the crash! So you need to make a bug report about this on github.

    In the meantime here's a workaround that uses an invisible panel placed over the floating tile that is hidden/shown to enable/disable the floating tile.

    HiseSnippet 928.3ocsU8taSiDDe2ztUDyeNP5d.7UwGRQnJGhSnmPmtdMs4tHnkHRAwmNzl0ahWU6csrWCDAHwm3Afmn6Q5dCfY8ehcZiJsQB+gnLyryu42L6LyNJVw3IIpXD15z4QbD9VjwykZ+99TgDM7PDdKhlGFgNXdDMIg6gv3M9aiMbyMQYe++ed.MfJY7JUHzqTBF+YhPgtR6n8epHHX.0iepHr1oc2eHSI6qBTo.O1f3fhnryny3mPMGqAA8OzDeD9AjdreuqyDtS2t641YOW2dt855L0oyzI60ycRmG61wysaaVGf0G4Izp3wZplm.fdfxa9Xe06j4A3UhDwj.tQnMZLD4b0n99h.uQkEkDDBu4npRzF4knekbrvSrPeUo5tYFrq7ndQC23xnT6qAkv0nzl4T5djwrXQjtxhgO2jLTp4wSovcScpjeVTiuhI8UvIj5cComwGDCBK7nUOGmGZC+rySrrf6mDs8aow1inRdPa6+vtzyYbceUXjRBBs1N271FeDx.gjaOMUxzBkzVIOHUqUx1FOiUAsXkt8P.4fT9NVevpYN.6l.Elxy8a4Veh0m.TWcXKPd6c1MwnOyu9zffIPiTqyGX.oZj5Dkl+bYqrfa8IK6yaZ5zUZq.q.d7JMa5viuLGaISCmviqm5lCB2nK2lr0UqMgkWVpcPkbnTnedDuPdfJvyb8a9+EapPE0US6UACgipyZttSQyUdUDI.PZRJJonL5WexG8xgGR0zRf.Lg3Dwi0BS5fOj+VXyPdWaS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