• 0 Votes
    16 Posts
    5k Views
    A

    @DimitrisSP said in Text values for output bus, effects or gain reduction - use label, paintRoutine or animated strip?:

    Maybe a logical contition should be:
    "if all values of a panel == -100...stop the timer"
    else start the timer...

    Yes, we want to stop anything at times we don´t need it. But on the other hand it will have to be started again once a sample reaches a certain value. Which cannot be known unless we probe the values in a timer. Catch 22. :/

    So at the time we got sound to process (using cpu) we also have to start the timer. And when it´s off ... well no stress, I guess... :)

    If we got x amount of channels, we have to always probe x amount of channels. That´s almost all we would need to do at a very fast rate. Except for transforming the values into gainFactors. Which is a calculation. So the calculation could be set to only have to be made if we have a value change. Or if it´s above -100. But that requires all x channels to be probed first.

    Anyway I understand your fear of "infinite timers", I definitely share your concern there :/

  • Enable/Disable Combo Box Strange Behaviour

    5
    0 Votes
    5 Posts
    653 Views
    DimitrisSPD

    @ustk Thanks bro...So it seems that it is not related to my code...Let's hope that @Christoph-Hart will come with a solution on that!

  • A/B comparison

    22
    1 Votes
    22 Posts
    2k Views
    Dan KorneffD

    @ustk said in A/B comparison:

    for (comp in Compare_Elements_Array) comp.changed();

    You guys are life savers! !!

  • Reliable way to refresh waveform when changing sample map

    4
    0 Votes
    4 Posts
    552 Views
    Casey KolbC

    Yup, this seems to be working thanks!

  • Default parameters for Function

    5
    0 Votes
    5 Posts
    337 Views
    S

    @d-healey Opp, Good to know
    Thank you..

  • Animation That Reacts With Frequency???

    3
    0 Votes
    3 Posts
    410 Views
  • Best Practices for Storing Consumer Key / Secret in Licensing Script

    3
    0 Votes
    3 Posts
    438 Views
    Casey KolbC

    Right, that makes sense. Just wondering if there's a more secretive way to securely include that info. I'm sure it's fine for now.

  • noteOff() / noteOffByEventId()

    9
    1 Votes
    9 Posts
    847 Views
    Casey KolbC

    For sure!

  • Arp Sustain with Sustain Pedal

    40
    0 Votes
    40 Posts
    3k Views
    LindonL

    @Lunacy-Audio okay... send away...

  • External JSON File

    11
    0 Votes
    11 Posts
    862 Views
    S

    @Christoph-Hart oh wow thank you
    i can't even guess, :D

  • Affecting midi CC values using a UI element? [solved]

    17
    0 Votes
    17 Posts
    1k Views
    A

    @d-healey
    Thanks for the snippet, yes I see how it is modulated now! So the UI to internal cc is solved, many thanks.

  • Tooltips

    9
    0 Votes
    9 Posts
    2k Views
    Dan KorneffD

    @Christoph-Hart is it possible to get the tooltip text to word-wrap in the floating tile?

  • Keyboard (Floating Tile) move keys up and down horizontally

    7
    0 Votes
    7 Posts
    670 Views
    A

    @d-healey said in [Keyboard (Floating Tile) move keys up and down horizontally]

    Another bug is FloatingTile1.setPropertiesFromJSON() gives a function not found error. Also using FloatingTile1.setContentData() makes the floating tile go blank.

    True, my experience was the same with both of those ones. I think you nailed it initially, actually. The moving of the x and y using .set() is the way to go, then create a panel to put the tile inside.

    Another question, is there a way to increase the text size of the note numbers on the keyboard tile? It´s rediculously small now and no pixel size seems to change that if I change the font size in the json in the keyboard tile settings, even after an F5 refresh... any ideas?

  • Reading external API response

    2
    0 Votes
    2 Posts
    349 Views
    Christoph HartC

    This call is asynchronous - the function will be executed when you get a server response. The onInit callback will be long over by then.

  • Encrypt, Decrypt ,Outside Hise?

    10
    0 Votes
    10 Posts
    833 Views
    S

    @Christoph-Hart said in Encrypt, Decrypt ,Outside Hise?:

    JSON -> Base64 -> Blowfish
    You can try to find a library in NodeJs that does these things and is compatible to the JUCE implementation of these algorithms or you can compile a JUCE binary that sits on your server and is executed. Both options might be annoying to implement, so depending on what you want to do, you could use the server API in HISE to do the encryption on the client side.

    Thank you , I will check it out .

  • Anyone successfully added or edited a module yet?

    2
    1 Votes
    2 Posts
    439 Views
    ?

    Ok trying an alternative method by just duplicating the source and editing the original files.

    SemiTones slider now ranges from 20-20000 and I can reference it properly in a script, but now there's no output.

    If I manually set the float cyclesPerSecond it works (obviously), but if I replace that value with the semiTones it just outputs nothing...

    im less dumb.zip

  • Remove Convolution Waveform Slider

    1
    2 Votes
    1 Posts
    197 Views
    No one has replied
  • getComponent cost

    2
    0 Votes
    2 Posts
    237 Views
    Christoph HartC

    You can measure the efficiency loss with Console.start() / Console.stop(). Be aware that this operation has O(n) complexity, so it will increase for bigger projects.

    As a general rule of thumb I would suggest to keep a reference around for events that are often triggered (or if they are in the MIDI callback then it's out of the question to call the method obviously), but if it's being used just when the user presses a button, the additional 2-3 milliseconds it will take won't be noticeable.

  • Help creating midi note remapper vst plugin

    7
    0 Votes
    7 Posts
    853 Views
    David HealeyD

    @gorangrooves

    Wouldn't you be able to design such a thing using JUCE?
    Projucer has settings for instruments that produce midi output, which leads me believe that such a thing should be possible to make using JUCE.

    Of course, but @evesira asked for something easy.

  • 0 Votes
    2 Posts
    354 Views
    A

    Ok, found the solution! I was treating all things in the modulator as data exportable by exportState(), but that one does not export or include table data, regardless of the modulator, it seems. So this one is the appending solution of for the table data of the "Global Static Time Variant Modulator", that has both buttons and table data:

    Content.makeFrontInterface(633, 400); // Prepping for export, original modulator const var Modulator1 = Synth.getModulator("Global Static Time Variant Modulator1"); const var mod1Table = Modulator1.asTableProcessor(); // asTableProcessor, was the missing piece. // Export the table (only one so index is 0) const var export1 = mod1Table.exportAsBase64(0); Console.print("export1: " + export1); // Prepping for import, next modulator const var Modulator3 = Synth.getModulator("modulator3"); const var mod3Table = Modulator3.asTableProcessor(); // Use the previous export1 as the data input for table index 0. mod3Table.restoreFromBase64(0, export1);

20

Online

2.1k

Users

13.1k

Topics

113.6k

Posts