• How to: SNEX logical inversion?

    2
    0 Votes
    2 Posts
    141 Views
    Christoph HartC

    I think a bool is just an integer in disguise in SNEX. Try

    A = 1 - A;
  • detect "null"

    23
    0 Votes
    23 Posts
    1k Views
    ulrikU

    @ustk 😂

  • downloadFile & repaint issue

    9
    0 Votes
    9 Posts
    462 Views
    ?

    @Christoph-Hart Yep that got it, cheers!

  • Help with ButtonPack example

    11
    0 Votes
    11 Posts
    1k Views
    toxonicT

    @toxonic I changed the following lines....

    // Sets the array as Control Value and repaints the panel inline function _updateInternal(p) { p.setValue(p.data.buttonValues); p.repaint(); p.changed(); }

    to...

    // Sets the array as Control Value and repaints the panel inline function _updateInternal(p) { local pGet = p.getValue(); for (i=0;i<p.data.buttonValues.length;i++) pGet[i] = p.data.buttonValues[i]; p.setValue(pGet); p.repaint(); p.changed(); }

    I loaded the value of the panel into a local array, write the changes of the button data array to the local array and save the panel value again with p.setValue()
    This works to me, when i set the maximum amount of steps (64) at compile time.

    Nevertheless, thank you much for your effort! :-)

  • Engine.createFixObjectFactory(var layoutDescription)

    14
    0 Votes
    14 Posts
    330 Views
    ulrikU

    @d-healey Nice! Thank you :)

  • Synth Timer: Changing interval

    3
    0 Votes
    3 Posts
    351 Views
    toxonicT

    @ulrik At least this was a good suggestion! :-) Thanks! ;-)

  • setKeyPressCallback() how to?

    8
    0 Votes
    8 Posts
    751 Views
    S

    @d-healey Ok thanks david.
    it's much clearer for me

  • Unlocker write/load key file - basics

    2
    0 Votes
    2 Posts
    262 Views
    Christoph HartC

    @Dan-Korneff The writeKeyFile function is a method of the Unlocker object (which you're not assigning to a variable). The key file location is static (it's always a file in the app data folder) so you don't need to bother about that, just give it the key file data.

    To fetch the user data from a unlocked Unlocker object you can just use ul.getUserEmail() etc.

  • Function onNote range [Level:Beginner]

    2
    1 Votes
    2 Posts
    249 Views
    David HealeyD

    @Shinami-Sound I think I just replied to you on YouTube, but I'll respond here too.

    function onNoteOn(60, 64)

    This is not valid. The on note on function definition can't be modified.

    You need to either add a separate note filter script before your round robin script or incorporate the filter into your RR script. I suggest using a separate script. If you don't want to write your own you can use this one but I encourage you to try doing it yourself first.

  • Save and recall array of objects

    12
    0 Votes
    12 Posts
    977 Views
    toxonicT

    @ulrik Actually, the core of all is the FXPanels Array. Whenever i drag one of the 6 FXPanels to another position, the order in the FXPanels array changes accordingly (so it's not about loading effects to the Hardcoded master FX slots, or changing their positions). So if I move FXPanel1 from slot1 to the second slot, the array index of it will change from [0] to [1]. I want to store this in the MainPanel so i have the same order of FXPanels on startup, like it was, when i quit the project the last time. Since the FXPanels Array contains Component references, this seems to be more difficult, than i thought.
    I'll tinker around a bit and hope to find a solution. Anyway, thank you for your help. If you have further ideas, i'd appreciate any help! :-)

  • F4 doesn't comment the line anymore

    15
    0 Votes
    15 Posts
    1k Views
    Christoph HartC

    @ustk Not the feature you asked for but you can use the toggle comment with multiple cursors to comment multiple lines at once:

    comment.gif

  • Transfer JSON data from an array to a slider

    3
    0 Votes
    3 Posts
    177 Views
    toxonicT

    @d-healey Awesome, mate! ;) This works perfectly! :-)

  • FX Slot Selector

    11
    0 Votes
    11 Posts
    541 Views
    toxonicT

    @ulrik Mhhh, that's strange, indeed....error.gif

  • resizable scriptpanel

    2
    0 Votes
    2 Posts
    168 Views
    ulrikU

    @ulrik Ok this works ok but it's a bit to write

    HiseSnippet 1386.3ocyX1saaaCE.lJIrqxqocEaWrKExUxXoF1occCnXqJwIowaIoFwIYsqnniQhNlHxjZRzowcs.8QH2165s6sX.6EZuAdGpernhkSCbWAlQaA3gme93QGxCYaGJboQQhPjg49CCnHiaf6LjK60rGgwQsVGY7k38nQrWQW8HeZaBm5asBZsgAjnHpGxvX9GoTzvbAT7u+4gqQ7IbWZtHD5PAyktMqOSlKssyOy782j3Q2m0WS664zxUvaJ7EC.nlGWGEPbOgbLcWhRs4vHiqsgGSJB6HIRZDxXg0DdC6zS7Rdh9GxhX.qpAMPc.GkHdSgumhXkTTydLeu1YK9HD3k14oh4SREeEdGlGar77TxWD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3dTJ3vFofgM9ZiwPgM9IXPFPXiJfNenhmh6FN+7yGUxtgLwGIBgRmNv495ojDo6Q7XChzkCGfKdY1w3Qp0wp99V4BtRK9EwZW9KYo6Xjtz09djrXyW5KY7+6k9jOb.dxhvafOQV7cLpGukNAzDpviGTOPfC2vXn9i69O6wMWUDuMtMS51qbFmqDFU8r9DvX5SBWDuQ2tTWYNfKf27IeZd+GZOw.IieLbQ1Plpzb2A86.ENtTH5bnBVcI.i4TsqSFWOqpsCk6EO.5nLJcxFpwFoS1HaRTehan3EtI8mUO575wR.l3wu21DuiZrUirFxXb8Z0Q8g2+9BWW0x+NvMHJ2lUlAat6LXy8lAa91Yvl6OC17cyfMe+kZi5+5gUGHE8S1N.BZuQ7EiLL1fSfJq3pPz+BQeltd

    @Christoph-Hart could I ask for a feature request, a panel with the options:

    ScriptPanel.showHandles(true / false) // Meaning that with this area, you can resize the panels height and width ScriptPanel.set("handlesWidth, 10);

    and that the handle area is opaque and always accessible
    via mousecallback?

  • Routing Matrix for midi out?

    5
    0 Votes
    5 Posts
    555 Views
  • setPosition() doesn't accept arrays?

    2
    0 Votes
    2 Posts
    126 Views
    David HealeyD

    @toxonic Why can't you do .setPosition(array[0], array[1], array[2], array[3]);?

  • Hardcoded FX get properties of attribute

    9
    0 Votes
    9 Posts
    503 Views
    ?

    I have an object that stores the parameter properties for some slot effects like below:

    const fxSlotParamList = { "Saturator" : [ { "text": "Saturation", "min": 0.0, "max": 1.0, "stepSize": 0.01, "middlePosition": 0.5, "defaultValue": 0.22 }, { "text": "Wet", "min": 0.0, "max": 1.0, "stepSize": 0.01, "middlePosition": 0.5, "defaultValue": 0.9 }, { "text": "Post Gain", "min": -24.0, "max": 0.0, "stepSize": 0.01, "middlePosition": -10.0, "defaultValue": -1.0 } ], "SimpleReverb" : [ { "text": "Room", "min": 0.0, "max": 1.0, "stepSize": 0.01, "middlePosition": 0.5, "defaultValue": 0.0 }, { "text": "Damping", "min": 0.0, "max": 1.0, "stepSize": 0.01, "middlePosition": 0.5, "defaultValue": 1.0 }, { "text": "Wet", "min": 0.0, "max": 1.0, "stepSize": 0.01, "middlePosition": 0.5, "defaultValue": 1.0 } ], };

    I have an idx value that captures the index of the dedicated slot in the array and when we combine these for setting the knob properties from JSON, let's say WetAmount parameter of the Saturator:

    Content.setPropertiesFromJSON("arrayed_FXSlot_Slider" + [idx], fxSlotParamList.Saturator[1]);

    Slider properties aren't updated, am I doing a syntax error, couldn't figure it out.

  • Assign array of components to local LAF

    4
  • A single function for multiple components

    9
    0 Votes
    9 Posts
    395 Views
    toxonicT

    @Lindon Yeah, that works fine! Thank you much! :-)

  • MIDI Learn table headers vanish with LAF

    2
    0 Votes
    2 Posts
    502 Views
    David HealeyD

    Think I just found the answer:

    7584f455-fcdd-491b-9f60-d261e4d49f77-image.png

18

Online

2.1k

Users

13.1k

Topics

113.7k

Posts