• best way to escape....

    16
    1 Votes
    16 Posts
    512 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
    2k Views
    MikeBM

    @Natan Ok

  • Removing 2 Digits From First Of A Label

    4
    0 Votes
    4 Posts
    168 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
    447 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
    374 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 :/

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

  • Content.storeAllControlsAsPreset fixed ?

    2
    0 Votes
    2 Posts
    126 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...?

  • How to set scriptnode knob range via scripting?

    4
    0 Votes
    4 Posts
    313 Views
    d.healeyD

    @Matt_SF Thank you!

  • addToMacroControl

    3
    0 Votes
    3 Posts
    193 Views
    ?

    Bump - is there any way to "batch connect" multiple GUI elements to a single macro via scripting?

    addToMacroControl makes the GUI element the Master, but I need to do it the opposite way.

  • Connecting knobs to limiter = weirdness

    9
    1 Votes
    9 Posts
    271 Views
    DanHD

    @Lindon Yep, it's not quite as suited to my needs but hey ho!

  • 0 Votes
    6 Posts
    521 Views
    d.healeyD

    @Casey-Kolb Just came back to this for another project and figured I'd try to make it work using your idea. I found the missing piece of the puzzle. You must include the floating tile type.

    const tileData = { "Type":"AHDSRGraph", "ProcessorId": "sampler1GainAHDSR", "Index": -1 };
  • Customize Right Click Menu for Sliders

    6
    0 Votes
    6 Posts
    278 Views
    ?

    @Bob-Stuck Try commenting out line 111 in MacroControlledComponents.cpp in the source code:

    m.addSubMenu("Assign MIDI CC", s, true);
  • changing size of black keys RE D Healeys custom Keyboard video

    11
    0 Votes
    11 Posts
    630 Views
    G

    @d-healey I got i t working. I had to paint the panel background blue as i was unsure if the black key was being painted properly. Screenshot 2021-07-18 at 13.53.50.png

    You were so right, re writing the if statement properly made it make sense in my head. I noticed there was a * missing in the fillRect array, I wondered why i was getting errors then realise i wasnt timesing I by anything ;)

    Screenshot 2021-07-18 at 13.54.18.png

    cheers David and @Lindon cheers Lindon too

  • Scales, scales and more scales...

    19
    5 Votes
    19 Posts
    619 Views
    Tania GhoshT

    @Natan Ok.. Ok.. :) Great advice.

  • 1 Votes
    63 Posts
    3k Views
    NatanN

    Also, You Can't Make Chords On Painted Version, Only One Note Shows Up On The Graphics

  • Slide in/out Panel

    24
    0 Votes
    24 Posts
    1k Views
    NatanN

    @ulrik Thank You 👏

  • 0 Votes
    4 Posts
    353 Views
    d.healeyD
    Engine.loadFontAs("{PROJECT_FOLDER}Fonts/Lato-Bold.ttf", "bold"); Engine.loadFontAs("{PROJECT_FOLDER}Fonts/Lato-Regular.ttf", "regular");
  • Scales Combobox

    28
    0 Votes
    28 Posts
    1k Views
    NatanN

    With A Custom Piano Keyboard, How We Can Show The Scales?

    inline function updateKeyColours() { for (i = 0; i < 127; i++) { if (allowedNotes.contains(i % 12)) Engine.setKeyColour(i, Colours.withAlpha(Colours.red, 0.2)); else Engine.setKeyColour(i, Colours.withAlpha(Colours.yellow, 0.2)); } }

    Edit: Found A Better Solution :)

  • Next / Prev For Viewport Shows Error

    5
    0 Votes
    5 Posts
    223 Views
    NatanN

    @ustk Thank You Fine Sir :) Works Like A Charm <3

  • Hp / Lp Knob

    8
    0 Votes
    8 Posts
    422 Views
    NatanN

    @DanH 👏

20

Online

1.7k

Users

11.6k

Topics

100.7k

Posts