• while note is held

    2
    0 Votes
    2 Posts
    139 Views
    Christoph HartC

    No that is not possible. Script callbacks are supposed to return immediately so any kind of "thread management" (sleep, while, etc) is not available.

    What you need to do is to set a variable to true in the onNoteOn callback, then query it somehow (either using a timer callback or other callbacks) and reset it to false in the onNoteOff callback.

  • QR code generator,?

    9
    0 Votes
    9 Posts
    377 Views
    S

    @d-healey Yep , i think so. now i have to learning more about QRCode protocol.
    I would pay someone to do it also....☺
    Thank you for information 🙏

  • Calculate gain at specific frequency?

    10
    1 Votes
    10 Posts
    655 Views
    Dan KorneffD

    @iamlamprey I haven't. Waiting on H3 to dive further into it's DSP.

  • MPE pitch bend range?

    1
    0 Votes
    1 Posts
    232 Views
    No one has replied
  • Connect HISE to external API

    3
    0 Votes
    3 Posts
    350 Views
    J

    @ustk Thank you, that's what I meant.

  • Assistance needed with a vector knob

    6
    0 Votes
    6 Posts
    424 Views
    ustkU

    @d-healey

  • Preset Label update after manual change

    3
    0 Votes
    3 Posts
    193 Views
    pasmaeP

    @lalalandsynth said in Preset Label update after manual change:

    That is an Yamaha SS in the profile pic, right ? Great Stringer.

    @lalalandsynth It's a 1977 Yamaha CP-20 Electric Piano but it looks like they share the same design. I've sampled it with HISE.

  • Saving Sample Maps in Presets with Expansions in mind

    4
    0 Votes
    4 Posts
    290 Views
    Casey KolbC

    Noted! Thanks guys.

  • Start several loops on load

    6
    0 Votes
    6 Posts
    445 Views
  • sampler methods in docs throw error "function not found"

    3
    0 Votes
    3 Posts
    303 Views
    P

    Within a Sampler's MIDI Script processor in onInit, I tried the simplest thing I could think of for this:

    Sampler.selectSounds("_"); Sampler.createListFromScriptSelection();

    throws
    constant not found: Sampler.createListFromScriptSelection {U2NyaXB0IFByb2Nlc3NvcjJ8fDk1fDN8Mzg=} Script Processor2:! Line 3, column 38: Function / constant not found: Sampler.createListFromScriptSelection

  • Lend me your brain

    10
    0 Votes
    10 Posts
    336 Views
  • Populate samplemaps based on folder choice(almost working)

    25
    0 Votes
    25 Posts
    1k Views
    ten7kurT

    @ustk said in Populate samplemaps based on folder choice(almost working):

    @ten7kur It's pushed on Dave's repo, you can compile it and test ;)
    https://github.com/davidhealey/HISE/tree/develop

    Awesome stuff! Just compiled and tested it!
    Thanks so much for taking your time to fix this!!👑

    Hopefully now i can finish my script

  • Extend Arpeggiators 32 slots?

    21
    0 Votes
    21 Posts
    1k Views
    L

    @ulrik Perfect explanation mate.
    Massively appreciate the insight ☺
    Hope you're good!

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    19 Views
    No one has replied
  • Print Object Value for Object Key; not working

    22
    0 Votes
    22 Posts
    1k Views
    ten7kurT

    @d-healey said in Print Object Value for Object Key; not working:

    Here's a quick guide

    //Objects store data in key/value pairs var obj = {}; //The key is like an array index var keyValuePair = {"key":"value"}; //Objects can store multiple key/value pairs var multipleKeyValuePairs = {"key1":"value1", "key2":"value2"}; //Arrays don't have keys, they have indexes var array = []; //The first array index is always 0 var arrayWithValues = ["value1", "value2", "value3"]; //You can put an array inside an object. var arrayInsideObject = {"key":["value1", "value2", "value3"]}; //To access the array inside the object you need to use the key var arr = arrayInsideObject.key; //You can also write it like this arr = arrayInsideObject["key"]; //To access the contents of the array that's inside the object you need the key and the array index var index = 0; //This is the index of the first item in the array, "value1" var value = arrayInsideObject["key"][index];

    Helped Alot!
    Big thanks!
    Even though i pretty much knew it all, your example really put it in perspective!

  • This topic is deleted!

    3
    0 Votes
    3 Posts
    6 Views
  • Manage user files

    6
    0 Votes
    6 Posts
    674 Views
    B

    @Christoph-Hart Ah right, sorry- should have been able to find that. Thanks!

  • Discussion about the Interface Designer

    11
    0 Votes
    11 Posts
    3k Views
    d.healeyD

    @musictranscriber Front interface doesn't show in HISE's main view, not sure why exactly but that's how it's been for a long time. You can add a script content view to the left hand panel to view your interface (this is what I do). It has the added bonus that you can scroll up and down the tree and try out different things with your interface in view all the time.

  • get Index from 2 arrays simultaneously?

    50
    0 Votes
    50 Posts
    2k Views
    ten7kurT

    Figured out how to assign a different Index.
    Thanks

  • Synth.startTimer not calling onTimer callback

    6
    0 Votes
    6 Posts
    288 Views
    Casey KolbC

    @d-healey said in Synth.startTimer not calling onTimer callback:

    Also if you use an Engine.createTimer() type timer then the value IS in milliseconds

    So I'm realizing haha 😵

30

Online

1.8k

Users

12.1k

Topics

105.0k

Posts