• Send Note message to individual component?

    7
    0 Votes
    7 Posts
    512 Views
    amounraA

    That does the trick, thanks so much!

    a

  • Alternative for ".shift()" for arrays?

    6
    0 Votes
    6 Posts
    283 Views
    LindonL

    @Alex-Paradis then you probably also saw this one:

    Link Preview Image W3Schools.com

    Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.

    favicon

    (www.w3schools.com)

  • Script control of Arpeggiator "Note Numbers"

    5
    0 Votes
    5 Posts
    504 Views
    amounraA

    Thanks, that's exactly what I was looking for.....don't know how I missed it!

    a

  • Set tooltip manually

    12
    0 Votes
    12 Posts
    657 Views
    ustkU

    ...And because Hovering is not the same thing as "moving the mouse inside the panel" which is allowed only at top callback level.
    following the chart, Hovering means only "entering and leaving" which I guess is just a boolean, where the event.x/y is the value obviously

  • Possibility to do Multi-Dimensional Arrays?

    6
    0 Votes
    6 Posts
    375 Views
    Alex ParadisA

    @dustbro

    I tried your Snippet and I wasn't typing well the arrays.

    All good and working!

  • Convolution - script start and length of audio file?

    2
    0 Votes
    2 Posts
    180 Views
    Dan KorneffD

    Nevermind 🎃

    @Christoph-Hart said in How can I create an interface for Start-/EndLoop of Audio Loop Player?:

    Looper.asSampler() is like Car.asShip() :)

    There are two ways:

    Create a AudioWaveform, connect it to the looper module and drag the sample edges to set the range. Create a AudioSampleProcessor reference to a looper using Synth.getAudioSampleProcessor("LooperID") and use its method setSampleRange(startSample, endSample).

    Check this example (you need to load an audio file in the looper to see how it works):

    HiseSnippet 1212.3oc4V0zaaTDFdV6rkZCthJJRbbUDGbPoQ1k1Rj.DNwIAYQRZT1PnmZ0jcGaOJyNypYGmVSUk3X+Cv+KNvYtf5Qj3Bmg2Ylc8tKdyGNT.IXOsyLue7LOy6WGHEAjjDgD4z3nowDjy635OkqF2eLlxQC1B4bK28vIJhzyt0lSiwIIjPjiS8uTugSikPlue8K1Dyv7.R9VHzwBZ.YWZDUkuabuuhxX6fCIGQiJH886M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yme9WubR8qFbujYhajgQepNTYa9YDFD+mVCYKxP7DlZ1tEA4dBtHdrfSCJGWojzQiHxhPux6yFJEDamuyc5cHgQvIEBf+vd6Bi0gk+4TiEfJ5d0ohK545Cbsv0SmI68eit.0++YWfCESTPE08vPfptt19Sh7gBwAD.IbNgknqkUSOiiccmrZa9DdnYwuCeoG1Uu1I8vtYG9OhOhvARwSCridpikuoYG3dyM0va3tmds2rgi0bSDTN7oAAZx9tcQnp03dKrFe7Bqw8WXMdvBqwCWXM9jEVi0u.Mz8d1XhRDYS8Pn+.vKqk91
  • if - else in for loop help

    12
    0 Votes
    12 Posts
    440 Views
    Dan KorneffD

    @ustk @d-healey Thanks guys! Both of these solutions will work.

  • Toggle thru Array help

    3
    0 Votes
    3 Posts
    165 Views
    Dan KorneffD

    @d-healey Brilliant!

  • Slideramount < Can't Set it to 8 ?

    2
    0 Votes
    2 Posts
    109 Views
    NatanN

    Found The solution
    There is A hidden Numsteps , So i set that to 8 With a knob And no need for extra coding :)

  • DLL to OSX?

    10
    0 Votes
    10 Posts
    1k Views
    hisefiloH

    @d-healey apps are .app on Mac

  • What's the purpose of the linkedTo property?

    3
    1 Votes
    3 Posts
    273 Views
    d.healeyD

    @Christoph-Hart Ah that makes sense, seems rather niche though :)

  • Like a drumpad

    18
    0 Votes
    18 Posts
    3k Views
    lixiaolongL

    @Dalart Thank you so much! You are amazing!😃 :thumbs_up: :thumbs_up:

  • Polyphonic variables

    9
    0 Votes
    9 Posts
    487 Views
    d.healeyD

    Here's my breath controller script - https://raw.githubusercontent.com/davidhealey/HISE-Scripting-Framework/master/modules/breathControl.js

    Rather than using a specific CC it has a Level knob that you can control from your main interface whichever way you like. This also avoids the issue of putting loops inside the MIDI callbacks.

    Unfortunately I haven't been able to make it work with the hardcoded legato script or my own legato script.

  • 0 Votes
    6 Posts
    728 Views
    NatanN

    @d-healey Thank You Thank You Sir David 🙂 Youre Great 👏

  • Script only works when interface is open

    8
    0 Votes
    8 Posts
    352 Views
    d.healeyD

    @Christoph-Hart

    But if you're relying on the message thread to do more than just UI stuff, your application design is flawed anyway :)

    Yup. I've moved my other non-ui stuff into a separate script now and all is working well :)

  • Audio loop player status

    2
    0 Votes
    2 Posts
    148 Views
    Christoph HartC

    If you can live with the edge case that there is a sample with zero length loaded, use the getSampleLength() attribute:

    HiseSnippet 1005.3oc4WssiiSDDscRLhjkAwByC7XqHdHizxHG1Kf.MZmaInHlY1nICq3sU8ZWIo0ztaq1sCDg3SfeG9N3Wf+.9CfpsiiclwJj0bSBxStqa9TUW0obFqU9PbrRSbZeyxHf37NtSVJMyOaNiKIiNm37ttWxhMfllI5zkQr3XHf33z7KsBbZ2hj96We9oLAS5CEhHjWp39vE7PtoP53i+JtPLjE.2vCKY8SNdjuRdlRnRP7zz0iDw7ukMCthYMqgKw4sFDvMJ8DCy.wDmVmpBVNYt5akY1+RdL+0BvdnOYBFnLwCUh.KhsOSNaNWDLNOuiIDG2wEUglYUg8cujGvWKunZ7doJnEdTtd3zXavqeMgmSI30JCdOzchulGYJzXw1CbGIwKpoL7JnLrxrkz3GcbOSgVHMGFxtEFpwCq8n2y77dD8oddG7E60YuN3EQrgtfoomjDvUWnTQiErkftO8HZZGxgy.SptIrvHArFJ85lJkZcgtxmt1fpgYTlugu.vPb2nZiVVft.jyLy6c.8nindzmS6dkxLmKmQEJriInK8yocyrLWRJfwLKVIfCizbooW16w9VmlHwmURpRhABdgr2Ac99Ns67Ccn2U0zoUpyVyzJg.zUp11Cq2li8jIguFzOBqlhDXsg3k4lcKOX25V7ytBKYnRNRxMuHBVctnexpKKqy05QVmrkEUjikkllZUXVgn62tRV0hgO80iNmYX1N3UxP6h.sgayVmygEH0PV+ba2yg3aMpHjb3dM63HmJHQvLaNGZIeVo.K2azvaapkwbyxxjSuACmdUNb1uprcGg6CcGyM9yqFuMp.uXU6ua7thpaO2ASmB9lBv1xc32TWds5AkOHGJqoEfLJs8cuOYxVVA8y65JnncdEDx04iWaP4Voz6xaz3xIjWp7qxByARFVKBJK9ZkxXG5JuBLiBCqnZCF9MrFV.53MivPtnXKXnMkccrxCYem8we4mbHB7cmFtbchTvDjezoYsVNs4XVI6qXSUq+EVj9W+r5edpkl6Fb+C102NGiS31VkAxEf.GLRw36iDlSYIBStzMmJtTIUQyURt+lMVFMe1LPWF6UlPmXLXycgj8O9ZP.r3RcvezwWvk.Se2Yi2fZQ+cuVrs6qOzMCtT6nL8+FqDZ9+yUBWqRLHk5kLrQ0RrcUR3DjI1GPjHkfH1Rl0v9QFYm8xI2l.xfzC+F9akx91yNqT1OW4+HuiPluV8J+ruVx1K+1oRv7VlRh2F+OU3YZeR52Dh945cnGRrGvekuusb+w8Ijp84SpgOOtF97jZ3ySqgOOqF97o0vmOaq9XWFcRhQElMJhBFOH8qWcbVuP2oI42gsvvP1
  • Basic Random Round Robin Script

    8
    0 Votes
    8 Posts
    668 Views
    Christoph HartC

    Because the loading of sample maps is asynchronous: the call to Sampler.loadSampleMap() doesn't do anything heavyweight, it just posts a notification to the worker thread which kills all notes gracefully, suspends the audio rendering and then performs the loading & preloading until everything is done and then reenables the audio rendering for the ultimate smooth swapping experience.

    Since this can take a few seconds for big sample sets, having the script engine in a busy-wait state is not an option (in fact, the time-out protection would fire). Hence you need to jump through the hidden Panel hoop.

  • Knob is selected? use for function

    12
    0 Votes
    12 Posts
    571 Views
    Christoph HartC

    @Lindon Yeah but if it explodes let me know.

    You should be fine with up to 100 of them per plugin instance.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    17 Views
    No one has replied
  • Custom radio group buttons

    7
    0 Votes
    7 Posts
    479 Views
    d.healeyD

    You could just disable saveInPreset for those buttons. If you want the last one selected to be remembered then I guess you could reenable saveInPreset in the button's callback (I haven't tried this). If you only want a particular one to be enabled by default then just enable saveInPreset for that one button or enable it manually in the on init callback.

55

Online

1.7k

Users

11.6k

Topics

100.6k

Posts