• Buffer detect pitch returns 0

    5
    0 Votes
    5 Posts
    567 Views
    orangeO

    @pluginboi said in Buffer detect pitch returns 0:

    Heres how i used detect pitch when i was trying to make a guitar tuner

    Looks cool. Does it work as a guitar tuner?

  • ScriptProcessors onTimer callback

    20
    0 Votes
    20 Posts
    482 Views
    David HealeyD

    @ulrik that could be unrelated to the timer, I'm not sure how events are handled in the synth group

  • Label text input position

    4
    0 Votes
    4 Posts
    359 Views
    A

    Also what's the alignment set to? Maybe that's why reducing the label height works - your text alignment is set to centred-bottom.

  • Save preset to specific directory

    5
    0 Votes
    5 Posts
    299 Views
    Christoph HartC

    @tomekslesicki or you can pass a File object into the method.

  • Preset browser scroll handle LAF?

    3
    0 Votes
    3 Posts
    334 Views
    T

    @d-healey I was thinking of you when I wrote "somebody smarter than me" :-) Thank you!

  • Reassign sliders with script

    3
    0 Votes
    3 Posts
    560 Views
    T

    @aaronventure Thank you. I appreciate the info.

  • Confusing issue with scripting simple knob for AHDSR Envelope Knob

    7
    0 Votes
    7 Posts
    945 Views
    M

    @d-healey Amazing, thanks!!

  • SliderPack vs. Custom Panel

    3
    0 Votes
    3 Posts
    201 Views
    A

    @d-healey The panel can also save an array.

    The linking is a good point.

  • Possible to change convolution start position via scripting?

    Solved
    4
    0 Votes
    4 Posts
    214 Views
    David HealeyD

    @aaronventure the reference. I believe it is reset each time a file is loaded.

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

    7
    0 Votes
    7 Posts
    668 Views
    ospfeigrpO

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

    HiseSnippet 1061.3ocsV01ahaDDdMA2Vb6o1H0e.t4CsNRtHamP.TUUuDBTgZSNT45oS5T0oM1K3UYYWK6kvgpx+49OncFaH1z3DUg5wG.OyyLCO6ryKdRpJjkkoRIFsd85DFw3KLmtVpiGDS4Rx3KIFGZNhKiFJD7jL14oLJ4h0IzrLVDwv3feFMynUSR9m+5mtfJnxPVoJB4MJdH6W4K35RsSd4uvEhQzH1q4KpX8oubbnRNPITKAJcfoG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ucDKa8Z6QV.uAw6CCwi+2CcP06Svd3yI6gOmtG9zYO74r8vmt6gO8dVevWd67kZ0hh1APwjg4ynLLFJoPkUdUH4efRtCTE
  • Script panel label keyboard entry?

    55
    0 Votes
    55 Posts
    6k Views
    David 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
    327 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
    794 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
    288 Views
    David 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
    409 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
    458 Views
    David 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
    866 Views
    David 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
    275 Views
    David 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
    158 Views
    David HealeyD

    I made a lucky guess

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

7

Online

2.2k

Users

13.4k

Topics

116.4k

Posts