• Set 2 VelocityCurves with 1 table

    11
    0 Votes
    11 Posts
    1k Views
    B

    @christoph-hart OK. I already knew I was in over my head but it's good to know that I'm WAY in over my head.

    I started out just wanting to build a simple sampler I could throw my custom samples in that wouldn't require too much scripting and could be DAW agnostic.

    But now I'm only going to be satisfied by trying to rebuild an emulation of EXS24 with some added features. Guess I better get a lot better at scripting. :(

  • How to use the FloatingTile "FilterDisplay" to display Harmonic Filter

    9
    0 Votes
    9 Posts
    1k Views
    ulrikU

    @christoph-hart Haha, no I caught a trick from d.healey how to find out what id the different parameters had, like a trial and error...
    Thank you for fixing this, it's so fun to use Hise and you're doing a fantastic job with expanding the possibilities with it!! :)

  • Global velocity mod

    4
    0 Votes
    4 Posts
    757 Views
    Christoph HartC

    In this case you might want to try using an unconnected table on the interface as setting the Velocity using Message.setVelocity() (I've fixed the bug that the value isn't shown), however this works only if you don't defer the main script.

    I've tried to make tables interconnectable between scripts, but this is rather difficult because of the order of creation (the first script is compiled before the second one can build it's components).

  • scope of loop variables

    3
    0 Votes
    3 Posts
    586 Views
    C

    @christoph-hart thanks a lot

  • Performance meter customisation

    3
    0 Votes
    3 Posts
    702 Views
    d.healeyD

    Thank you. For anyone else who comes across this, here is what I've done.

    const var pnlStats = Content.getComponent("pnlStats"); const var lblStats = Content.getComponent("lblStats"); pnlStats.startTimer(250); pnlStats.setTimerCallback(function() { lblStats.set("text", "CPU: " + Math.round(Engine.getCpuUsage()) + "%" + ", " + "RAM: " + Math.round(Engine.getMemoryUsage()) + "MB" + ", " + "Voices: " + Engine.getNumVoices()); });

    Is Engine.doubleToString() faster than Math.round()?

  • spawn function(thread calls)

    4
    0 Votes
    4 Posts
    709 Views
    V

    We were looking at the issue from the wrong angle. ie trying to control too much from the main container rather then on Sampler level. I think that we now have a better way of handling it with CherryAnt. It is down to working out the Architecture of HISE rather then anything else ;) Thanks for your help guys.

  • Defferred Callbacks Usage

    1
    0 Votes
    1 Posts
    425 Views
    No one has replied
  • hidden buttons show up randomly after Compile

    3
    0 Votes
    3 Posts
    779 Views
    Dan KorneffD

    @christoph-hart This didn't seem to work for this situation.
    I was setting RackSel.setValue(1) on one of my callbacks...

    if(value) { RackSel.setValue(1); showPage(3); showTom(0); } else if(1-value) { showPage(0); showTom(3); }

    so adding RackSel.setValue(0); to my else if statement fix it!

    if(value) { RackSel.setValue(1); showPage(3); showTom(0); } else if(1-value) { showPage(0); showTom(3); RackSel.setValue(0); }
  • Button animations

    4
    0 Votes
    4 Posts
    884 Views
    d.healeyD

    @christoph-hart said in Button animations:

    This is not entirely true, I added six state button support a few months ago using this scheme:

    Oh sneaky update that I missed :)

  • value and 1-value

    11
    0 Votes
    11 Posts
    1k Views
    Christoph HartC

    @dustbro said in value and 1-value:

    If you have it in a variable already, why not Button5.setControlCallback(onButton5Control);?

    Because the copy to clipboard function is not smart enough to know whether you defined the variable already so it uses this format to make sure that it works if you paste it like this. There's a minimal overhead because it has to look again for the control but this is only when loading the script and takes about 1-2ms so it shouldn't be too drastic.

  • getSettingsWindowObject alternative

    15
    0 Votes
    15 Posts
    3k Views
    staiffS

    lol !
    hey ! right !
    i didn't change this !

    oh, about font, i use in this project the Digital mono and TR-909 font. for another user, must he have the same font or is it "embedded/pixelated" in the final compilated project (VST, standalone) ?

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Dynamics Module

    6
    0 Votes
    6 Posts
    1k Views
    R

    Hi there. I can't seem to figure out how to open the dynamics FX from repository folder. I apologise for asking, but could anyone please explain to me how to get it working? Kind regards.

  • Audio thread function variables

    3
    0 Votes
    3 Posts
    3k Views
    d.healeyD

    Excellent, I'm at the trimming the fat stage of my project, trying to make it as lean as possible :)

  • Floating Tile Tab

    3
    0 Votes
    3 Posts
    1k Views
    d.healeyD

    Ah I see, ok I'll do another layout for these extra controls.

  • Breaking Change: Calling an API method with undefined throws an error

    1
    1 Votes
    1 Posts
    571 Views
    No one has replied
  • JSON UI Woes

    18
    0 Votes
    18 Posts
    3k Views
    d.healeyD

    I've been trying to rebuild the UI from scratch, I find the ui designer really slow compared to working in the script (especially with multiple cursors) though so I've been creating controls in the JSON view, however like I said when I hit F5 it takes me to the on init so that becomes quite cumbersome too. I also just had a problem with a bunch of controls I'd created in the JSON randomly disappearing along with the JSON code... Should I not hit F5 in the JSON view but go to the normal script to compile or should I do it in both views?

    Also, when using the interface designer, is it still possible to split a UI into multiple files and combine them all in the front interface script?

  • AllowCallbacks property

    3
    0 Votes
    3 Posts
    585 Views
    d.healeyD

    Aha :) thank you

  • UI IDs and Namespaces

    2
    0 Votes
    2 Posts
    594 Views
    Christoph HartC

    Yes that‘s true. The namespace concept has no meaning outside if the scripting engine but there must be a unique ID for presets, inter script communication, etc.

  • Program change events

    5
    0 Votes
    5 Posts
    984 Views
    d.healeyD

    Excellent

17

Online

1.7k

Users

11.9k

Topics

103.4k

Posts