• Engine.getHostBpm() doesn't work in a deferred script

    2
    0 Votes
    2 Posts
    362 Views
    Christoph HartC

    Hi Ben,

    thatβ€˜s rather surprising - the tempo gets detected in the audio thread but it will be stored and should be accessible from any thread.

    Can you use it in another function that is run on the UI thread? Eg. a panel paint routine (or a slider callback)?

  • Sample folder button customization

    2
    0 Votes
    2 Posts
    241 Views
    David HealeyD

    @tomekslesicki I think you can already do this manually using the file api and file system api to write the link file.

  • About The Splitter Matrix By RemarkableX

    9
    0 Votes
    9 Posts
    729 Views
    NatanN

    @iamlamprey said in About The Splitter Matrix By RemarkableX:

    so don't wait cause decent chance it wont ever get finished)

    Thanks Man, Appreciate Your Example

  • What is eco mode?

    3
    0 Votes
    3 Posts
    579 Views
    hisefiloH

    @d-healey discovered that some time ago in raw api. Commented as // Not needed anymore

  • Randomizer on 3 Grouped buttons, How?

    97
    0 Votes
    97 Posts
    11k Views
    DanHD

    @d-healey πŸ‘πŸ» Thank you!

  • Look and Fail

    2
    0 Votes
    2 Posts
    267 Views
    ?

    Ok got it, updating the code if anyone else wants it :) (I needed obj.valueNormalized not just valueNormalized)

  • panel value privacy?

    27
    0 Votes
    27 Posts
    2k Views
    ?

    @d-healey Yeh nice, doesn't seem too bad :)

  • Is This Possible with HISE ?

    3
    0 Votes
    3 Posts
    552 Views
    David HealeyD

    @MusoCity I don't think it's possible

  • Smooth modulator with .getCurrentLevel();

    4
    0 Votes
    4 Posts
    365 Views
    LindonL

    @tomekslesicki in your timer call back:

    instead of using the LFO value - add the LFO value to an array (of say 5 values) and us the average of these 5 values

    Might work - might not but its pretty simple to build and try...

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Need help with panel

    9
    0 Votes
    9 Posts
    803 Views
    ?

    @d-healey Yeh your code works for me too, maybe the area is wrong or some other part of my code is overriding something or hiding it... time to dig

  • Fade out audio on button press

    15
    0 Votes
    15 Posts
    1k Views
    T

    @Christoph-Hart thank you!

  • Scripting MPE

    1
    0 Votes
    1 Posts
    128 Views
    No one has replied
  • Encrypted part of console messages?

    1
    0 Votes
    1 Posts
    250 Views
    No one has replied
  • How to get event ids for artificial events?

    28
    0 Votes
    28 Posts
    4k Views
    B

    Cool, yep it gets initialized in the onInit

  • Getting the play positions of held notes

    3
    0 Votes
    3 Posts
    488 Views
    B

    Ok, to answer my own question 😜

    // onInit const timerInterval = 0.05; Synth.startTimer(timerInterval); const sampleLength = (60 / 110) * 16; var keyDown = Engine.createMidiList(); var legatoPlayPos = 0; function onNoteOn() { keyDown.setValue(Message.getNoteNumber(), 1); if (keyDown.getValueAmount(1) == 1) { Console.print("first note played"); legatoPlayPos = 0; }; }; function onNoteOff() { keyDown.setValue(Message.getNoteNumber(), 0); }; function onTimer() { if (keyDown.getValueAmount(1) >= 1) { normalizedIntensity = (legatoPlayPos * timerInterval) / sampleLength; // set the intensity of sample start constants here legatoPlayPos++; }; };
  • Adding and removing notes from the buffer

    7
    0 Votes
    7 Posts
    830 Views
    B

    @Christoph-Hart If you delay the note off in the onNoteOff using the same offset as when you added the note in the onNoteOn, it will put the note off after the note on.
    I'm trying to make it so that if you let go of the key before the note on, it doesn't play the delayed note on.

    Of course, just use a PitchFade! Thanks for the tip.

  • Change order of childComponents inside panel?

    41
    0 Votes
    41 Posts
    8k Views
    SteveRiggsS

    @Lindon Amazing mate! Thanks. I'll look into this properly 😁

  • setNumAllowedDownloads not found

    2
    0 Votes
    2 Posts
    222 Views
    David HealeyD

    Solved it. This was missing in the source ADD_API_METHOD_1(setNumAllowedDownloads); I'll make a pull request.

  • Images from server

    64
    0 Votes
    64 Posts
    12k Views
    David HealeyD

    @DanH

    how does one go about this in Xcode?

    YouTube

17

Online

2.3k

Users

13.6k

Topics

118.5k

Posts