• Help with ButtonPack example

    11
    0 Votes
    11 Posts
    798 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
    312 Views
    ulrikU

    @d-healey Nice! Thank you :)

  • Synth Timer: Changing interval

    3
    0 Votes
    3 Posts
    320 Views
    toxonicT

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

  • setKeyPressCallback() how to?

    8
    0 Votes
    8 Posts
    629 Views
    S

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

  • Unlocker write/load key file - basics

    2
    0 Votes
    2 Posts
    244 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
    242 Views
    d.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
    830 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
    159 Views
    toxonicT

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

  • FX Slot Selector

    11
    0 Votes
    11 Posts
    503 Views
    toxonicT

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

  • resizable scriptpanel

    2
    0 Votes
    2 Posts
    159 Views
    ulrikU

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

    HiseSnippet 1386.3ocyX1saaaCE.lJIrqxqocEaWrKExUxXoF1occCnXqJwIowaIoFwIYsqnniQhNlHxjZRzowcs.8QH2165s6sX.6EZuAdGpernhkSCbWAlQaA3gme93QGxCYaGJboQQhPjg49CCnHiaf6LjK60rGgwQsVGY7k38nQrWQW8HeZaBm5asBZsgAjnHpGxvX9GoTzvbAT7u+4gqQ7IbWZtHD5PAyktMqOSlKssyOy782j3Q2m0WS664zxUvaJ7EC.nlGWGEPbOgbLcWhRs4vHiqsgGSJB6HIRZDxXg0DdC6zS7Rdh9GxhX.qpAMPc.GkHdSgumhXkTTydLeu1YK9HD3k14oh4SREeEdGlGar77TxWDOgUtE54Ci4Jh27EvqgNd00vqDjLzPZgDjtMtiaHKPlOihmOG2hKogcIPZWGkDcQy82XbSAnAWVqO4D5lgvfwVXe+50W1B9mpOnREH0GIsNkDZ0d2sU1.KYZn0OXkY+wTYSQ+.AGFXujtRKA1ma9iNnUm8OXyMmpoYJTzLcGtEg64Si.O7rxcwVhP1qTZ62l6uT0kqX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tTWYNfKf27IeZd+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
    456 Views
  • setPosition() doesn't accept arrays?

    2
    0 Votes
    2 Posts
    116 Views
    d.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
    492 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
    326 Views
    toxonicT

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

  • MIDI Learn table headers vanish with LAF

    2
    0 Votes
    2 Posts
    455 Views
    d.healeyD

    Think I just found the answer:

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

  • How to programatically remove filter bands?

    2
    0 Votes
    2 Posts
    127 Views
    orangeO

    @d-healey I think it is not possible to delete them with scripting, but you can enable/disable:

    HiseSnippet 938.3ocuVs0aaaCElxNrnVaqW.1O.h7jyVZfUS5kgfg45aCFaIwaNMnnuzRSQGSDJRWIprZLDf81961e.En8PJYaIOmf.i0pGL.OW+Ne7bNlCh0LdRhNF4U6zYS4HuuEOblxLo8DpPg52A4cO7QzDCOljIp0rozjDdHxyq5uZE3UaKj66C+RKpjpX7khPnyzBF+2EQByRoCZ9aBorGMjepHpf0GzrOSqZqk5T.OUwMPSorKnmyOlZMqBF4cmtgBiNdngZ3IHusZoCmMbh9uTY1elHQLRxsGBPCg.kItmVFZQrUJp8DgLbv75NAAQYvRVnZFK783iDghExWxFOvofrzih7gWkxvqZI3ETDdMJ.u0.IuBPZqLH8P7PVrXpYoFKd9FbeEb4LlBzdQnjYKpxqqfaqAKTl8hnWv6ECGV3Q88azXWB7yNG56CTehgbIMlLfFCDtIV7tt+Q.4mItFh8Nma5NdLmYpucIC1trycDITnF6IjPRrdOO8f+s0QS0J3P8sKalKFBkTn3jwoJlQnUDsprQ1.Eqk0YyixtPBko7c7+a+ZRMiJIBUH+8PNKAv8ZQUgmLdbB2P9AR.4GWQcWkMIgGRH907qUVG3yKLvgQoFdcWz2kD7nrzdneMxhO+qfJ31Up1flWKsoR4HnGu90TqVZo.ebr1vOQU2Uv9W4SVU03wqUWdvj730p1NDFeSNVWkFMhGWjtsFBclka2wWe6dwoQVFKUvPspuRXNYJWccynnbp0NZjiJvTiav3d4CFsRMFsBIBsSokoSjC4E2KgdY+NTCcd7fPCoaJO1HrUhWG9kvdqrAuZ3N7jKL5oNayuVgh+1m82uHy+yYMms3Py21D8emygML5vTI0TdsicWatB3xozrtcdVkHLyJtK9+scQ2VH9P7.ggMY8XrxZvHv8eIvX9F7uCmssZI.2B26UeEVWe+4cMsSiuj28ctbeebo8JkfwwoQYMJ1QHuJP0XWX0nHQYEDjK3ss+2iaZE73x+0qJb+UEbvRAOv4xSlK30WsiSvSmKH8iibBd1pw34qJ3mJFzd8NMe8oiPqdqIzfa997O0oFg57in.gASOXfiFBuJfwgqSkhKWPU4maXOagzPti5vdeB9xUFXO6kqLXtxuJ4Hhxh0ugkswx1obWmDntUt2zTCdbEblrXCEF2XuFnH3MFugwr8rOBVGtded7F3y9afOGrA97jMvmmtA97rMvmmei9Xed2KRM5nrcXffAcc+SgmWgNczmAjsxKzF
  • Broadcaster error

    14
    0 Votes
    14 Posts
    698 Views
    Christoph HartC

    Alright, the docs are online, but let me know if something is unclear.

  • Sample loop play in Sampler

    4
    0 Votes
    4 Posts
    232 Views
    d.healeyD

    @plugintutor
    You don't need to add any code for looping to work.

32

Online

2.0k

Users

12.9k

Topics

111.5k

Posts