• Function onNote range [Level:Beginner]

    2
    1 Votes
    2 Posts
    192 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
    519 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
    558 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
    130 Views
    toxonicT

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

  • FX Slot Selector

    11
    0 Votes
    11 Posts
    447 Views
    toxonicT

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

  • resizable scriptpanel

    2
    0 Votes
    2 Posts
    144 Views
    ulrikU

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

    HiseSnippet 1386.3ocyX1saaaCE.lJIrqxqocEaWrKExUxXoF1occCnXqJwIowaIoFwIYsqnniQhNlHxjZRzowcs.8QH2165s6sX.6EZuAdGpernhkSCbWAlQaA3gme93QGxCYaGJboQQhPjg49CCnHiaf6LjK60rGgwQsVGY7k38nQrWQW8HeZaBm5asBZsgAjnHpGxvX9GoTzvbAT7u+4gqQ7IbWZtHD5PAyktMqOSlKssyOy782j3Q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P8AEAFMAvu82ctPSqIxFkQyUnHPio80RhukbgjnyucQlfj9DLosXQSGmKobJGGGp92zcu.NvG4YGmqW7a01jiFWfoIYkq72q+JbBX9wKEFU8DfAduM5z5W2n.a2XZ0Q2BW3dTJ3vFofgM9ZiwPgM9IXPFPXiJfNenhmh6FN+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
    305 Views
  • setPosition() doesn't accept arrays?

    2
    0 Votes
    2 Posts
    100 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
    420 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
    0 Votes
    4 Posts
    129 Views
  • A single function for multiple components

    9
    0 Votes
    9 Posts
    272 Views
    toxonicT

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

  • MIDI Learn table headers vanish with LAF

    2
    0 Votes
    2 Posts
    325 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
    102 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
    668 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
    199 Views
    d.healeyD

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

  • MidiChannel is always 1 in NoteOn when logging midi players output

    6
    0 Votes
    6 Posts
    286 Views
    ulrikU

    @Christoph-Hart
    Related to this issue of not being able to grab notes by their midi channel in the NoteOn Cb, I tried a different approach using no arp or midi players at all. Instead I've built 4 arpeggiators manually and now to my question:

    I use the TransportHandler and made the "NoteOn callback inside the GridChange function set to 18, 1/96 (1/64T)

    const TH = Engine.createTransportHandler(); TH.setEnableGrid(true, 18); TH.setSyncMode(TH.PreferExternal); if (MPsActivate[0].getValue()) { local nv = NVLookUpNum[MPsSpeed[0].getValue()-1]; if (gridcount % (nv*96) == 0) { slider1 == NumSliders.getValue()-1 ? slider1 = 0 : slider1++; //for (sp in S) local nn = MPSPs[0][0].getSliderValueAt(slider1); local v = MPSPs[0][1].getSliderValueAt(slider1); local l = MPSPs[0][2].getSliderValueAt(slider1); local len = Engine.getSamplesForQuarterBeats(nv*l*4); for (n in PKs) { local ev = Synth.addNoteOn(1, Math.range(nn + n, 0, 126), v, 0); Synth.noteOffDelayedByEventId(ev, len); } } }

    I have not tested this carefully yet.

    Is there a drawback using this approach?
    It feels like it will not be as accurate as using the built in NoteOn cb

  • Display preset name and folder in label

    Unsolved
    10
    0 Votes
    10 Posts
    710 Views
    d.healeyD

    If you fancy playing with C++ this is the function and I don't think it would be difficult at all to modify.

    String ScriptingApi::Engine::getCurrentUserPresetName() { return getProcessor()->getMainController()->getUserPresetHandler().getCurrentlyLoadedFile().getFileNameWithoutExtension(); }

    What I think might be better is to add a function to the user preset handler that returns the current preset as a file object.

  • Get data from Woocommerce via server api

    109
    0 Votes
    109 Posts
    11k Views
    d.healeyD

    @Dan-Korneff That's what I did too. Once you've made a basic plugin and got a feel for it get back to me and I'll help you get up and running

  • Broadcaster + SliderPack

    6
    0 Votes
    6 Posts
    232 Views
    ulrikU

    @Christoph-Hart Ok, I understand, thank you!

  • Changing film strips dynamically

    2
    2 Votes
    2 Posts
    290 Views
    lalalandsynthL

    @d-healey not possible as far as i can tell.

38

Online

1.8k

Users

12.1k

Topics

105.1k

Posts