• Q: Get module name with script

    3
    0 Votes
    3 Posts
    290 Views
    R

    Thx, oh so Id is the name string 😂

  • reference or Content.getComp....

    5
    0 Votes
    5 Posts
    329 Views
    ulrikU

    @d-healey thank you!

  • Q: Does HISE still split included modules?

    6
    0 Votes
    6 Posts
    553 Views
    d.healeyD

    @RCJacH Oh you're doing something fun. I spent several months of 2019 working on a still unfinished guitar strumming engine. :D

    When you include a script it's the same as if you've copied/pasted the script directly in to the MIDI processor's on init callback. So yes, each one is independent. You should use a namespace in your external script too so that a) you get access to more reg variables and b) it's easier to see where various function calls are coming from.

    If you edit the external script though those changes will be reflected wherever you have included it.

  • midi learn for panel

    13
    0 Votes
    13 Posts
    621 Views
    ulrikU

    @UrsBollhalder try in "on controller" callback

    if (Engine.getControllerNumber() == 1) { Panel.setValue(Engine.getControllerValue()); Panel.changed(); }

    then in the Panels CB you deal with the values the way you need

  • How to load DSP network into project

    4
    0 Votes
    4 Posts
    323 Views
    musictopM

    @Christoph-Hart - the new layout looks very nice.

  • Attributes not visible in module

    7
    0 Votes
    7 Posts
    350 Views
    Christoph HartC

    The reduction parameters are read only (for visualising what the dynamics module does).

  • Get list of midi files

    19
    0 Votes
    19 Posts
    865 Views
    Dan KorneffD

    @d-healey said in Get list of midi files:

    99% of the time var should not be used

    Thanks for this advice as well.

  • Anyone Done a Rerdering FX?~

    31
    1 Votes
    31 Posts
    4k Views
    ?

    @Lindon I guess I'll manage a shit load of panels then :p

    Thanks!

  • scripting routing matrix - add connections

    86
    1 Votes
    86 Posts
    6k Views
    NatanN

    @Christoph-Hart said in scripting routing matrix - add connections:

    The blue cables are send connection but the API functions were missing.

    https://github.com/christophhart/HISE/commit/036b6c01f954a30b7d46e2288e957fd0a4c4b813

    I've added them to the newest branch, if you need them in the scriptnode branch, you should be able to port this commit pretty easily...

    @Christoph-Hart Could You Please Add This One To Master Branch ?

  • isEmailAddress

    7
    3 Votes
    7 Posts
    374 Views
    d.healeyD

    @dustbro I don't think a video is neccessary.

    Server.isEmailAddress("dustbro@hise.com"); // True
    Server.isEmailAddress("dustbrohisecom"); // false

  • Prev Next For CB, Shows Error :/

    11
    0 Votes
    11 Posts
    465 Views
    NatanN

    @ulrik @UrsBollhalder
    Haha, This Fixed The Issue, Not Sure Why, But Error is Now Gone :)

    // Just Added 0+ To The Filternames, And It Fixed :) FilterADSP.setAttribute(FilterADSP.Mode,0+FilterNames[component.getItemText()]);
  • showMarkdownMessage

    1
    0 Votes
    1 Posts
    92 Views
    No one has replied
  • Brainteaser puzzle

    6
    2 Votes
    6 Posts
    511 Views
    d.healeyD

    @ustk A wrong one :p I assumed the entire bath would fill in one minute with both taps on and the plug in. Giving a fill time of 1:20 with the plug out, but the correct answer is the one you got - the original poster of the puzzle gave the correct answer a few hours ago.

  • best way to escape....

    16
    1 Votes
    16 Posts
    878 Views
    ulrikU

    @Christoph-Hart yes it works if I attach the characters it works, thank you!

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Paint routine for Natan

    33
    3 Votes
    33 Posts
    4k Views
    MikeBM

    @Natan Ok

  • Removing 2 Digits From First Of A Label

    4
    0 Votes
    4 Posts
    230 Views
    NatanN

    @ustk Yep :) Done

    if (value) { local items = component.get("items").split("\n"); local t = items[value]; // Without submenu name local t2 = t.substring(t.indexOf(":") + 5, t.length); Label.set("text", t2); Console.print("Selected Item ID: " + value); } Label.changed();
  • Connecting A Panel To Another Painted Panel, On Script Processor

    20
    0 Votes
    20 Posts
    659 Views
    NatanN

    @d-healey Thank You Sir 👏 Yeah @ulrik Did A Great Job

    In A Few Snippet Back, There Was A Simple Issue That Quickly Fixed By Ulrik, For Keyboard.
    Then We Seperated The Scaling System ( To Use The Defercallbacks On Main Init )
    And Added A Dummy Intervals So The Painted Keyboard Look At It, And Do The Coloring.

    Indeed It Is A Beautiful Piece Of Code.
    And Was Challenging 👏

    Btw, Thanks For Your First Snippet, That Helped To Solve The Puzzle 👏🤍 Much Appreciated

  • How do you set a VST/AU Parameter from a script? and Automate?

    2
    0 Votes
    2 Posts
    546 Views
    ?

    Bumping because I just came across this problem too, I noticed some commits in the Master branch related to automation but I still can't get ScriptComponent.changed() to update a DAW Automation Parameter :/

    https://i.gyazo.com/831019d69eab621bc38a8e171a379478.mp4

    Bottom left you can see the DAW not updating despite everything working correctly internally.

  • Content.storeAllControlsAsPreset fixed ?

    2
    0 Votes
    2 Posts
    163 Views
    ulrikU

    @ulrik Ok, I solved it with

    Engine.loadFromJSON()

    and

    Engine.dumpAsJSON()

    I collected all Panel.getValue()'s and stored them as objects and could get them back after a new start of the app.

    So instead of manually script all getValues and setValues, would it be possible to collect all components values in one go, like you can with

    Content.storeAllControlsAsPreset

    and then save it with Engine.dump...?

20

Online

2.0k

Users

12.8k

Topics

110.8k

Posts