• Timer callback in multiple scripts

    4
    0 Votes
    4 Posts
    2k Views
    Christoph HartC

    It creates an extra timer but it runs in the message thread, so I would use it for audio stuff, and actually since ScriptPanels also have a timer for animation it became pretty useless - I think I added it before I added timers to the Panels but left it in the code base for some weirder use cases. Somehow the API doc didn't make it in the autocomplete list, but this is the usage:

    const var timer = Engine.createTimerObject(); timer.startTimer(150); // in milliseconds timer.callback = function() { Console.print("tut"); };
  • How to check if a key is held

    4
    0 Votes
    4 Posts
    1k Views
    Christoph HartC

    I thought it was there, but it wasn't. But I added it now, this is a reasonable request.

  • Setting filter gain in script

    3
    0 Votes
    3 Posts
    1k Views
    Christoph HartC

    Alright, it's fixed.

  • GUI in non-deferred script

    6
    0 Votes
    6 Posts
    2k Views
    David HealeyD

    That makes sense, thanks for confirming

  • Loading external script files with includes

    4
    0 Votes
    4 Posts
    1k Views
    David HealeyD

    ok cool, thanks

  • Pause, Wait, Sleep?

    6
    0 Votes
    6 Posts
    2k Views
    David HealeyD

    Thanks, really easy :)

  • Set volume for message

    8
    0 Votes
    8 Posts
    3k Views
    David HealeyD

    Brilliant, thanks :) this will be very helpful

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Crossfading Notes

    11
    0 Votes
    11 Posts
    3k Views
    Christoph HartC

    I don't know. They're both pretty cheap so I don't think this will be a bottleneck anywhere but if I have to guess I would say the scripting functions are a bit faster.

  • Time out rendering sample error/warning

    3
    0 Votes
    3 Posts
    985 Views
    David HealeyD

    I'll have to see if I can recreate it in a more isolated context

  • How to loop object key/values

    3
    0 Votes
    3 Posts
    1k Views
    David HealeyD

    Oh, that simple :) thanks

  • Check if array key exists via the in operator

    3
    0 Votes
    3 Posts
    1k Views
    David HealeyD

    Thank you :)

  • Panel Text

    7
    0 Votes
    7 Posts
    2k Views
    Christoph HartC

    Oops, I forgot about the extraProperties parameter. (I added it before I added the data member, but the latter is much more versatile).

  • Rounding numbers

    5
    0 Votes
    5 Posts
    2k Views
    David HealeyD

    Fantastic!

  • Removing Combo Box Arrows

    3
    0 Votes
    3 Posts
    1k Views
    David HealeyD

    Thanks I'll try it out. I'm reusing some graphics from a Kontakt project which already includes an arrow for the drop down menus so the combobox one is not needed for this project, although I could edit the graphic to remove the arrow but I think it looks good in this context.

  • Searching arrays

    3
    0 Votes
    3 Posts
    1k Views
    David HealeyD

    :D you're the man!

  • Checking if a variable is an array

    4
    0 Votes
    4 Posts
    1k Views
    Christoph HartC

    Oops, I forgot about strings in my little test suite :)

    function isArray(variable) { return !(variable.length === undefined) && typeof(variable) != "string"; };

    This should do the trick…

  • Getting constant modulator's value

    4
    0 Votes
    4 Posts
    1k Views
    Christoph HartC

    I would recommend using two mods for this case. There's almost no performance penalty (voice start modulators are very fast) and you don't have to deal with edge cases (what if the delta sum goes beyond the normalized modulation range etc.)

    I'll add it anyways (I didn't need it yet, but there may be some cases where it might come in handy).

  • Controlling multiple modulators

    4
    0 Votes
    4 Posts
    2k Views
    David HealeyD

    I noticed a little (possible) bug with the envelope. When I set the release time to 0ms via a control on the interface the actual release knob of the envelope only goes down to 1ms

  • How do you create an end-user GUI?

    5
    0 Votes
    5 Posts
    2k Views
    E

    WORKED!

13

Online

2.2k

Users

13.4k

Topics

117.1k

Posts