• Viewport esthetics

    4
    0 Votes
    4 Posts
    570 Views
    David HealeyD

    @Lindon The list is dynamic and I can change the number of items and their labels with a single variable in the panel's paint routine. The controls (knobs/buttons) for each item are manually positioned in the interface designer but it would be possible to add/position them dynamically too.

    Here's the code for it (including the styling)

    //GUI const var pnlArticulations = Content.getComponent("pnlArticulations"); pnlArticulations.setPaintRoutine(function(g) { reg text = ["Live", "Sustain", "Staccato", "Releases"]; for (i = 0; i < text.length; i++) { //Paint background if (i == Articulations.current) g.setColour(0xFFDED7CA); else g.setColour(0xFFCEC9BD); g.fillRoundedRectangle([0, i*55, 316, 50], 5.0); //Draw text g.setColour(0xFF000000); g.setFont("Arial", 18); g.drawAlignedText(text[i], [10, i*54, 316, 50], "left"); } //Set panel height this.set("height", i*55); this.data.numRows = i; }); pnlArticulations.setMouseCallback(function(event) { if (event.clicked) { var value = parseInt(event.y / this.getHeight() * this.data.numRows); Articulations.changeArticulation(value); } });
  • 2 knobs opposite direction

    3
    0 Votes
    3 Posts
    535 Views
    JayJ

    @ustk yes, thanks

  • Unable to compile HISE VST plugin x64- VS2017

    3
    0 Votes
    3 Posts
    532 Views
    gorangroovesG

    👏 👍 😀 Dude, that fixed the issue! YAY! I can continue now :) Thank you so much, @Christoph-Hart !

  • SliderPack Resolution in Compiled plugins

    5
    0 Votes
    5 Posts
    618 Views
  • noteOffDelayedByEventId time limit?

    5
    0 Votes
    5 Posts
    584 Views
    ustkU

    Working! Thanks!

  • Knob.setRange

    4
    0 Votes
    4 Posts
    644 Views
    JayJ

    @orange Thanks buddy, you are a genius

  • Using panel as keyboard advise....

    1
    0 Votes
    1 Posts
    290 Views
    No one has replied
  • Several Button

    3
    0 Votes
    3 Posts
    350 Views
    JayJ

    @orange thanks man, that works

  • 1 knob - 2 values

    9
    0 Votes
    9 Posts
    1k Views
    JayJ

    @orange No, I'm using the same parameter to control Gain and Frequency, but is two different thing 1 is gain 1 is freq, the first set of frequencies work well, the problem is after adding the second set of frequencies.

    But thanks man I can use this snippet you send me for a tilt plugin

  • Portamento/Glide

    7
    0 Votes
    7 Posts
    1k Views
    LindonL

    @Christoph-Hart OK I tried your example code from the other thread on Glide (from 2017)-- and it isnt working correctly at all for me...it mostly not working at all to be honest.

    In fact it also breaks any sustain processing as well... hmm this really needs addressing at a systemic level.

    what would be simplest would be Synth.addPitchFadeFromTo(ID, startNote, endNote, time)

  • store an artificial noteOn as an eventId?

    6
    0 Votes
    6 Posts
    795 Views
    ulrikU

    @d-healey Haha, beautiful, I didn't know you could do that, thanks!

  • Is you compile failing in this way? Read on...

    1
    0 Votes
    1 Posts
    256 Views
    No one has replied
  • Mid-Side and Invert function

    3
    0 Votes
    3 Posts
    728 Views
  • Panel as a button

    2
    0 Votes
    2 Posts
    393 Views
    David HealeyD

    Checkout the buttonPanel function at the top of my UIFactory library

    https://github.com/davidhealey/HISE-Scripting-Framework/blob/master/libraries/uiFactory.js

  • Bundle plugins

    2
    0 Votes
    2 Posts
    410 Views
    orangeO

    @Jay Store the entered serial bumber, one parent directory up. In HISE this will be superweird but the compiled version will end up in your Company folder. To store and use one parent directory up, use ../ For example you need to modify your code like that:

    Engine.dumpAsJSON(data, "../../ProductRegistrationInfo.js"); Engine.loadFromJSON("../../ProductRegistrationInfo.js");

    With this way, all of the plugins that have same company name will be able to use same serial numbers.

    Cheers ;)

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • negative values on a clockwise knob

    5
    0 Votes
    5 Posts
    957 Views
    JayJ

    @d-healey Thanks buddy, that's exactly what I want it

  • VST3 ?

    16
    0 Votes
    16 Posts
    4k Views
    ?

    @Jay haha...I never thought to try it. Assumed it was broken. Appreciated

  • HISE player

    9
    0 Votes
    9 Posts
    1k Views
    W

    I just registered hisehub.com for my own purposes, Once it propagates i am going to take those blog posts in the forum and put them in a developer blog on the site ;)

  • HISE Tutorial Part II: Fix the mapping

    3
    0 Votes
    3 Posts
    486 Views
    O

    That worked. :-) Thank you.

20

Online

2.2k

Users

13.5k

Topics

117.8k

Posts