• Any way to create a button thats a vector svg in a panel

    7
    0 Votes
    7 Posts
    580 Views
    ospfeigrpO

    @ulrik Thank thats exactly what i am looking for here's the example

    HiseSnippet 1061.3ocsV01ahaDDdMA2Vb6o1H0e.t4CsNRtHamP.TUUuDBTgZSNT45oS5T0oM1K3UYYWK6kvgpx+49OncFaH1z3DUg5wG.OyyLCO6ryKdRpJjkkoRIFsd85DFw3KLmtVpiGDS4Rx3KIFGZNhKiFJD7jL14oLJ4h0IzrLVDwv3feFMynUSR9m+5mtfJnxPVoJB4MJdH6W4K35RsSd4uvEhQzH1q4KpX8oubbnRNPITKAJcfoGIgFdKcN6ZJZVCShwmLLhqUoS0TMKiXz7BUz5owpUxB6eCOieifgB9joPfJTORIhPFiZICh4hnIaO5YDHJSJSDGTjH9Zyq3Q7GzWlP9pb.6ROplOLZrK8NXG54WkddUnWMTxnBkZVPoCMmFlxSzkHHe9bywRMKcFER6UoRgsjFlMMGn.Kj51Kn2xFkBBO3giuWvot1m44c7OXAlkoDr1gBFM0ATXYA2FYZ66no1SjB6ezdajlyzCTKRTRPv4H.6Hz7RqSpXaHTznYSn5XLlIsEJZDvhEWR0Tm246645602E9Nnm6Y8cOqm6IAtc7c86Bxcc62aGrNAtAAcc86zAACB.rNf1NHVPPG2.uSc8OoKBV31I8pABBZO29f+9Ooece7+VEfcnnuWumg+8Abe.26OfiOjpZmwzSfpI8uoVp4RlyrkxPMWIcler0eZ0ZNZPQOfSwOYsWEy0Lvc.LJktJOYl3ZmfWDWnVJixb7O101GMwpEelsiNlm0NBRws4YikY7H1wVsfn+7gGPmAcl0Gezf6stGuo2bLtRsLiMfJD2.sokmC1cv8d9Y4wr.JLRZCEJZHCj47tbSa+AW6hGVi4Hf+Eg.pD4g2xhr+V6ZNN3gYaIaRJGKD45uKylmCeT9wAIbMg6adp3Ua.gqoxHBgDiYt+orD7dDKqyyJVVaSA1J40JM6URm7zf08V1+anYypEC6ZRUBAKsVXbdY5y4nib4haXotPanXI6ACggH6NYx7omLUcvYXQSbECUxwRt9UIL4SMNkroyGd52Gic433rM5.6RXoZNRAiKY2A6FJFt0x7RV1sZURtsaFsPL9TcN5K1N5iJYBBGFvYZB0fjOTcSy5pBq3Q5XvLCMnJlwmGqQo21fPf5U0psUs.O9RyyEB6REjGO5EF5qhVJn5c2Dfq+1..WB6L9EGwB0U50UWO9+15g+qT7PyIbcXb8brQMbDtp9XvwMKUeg4vYyXg5RB1zbza+3rAkTLdc9UTcJGpSLud4hovztPF7uKgxHrIvnAVtVH6gxXFXJSFkK72vmMf9nrwFP+sfjEzvT06CKZ8v01eVtFfSx72Xok4UnrsOIucDKa8Z6QV.uAw6CCwi+2CcP06Svd3yI6gOmtG9zYO74r8vmt6gO8dVevWd67kZ0hh1APwjg4ynLLFJoPkUdUH4efRtCTE
  • Script panel label keyboard entry?

    55
    0 Votes
    55 Posts
    3k Views
    d.healeyD

    @Christoph-Hart said in Script panel label keyboard entry?:

    Ok, but what do you do? I load up the snippet and can click on the button, then it will open a popup.

    Yes that's what I'm doing too.

    Where's the UI - in the interface designer or another window. Do you have another floating window with the interface open?

    Aha mystery solved. I was just in the interface designer. If I open the floating interface preview it works!

  • All Control Callbacks Get Triggered On Init?

    6
    0 Votes
    6 Posts
    219 Views
    A

    @d-healey said in All Control Callbacks Get Triggered On Init?:

    Another solution is to put a button at the end of your component tree and put your code in its callback, this will be called after all the other components. Or instead of adding a dummy button, use the actual last component in your tree if suitable.

    That's a good one. Kontakt has on persistence_changed which executes after on init, meaning that on init has to pass first, which does not happen if the track is muted in the DAW or the VEPro instance isn't connected. So my instruments there always load up with the "loading" image which says exactly that, and all the UI controls get their visibility set only in persistence_changed.

    But if in HISE the controls get executed after the init callback passes, then simply adding a dummy control at the end is not a big deal. Much like the PersistentData thing, or the colorPalette, or my dummy DAW automation controls. or my dummy switcheroo volume sliders. Hey, we need a dummy component list!

  • Make a button start and stop a Lottie animation.

    4
    0 Votes
    4 Posts
    469 Views
    M

    @aaronventure this did the trick ! many thanks!

    //button const var Buttonx = Content.getComponent("Buttonx"); inline function onButtonxControl(component, value) { if (value) { // Button pressed, start animation p.startTimer(1000.0 / object.frameRate); } else { // Button released, stop the animation p.stopTimer(); } } Content.getComponent("Buttonx").setControlCallback(onButtonxControl);
  • deferCallbacks and Its Effect on MIDI-Mapped Controls

    5
    0 Votes
    5 Posts
    207 Views
    d.healeyD

    @aaronventure said in deferCallbacks and Its Effect on MIDI-Mapped Controls:

    Should I even use deferCallbacks in my interface script

    I always add it by default. That way if I add something to one of the realtime callbacks that shouldn't be there I'll get a warning message.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • Make one combobox control the waveform choice on 3 different LFOs

    3
    0 Votes
    3 Posts
    240 Views
    M

    @ulrik That worked like a charm, thank you so much! The array is what I've been missing. many thanks

  • can i draw my own wave form?

    7
    0 Votes
    7 Posts
    323 Views
    d.healeyD

    @Christoph-Hart

    You can fetch the content of any sample as HiseScript Buffer and draw it yourself

    This is where I had got up to. But I don't get the playback data from the sampler so I can't draw the playback cursor. Given the performance issues you mentioned I think I will abandon this road :)

    My main goal was to be able to update the waveform when the gain level is changed (like in the waveform editor) and have horizontal and vertical zoom.

  • Rhapsody Boiler Plate "LookAndFeel.js" file not found

    8
    0 Votes
    8 Posts
    369 Views
    d.healeyD

    @virtuscapeaudio said in Rhapsody Boiler Plate "LookAndFeel.js" file not found:

    No expansions needed so I just deleted the settings cogwheel for the plug in version of the build

    So you're not making a library to run in Rhapsody?

    The cog wheel is unrelated to expansions, it's there to allow users to access the Settings panel.

    @virtuscapeaudio said in Rhapsody Boiler Plate "LookAndFeel.js" file not found:

    and just redesigning as needed since it has everything there

    If you don't need the design stuff then just remove the look and feel and paths files and replace them with your own. But if you are depending on the boilerplate for styling things like the preset browser or settings panel then you probably want to keep the boilerplate files and also add your own files that style other elements.

  • Data Persistence 2023

    2
    0 Votes
    2 Posts
    206 Views
    d.healeyD

    Those early posts of mine were from when I was fresh off the KSP boat. Since then I haven't needed any KSP style variable persistence.

    With your multiple modes example just have a hidden knob on the UI that stores the selected mode. Slider packs are also a great option if you have a lot of data to store/restore.

  • Math.from0To1 - correct syntax?

    2
    0 Votes
    2 Posts
    101 Views
    d.healeyD

    I made a lucky guess

    Console.print(Math.from0To1(0.5, {"min": 0, "max":100}));

  • Get the Offline Render flag from DAW

    1
    0 Votes
    1 Posts
    73 Views
    No one has replied
  • Is parentComponent property deprecated?

    10
    0 Votes
    10 Posts
    287 Views
    A

    @d-healey Hey, there's an idea for your next video. HISE museum! For April Fools or whenever.

  • 0 Votes
    6 Posts
    312 Views
    virtuscapeaudioV

    @d-healey wow...I unchecked that and it removed the expansion error...but I had to delete the Vel Table script and then it worked fine...thank you David!!!

  • Voice Kill Fade Time Per Mic Channel?

    4
    0 Votes
    4 Posts
    250 Views
    d.healeyD

    @ericchesek I think the only solution would be to put single mic samples in separate samples and manage the multi-mic stuff manually (just like in Kontakt)

  • processBlock and Script Time Variant Modulator

    4
    0 Votes
    4 Posts
    167 Views
    A

    @Christoph-Hart

    Thanks for clearing it all up.

  • Factory Tab In Expansions Column Preset Browser

    2
    0 Votes
    2 Posts
    228 Views
    d.healeyD

    @kameron When no expansion is selected it should show the presets of the main project (or at least I thought that's what it does)

  • Convolution.setFile function not found

    3
    0 Votes
    3 Posts
    136 Views
    A

    @d-healey You're right. I auto-piloted the first step.

    Create a typed Audio Sample Script Reference with right click

    I used the generic reference option.

    Thanks, David. For responding so quickly on a Sunday evening, too 🍻

  • Erasing in a Paint Routine

    4
    0 Votes
    4 Posts
    203 Views
    T

    @Christoph-Hart Is it possible to upload an image through a server and then convert it to an svg and paint it?

  • Dynamically Resize with Content.setHeight()?

    2
    0 Votes
    2 Posts
    216 Views
    d.healeyD

    The UI height/width is fixed.

47

Online

1.7k

Users

11.7k

Topics

102.0k

Posts