• Randomize LFO + Sliderpack

    Scripting
    6
    0 Votes
    6 Posts
    218 Views
    trillbillyT

    @oskarsh So I've managed to get most off this working in a way Im happy with. I used a script more like my original because, believe it or not, it was easier for me to read.

    I'm trying to disable the LFOs and still control the EQ Bands with the SliderPack. To do this I've used an Inline Function to set IF and ELSE statements turning the Timer on and off.

    I cannot figure out how to then allow the SliderPack to control the EQ Bands individually.

    Any suggestions?

    HiseSnippet 3176.3oc6bs8abbUFeFaONYcaCIgpBUhGFYwCavI16NydKkKYhWuapUr8t16l1zRjZGu6YWOMyNylYl0wtQQMRHjPvCEg3EDBoJgDOwCHPPe.gnuv+.fPBDRnHPkWPnFwkWo7cNm4xY1KyNqsaaZYshVumuy2224247c4b0opkYCjssoEGeh5G1Eww+jB0NzvYuh6opYvs9Zb7mQXSUaGjkHkzpG1U01F0jime1qgIvmXNNxOO5JqppqZz.EPhi6EL0Zf1PqilS.0pJWWSWurZSTcsNLbmQY8FlFEM0M6A3YVgTbcUaba01nsTwrMi.G+7kZp4XZUyQ0AYywO2plMOr1dl20fx+KnYqsqNBWHMWMPQTxkM0ahQLlJWw8zzaV0qeaywwKTMXTXV5nvSKroVSMe5AiFmkTgXfDriG7yDFdyFBdoYgWJF3MDHwy.o4nP5bB0ZXo00InFLddBg0M.iSKUXXmEJTd4lo9SKTzD3vvY4Np2FU1BJ3KQxboRcQQ3iK7EWXAXn21QbeUKwZ5ZMQVUgw9zheYQOwaibJZ1oqoATH4hL7rXXoutg4tiVNRsXIBKfTjBHMn.xQJfLASqrxFkqXyHHTbSyl8zUAaDFhDOcr39TStHviX.SgaXV4khi7RiVd43Hu7nkOSbjOynkOabjO6nkOWbjO2nkOebjO+nkuPbjufqePosYzRUUKHehik1cJscHufRsZgZ.dPALHBbzm6sCHQIi1ZFnkaXgf3bbNLqJ69ZXQos1NWcq0proXksVoR4xKnYnCLK1pmQCGMSCQSiU643XZHgcesL0S1vy28hPCn2CcgEt2BIzZIlzsTBnXhUVgzNK.e0YYajCoTQ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ObrUcTaXY9JMn+k0PdmPDJfsxfz+SHrItrXve6QBoVNEWGslZuRiF3m91kRywMbYjNBxHeDjIyQPlrGAYxcDjI+QPlBQJC9Q+d0dvtLnKlBHTsDM7hmIqN2+CP54ziL
  • 0 Votes
    8 Posts
    262 Views
    R

    @d-healey
    Hi David,

    Sorry for the slow response on this, it's been quite the week.
    Here are 2 snippets, 1 without the midi controller and 1 using it. The one without doesn't sound too bad depending on what instrument you use it on. If you use a higher pitched synthy type one from Serum or something then it sounds worse than something like a piano.

    The MIDI controller one just crackles a lot more whatever instrument is used.
    I may have misunderstood your advice and implemented it wrong though.

    Without MIDI controller

    HiseSnippet 1293.3oc6X8zaaTDEe1Xuz5TZUJDg5IzdfCohRkcaH.hCdSbhiLMI1j0sEDH0NY2YsGxtyrL6ro3hPJG3KA23LG54dBwGgx2.3K.peAPva10d+SpShioMMEUeXkm2LuY98dyu2adyzQvsIggbARqR2AADj1apaMfI62nOlxPsVEocQ8OKJTZ7.9N63QPqLH.GFRbPZZkVWMDsJkQw+dZ8UvdXlMISDBcGN0lrA0mJyj1w7VTOulXGRWpetQunYKaNqA2iGAvojdUT.1dWbOxVX0vlQGo8Fq4PkbgkDKIgHsxqvcFX0m+.Vx3uCMjp.IznFxBlnDwM4dNJDqjhZzm54zYjYGhPZ5cxbBkRbByquI0glJOyYLWbGFYZj2enMSQ3Up.7pkGdUyAuw.IsbPpbBjtrtksfFHy5QgmKn2hIIBWrcwsljwhz9M8FbX.L408w6RZJfFoJrvRUqdMC3yU+T2HlsjxYFb1VbIoMagqN62OakY+gYMNXWttisO0xH3ddDwX6VsSKNJEWfE4uCQbMi8vdQjzABleQep9g6SyukamX04FHm0hQksCHrCiHfF5pT9+gnBFpL16eogdeKOpCQfnfS9b52hw2oFJFv447na2ZUrDOZZfYDVk.hPRUFf1pj8fXhjM0J5qRB2UxChGqe.moVesJG6h9coK39DyAYMbM8oNNdjN7PpxAmgqmTOTRBrnObDVM+yG9i08wYyDxvLXj6nkS7xS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KHSH2cbQEsuEuw5qAeb9X02eQC3q6e3rYL5+gO+RhjlaBYl2N18m4mUDg2vikRPbFIbli3orKwpYPFpamW1NM7+BEyuTD+vPZWRLjNeJ3h79jdlRNzChafq3YjDCUtgelQoFGJjyelQ9l7rhw0ct9jFeIbGxaBUcNRDIgLisIx.FzBIF77lv62rn.T4bpqpMcs4Tjijw0TiiSpR41wC9G3S5h0Ui0RWr9vEKZRVLwjbSnACNM9gqwVi2KdrtJMo9dTNM3h0OJ23wuOoOV0eher5gVR356FP3g9hvRGrI0i0E5mOr3jPTkJywQJ2W4nHRvHW5ka1DTxQJiIQFEDyC1xSDwkiqknYRWykZO500ileUDEcUeCxroUnrL1I8MuKjb0EdlXVCawYIGNa4L1sEbgeeAmUpkkinP7XudkyAOREZKojTrUjULNh5RIEIvejw9.wiD.1I5TZKpO41hw4udebBb0UAiWeRVO12NV451aGu9T330wc3QrBDON8eHUwkuQ7Lfdyi+aKqhaqFqm8mCo9CWpg7fLhO1xRYt+Dv9LZYt2THy8mBYVeJj4SmBY1XJj4ylBY97wJipXzVQvqpRBEgI5rax6ozxdLmVEz+dCuTTN

    And here's me thinking that adding a 'simple' flutter effect would be straightforward haha

  • 0 Votes
    3 Posts
    225 Views
    marcLabM

    Thanks! That's what we did!

  • LFO seems (partly) broken

    Bug Reports
    4
    0 Votes
    4 Posts
    319 Views
    d.healeyD

    I made a video showing the comparison:
    https://www.youtube.com/watch?v=vCyFRJItS_8

  • 0 Votes
    10 Posts
    2k Views
    Dark BoubouD

    Well yeah I opened it, it works but not when I insert it in my code, but I'm sure it's about onctrol.
    I have found another solution!

    Add knob, speed LFO knob. When you select 'not sync button' (position 1), the knob has range 0 to 50.
    Until here that's the same as before.
    But if I insert this condition:

    inline function onBUTTONControl(component, value) { KNOBHERTZ.set("visible", value); }; BUTTON.setControlCallback(onBUTTONControl);

    And then add a second knob, with value 0 to 1 for synchro, then add this similar line:

    inline function onBUTTONControl(component, value) { KNOBSYNC.set("visible", !value); //Inverse value of the other knob }; BUTTON.setControlCallback(onBUTTONControl);

    And then it switches btw the two knobs, but we don't see it! :D

    I go try it, I hope it works :P