• Looking for a developer

    General Questions
    1
    1 Votes
    1 Posts
    15 Views
    No one has replied
  • WebView persistence - help me wrap my head around it

    Scripting
    6
    0 Votes
    6 Posts
    110 Views
    A

    @Christoph-Hart Any chance you can implement a "webview loaded" callback that will trigger whenever a new webview is created, either on init or on UI open? I'm getting some inconsistencies with including stuff in onInit or with the UI-Open broadcaster: 1/10 chance that the webview spawns with a sort of delay and callFunction doesn't go through.

    The workaround is to call it after a delay, but I'm not sure how it'll work across systems so it's better have HISE tell me "Webview has spawned, what do you wanna do?".

    .evaluate() does not execute in onInit.

    Perhaps it's best do make it a broadcaster.

  • LAF Collection for everyone

    Presets / Scripts / Ideas
    59
    15 Votes
    59 Posts
    4k Views
    ChazroxC

    @ustk wow, I could've used this thread about 3 months ago. ha. Sick.

  • [bug] Script selection dropdown displays wrong file

    Bug Reports
    4
    0 Votes
    4 Posts
    79 Views
    ustkU

    @d-healey Actually it would be nicer to have the global script directory available under the the Project Directory tab, like with a little separator. So we could open global scripts with a double click.

    Or another solution could be to list aliases so we just have to create an alias in the project's script folder. Currently aliases are not showing

  • How to smooth a path + Ducking Display Script

    Solved Scripting
    13
    0 Votes
    13 Posts
    152 Views
    ChazroxC

    @JulesV 🀣 πŸ‘Œ

  • Expansion Installation Issue

    Bug Reports
    33
    0 Votes
    33 Posts
    2k Views
    bendursoB

    @Lindon nice, thanks! Yes, I think I'll go with a custom folder and warn them if the directory isn't writable.

  • PLUGIN DELIVERY: Latest & Greatest?

    General Questions
    18
    0 Votes
    18 Posts
    193 Views
    ChazroxC

    @tomekslesicki Wow. Thats pretty cool that you made that, and sad that they treated you like that. Thanks for the insight. Crucial.

    @tomekslesicki said in PLUGIN DELIVERY: Latest & Greatest?:

    Anyway - I'm using a custom installer now I built with HISE. You can pretty much replicate all Pulse does with this @d-healey (thank you!) tutorial: https://www.youtube.com/watch?v=mqGsqJoBxiQ

    Im definitely gonna check this out now. I've been avoiding that video because I didnt think I needed it but for this purpose I think it'll be very useful. Thanks for the link!

  • Export Setup Wizard Help

    Newbie League
    6
    0 Votes
    6 Posts
    70 Views
    L

    @d-healey working now, was set to an incorrect path. Thanks so muchπŸ‘

  • 0 Votes
    3 Posts
    67 Views
    LindonL

    Let me be more specific...

    @whoopsydoodle said in Modular slotFX with programmatically assigned knobs, not possible?:

    I have 6 hardcoded fx and my original idea was that I would have a GUI that lets the user choose one, then it would load that dsp and programmatically draw knobs for each parameter in the fx. Each fx dsp has the same first 3 parameters and then after that some have 1 more, some have 2 or 3 more and those additional knobs are different for each dsp.

    It doesn't seem like this is possible in Hise.

    As I say - def. possible...

    Issues i've run into:

    Knobs can't be added after init. This sucks but isn't a deal breaker. I can add the max number of knobs needed on init and then hide or show them as needed while reassigning their function for the currently active dsp.

    Correct. You will need to define a max number of controls used in your fx set and create that many controls - hiding them as required..

    Biggest issue, slotfx seems buggy. If I have one fx loaded and I switch to another, it loads with default parameter values but if immediately send a knob.changed() for the knob that's controlling those parameter for some reason it's not always receiving that old knob value. Sometimes it stays at the default until it's moved by the user, sometimes it gets the changed() and updates to the knob value.

    Cant say i've found this - but Im loading a "new" fx and instantiating the knobs to their default position - are u doing that? You may need to wait until the FX is actually loaded - so a timing issue.

    Despite calling a setAttribute by name, it needs each parameter to be in the same order or it gets messed up. If my first parameter is Mix and my second parameter is Depth on my 1st FX, if I swap to a different FX and Depth is now the 3rd parameter, it messes up and despite calling myFX.setAttribute(myFX.depth, value) it will try to adjust the 2nd parameter, not the one called depth.

    You will need to define the attribute(setAttribute) that is used by each control in each FX and reference this index in the controls callback (see Control Target Number below....)

    .setAttribute() seems to only work with my fx defined by Synth.getEffect()
    While .setEffect() seems to only work when defined by Synth.getSlotFX()
    So I am defining the same FX slot both ways at the same time and calling each type as needed. This feels wrong but it seems to work?
    if it works....
    Odd behavior but an easy work around, if I try to programmatically check how many parameters are in an fx it will always return true even for ones that don't exist. If my fx has 3 controls and I ask if there is a 4th it returns true with a name of blank "".

    as I say define a data record for each FX, and reference it when the FX changes, here's my latest example

    { "FXName" : "Spectral Tilt", "EffectHardCodedName":"SpectralTilt", "NumControls": 3, "ControlText": ["Tilt","Frequency","BandWidth"], "ControlArc": [2.5,2.5,2.5], "ControlPopUp": ["Above","Above","Above"], "ControlTargetNumber": [0,1,2], "ControlMinimums": [0,0,0], "ControlMaximums": [1,1,1], "ControlMultipliers": [1,1,1], "ControlModes": ["Linear", "Linear","Linear"], "ControlStepSize":[0.01,0.01,0.01], "ControlSuffix":[" %"," %"," %"], "ControlMiddlePosition":[0.5,0.5,0.5], "ControlDefaultValue":[0.2,0.5,0.5], "Layouts" : ["BAR","BAR","BAR"], "Colours" : ["STD","STD","STD"], "Primary": 0xFFCCCCCC, "Secondary": 0xFF333333, "Tertiary" : 0xFF003344, "AltPrimary": 0xFF114444, "AltSecondary": 0xFFAAFFDD, "AltTertiary" : 0xFF223399, "TextColour": [0xFF999999,0xFF999999,0xFF999999], "ControlXPos" : [110,110,110], "ControlYPos" : [145,290,435], "ControlSize" :[70,70,70] }

    Theres a bunch of additional stuff in there to tell LAF how to draw this control Layouts, Colours etc.

    There are other issues and odd behaviors but these alone have made me think I probably shouldn't try to do this and should just manually draw knobs and panels for each fx, load them all and then just turn them on and off since I don't actually need to reorder them.

    Depends on how many FX you have - my current project is aiming at 60+ FXs so this approach will never work...(well it might but I would go mad..)

    Oh one thing to note _ Im doiing all of this using HardCodedMasterFX in the slot.

  • cancel Synth.noteOffDelayedByEventId(id, delay amount)

    Scripting
    2
    0 Votes
    2 Posts
    48 Views
    ulrikU

    @ulrik as soon as the function

    Synth.noteOffDelayedByEventId(id, delay amount)

    has been executed, this function

    Synth.isArtificialEventActive(id)

    will print false even if the note still is sounding because of the delayed note off.

  • No note

    Scripting
    7
    0 Votes
    7 Posts
    61 Views
    d.healeyD

    @griffinboy Christoph explained it well here

  • File.move to user library on a Mac - help!

    Scripting
    10
    0 Votes
    10 Posts
    217 Views
    T

    @aaronventure Perfect, thanks so much!

  • Rectangle function map missing trimmed

    General Questions
    18
    0 Votes
    18 Posts
    231 Views
    d.healeyD

    When using g.addNoise() the area parameter is still expecting an array.

  • Get Network Name from Hardcoded Master FX

    Solved Scripting
    10
    0 Votes
    10 Posts
    479 Views
    oskarshO

    @whoopsydoodle yes you can get the Hardcoded FX as a Slot FX and use getCurrrenEffectId()

  • 0 Votes
    6 Posts
    117 Views
    LindonL

    @thrice801 IPP isnt required on MacOS

  • How can I get rid of these floating point errors?

    Scripting
    4
    0 Votes
    4 Posts
    116 Views
    d.healeyD

    @VirtualVirgin Why do you want less precision?

  • Global cable scripting help

    Scripting
    1
    0 Votes
    1 Posts
    40 Views
    No one has replied
  • 0 Votes
    11 Posts
    168 Views
    T

    @d-healey success! (sort of, exporting still not working but will post separately). Thanks for the help

  • applyMask behaves differently at different UI scales

    Bug Reports
    16
    0 Votes
    16 Posts
    794 Views
    A

    @Fergler that mask is one of the final bosses of HISE UI stuff

  • Multiple Panel Dragging

    Bug Reports
    21
    0 Votes
    21 Posts
    226 Views
    DanHD

    @ustk Thanks, I'll continue with Save in Preset disabled for now as it's working in the context of my project :)

    Cheers for your help!