• Working with Sprite Sheets / Note On

    2
    0 Votes
    2 Posts
    349 Views
    d.healeyD

    There is no wait statement in HISE. Instead you should use the timer callback.

  • Combobox to PresetBrowser

    10
    0 Votes
    10 Posts
    1k Views
    d.healeyD

    @BigBlackMuzik said in Combobox to PresetBrowser:

    ''Property does not exist''

    As always the information is there :) You are setting a property that doesn't exit.

    cmSampleMap.set("item", samplemaps.join("\n"));

    The property is items not item.

  • Convolution - IR save in preset... how?

    8
    0 Votes
    8 Posts
    685 Views
    Christoph HartC

    I would also go with the hidden slider one.

  • Send Note message to individual component?

    7
    0 Votes
    7 Posts
    931 Views
    amounraA

    That does the trick, thanks so much!

    a

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

    6
    0 Votes
    6 Posts
    478 Views
  • Script control of Arpeggiator "Note Numbers"

    5
    0 Votes
    5 Posts
    735 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
    1k 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
    623 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
    251 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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vgj.UNXWxcmGecmE35Ak2KCJlbiz.dMTlE8e9ip8Cu4GUClNH.dpHECeLueGIgVHT9nhtRCvs4X39GVb6CEBktoQ9dGzy1WyjEBlujzjyHxjxVXmhUDMYM1JmlLFaQSF36RUUYFvDlszo90ZHtxoVEjuhI5V5egANeyme9WubR8qFbujYhajgQepNTYa9YDFD+mVCYKxP7DlZ1tEA4dBtHdrfSCJGWojzQiHxhPux6yFJEDamuyc5cHgQvIEBf+vd6Bi0gk+4TiEfJ5d0ohK545Cbsv0SmI68eit.0++YWfCESTPE08vPfptt19Sh7gBwAD.IbNgknqkUSOiiccmrZa9DdnYwuCeoG1Uu1I8vtYG9OhOhvARwSCridpikuoYG3dyM0va3tmds2rgi0bSDTN7oAAZx9tcQnp03dKrFe7Bqw8WXMdvBqwCWXM9jEVi0u.Mz8d1XhRDYS8Pn+.vKqk91
  • if - else in for loop help

    12
    0 Votes
    12 Posts
    840 Views
    Dan KorneffD

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

  • Toggle thru Array help

    3
    0 Votes
    3 Posts
    243 Views
    Dan KorneffD

    @d-healey Brilliant!

  • Slideramount < Can't Set it to 8 ?

    2
    0 Votes
    2 Posts
    159 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
    2k Views
    hisefiloH

    @d-healey apps are .app on Mac

  • What's the purpose of the linkedTo property?

    3
    1 Votes
    3 Posts
    415 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!😃 👍 👍

  • Polyphonic variables

    9
    0 Votes
    9 Posts
    818 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
    1k Views
    NatanN

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

  • Script only works when interface is open

    8
    0 Votes
    8 Posts
    555 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
    204 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
    1k 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.

18

Online

2.0k

Users

12.9k

Topics

111.8k

Posts