• How to prevent blur for creating a glow on layers above it?

    7
    0 Votes
    7 Posts
    463 Views
    Christoph HartC

    @aaronventure I've added the gin stack blur at some point (it's already using this algorithm in the Graphics functions), however it's still ridiculously slow because it has to do graphics operations on a CPU and this is 1970 style hardware usage.

    https://forum.juce.com/t/faster-blur-glassmorphism-ui/43086/7

    I've went through the thread a few months ago and was close to port it over into HISE (I also sometimes get the urge of making blurry stuff), but I wasn't too convinced that the overhead justifies the performance gain (it's still being calculated on the CPU and this makes it easily a factor 100 slowdown compared to GPU based blur algorithms).

    EDIT: this is the module I was talking about:

    https://github.com/sudara/melatonin_blur

    From revisiting the page, it might be actually worth it trying out how it performs...

  • MidiPlayer Note Length

    3
    0 Votes
    3 Posts
    297 Views
    Adam_GA

    @d-healey just what i needed thanks

  • Customizing macro icon

    1
    0 Votes
    1 Posts
    198 Views
    No one has replied
  • Child file in macOS

    5
    0 Votes
    5 Posts
    376 Views
    LindonL

    @Lumi283 that double semi colon at the end probably isnt helping much either...

  • Load project and have to compile again

    13
    0 Votes
    13 Posts
    551 Views
    ulrikU

    @Christoph-Hart I think I found the reason it didn't update.
    I had 6 slider packs in a separate ScriptProcessor, all of them registered with

    SLP1.registerAtParent(0); SLP2.registerAtParent(1); etc...

    In the main script I have 6 slider packs connected to the separate script processors slider packs using this connection:

    const Data1= Engine.createAndRegisterSliderPackData(0); const Data2 = Engine.createAndRegisterSliderPackData(1); etc... slp1.referToData(Data1); slp2.referToData(Data2); etc...

    I chosed that type of connection because I needed a DisplayCallback for each one of those slider packs, I couldn't find any other way to get that type of callback, is there?

    Any way, in the external script processor I changed the

    SLP1.registerAtParent(0); to use the SLP1.referToData(Data1); method instead, and that fixed my problem.

    What kind of connection is preferred if you can't connect them via the Property Editor?

  • Get Modulator

    3
    0 Votes
    3 Posts
    303 Views
    CasmatC

    @d-healey ahh Thanks!

  • 0 Votes
    44 Posts
    5k Views
    d.healeyD

    @trillbilly Write it out as a list, in English.

    Do this,
    Then do this,
    If this, do this,
    Otherwise do this
    etc.
    etc.

    It might make it easier to figure out the flow of the program.

  • Does component visibility get set to 0 on plugin GUI close?

    29
    0 Votes
    29 Posts
    1k Views
    Christoph HartC

    Yup a container is a sound generator.

  • Query component type?

    11
    0 Votes
    11 Posts
    332 Views
    Christoph HartC

    yes, at some point the overhead of implementing a "don't show again" system might be worth it, in the meantime, I've "solved" the problem in the most laziest way possible:

    ac8c9a1c-d65a-44b6-a360-695c3354c46f-image.png

    However I also realized that the Undo button can fix most of the errors that you can do with the JSON editor so it's not as bad as I thought the entire time...

  • Laf function triggers twice for each setLocalLookAndFeel ?

    8
    0 Votes
    8 Posts
    576 Views
    O

    @d-healey Using the txt property seems like a nice idea.
    The video was also helpful. Thx!

  • Load external base64 table to scriptnode

    3
    0 Votes
    3 Posts
    252 Views
    T

    @d-healey yup, that was it! Thanks so much!

  • MIDI Routing - Floating Tile Keyboard Retrigering (strategy help)

    7
    0 Votes
    7 Posts
    609 Views
    F

    @d-healey said in MIDI Routing - Floating Tile Keyboard Retrigering (strategy help):

    Message.ignoreEvent(true);

    This works perfectly! Thank you @d-healey

  • Sampler (if enabled)

    15
    0 Votes
    15 Posts
    946 Views
    ThinkTankT

    @d-healey Thanks!

  • Load impulse responses from external folders

    3
    0 Votes
    3 Posts
    203 Views
    B

    @Casmat Thank you, I'll try that and post the result.

  • Animate panel via MIDI?

    2
    0 Votes
    2 Posts
    209 Views
    LindonL

    @paper_lung said in Animate panel via MIDI?:

    Hi all, does anyone know how to animate a paint routine via MIDI? I want to display an animated panel which shows when notes are triggered in the MIDI processor for one of my modules in the module tree. I've got a few working with LFO's using getCurrentLevel, but unsure if this is possible with MIDI?

    set up your panel to repaint based on some variable, set the variable in the note on...

  • Synth.playNote()

    2
    0 Votes
    2 Posts
    203 Views
    d.healeyD

    @iamlamprey I think with release triggers it will just work like a one shot sample.

  • Scriptnode - External Display Buffer when plugin bypassed

    20
    0 Votes
    20 Posts
    2k Views
    Dan KorneffD

    @Christoph-Hart After doing a bunch of testing, I've found that the magic number appears to be 48.
    When I do the math:

    auto numSamples = (double)getMainController()->getOriginalBufferSize(); auto sampleRate = (double)getMainController()->getOriginalSamplerate(); auto blockLengthSeconds = numSamples / sampleRate; auto deltaForBypassDetection = roundToInt(1000.0 * 48.0 * blockLengthSeconds); buffer = 64 sample rate = 48000 1000 * 48 * blockLengthSeconds = 64

    Is it a coincidence that the magic number is equal to the buffer size of my audio card or that the value is a multiple of my sample rate?

    Now the part that is driving me crazy....
    Even with the increased sampling time, I can get the transport handler to trigger false positives when I move an item on my screen. Check out the console:

    false positive.gif

    It appears to not only be affected by the buffer, but also the way getApproximateMillisecondCounter is being calculated.

  • True Legato Demo Project

    12
    9 Votes
    12 Posts
    1k Views
    d.healeyD

    @ThinkTank Well it's usually 12 up and 12 down per note (and sometimes per dynamic), can't remember what I did in this example project though.

  • MidiFX Plugin issues in Logic Pro X

    27
    0 Votes
    27 Posts
    3k Views
  • Problem with EXPORTING - BUILD FAIL

    5
    0 Votes
    5 Posts
    525 Views
    F

    @d-healey said in Problem with EXPORTING - BUILD FAIL:

    But before using any scripts you should learn to do it manually so that you understand what the script does and can solve problems that arise when using it.

    Definitely will do that. Just a quick question; is there a guide to the process of finishing (compiling, packaging, and licensing) a plugin all though Mac? Even with just bullet points? Just so I know what exactly to look into when doing research.

11

Online

2.0k

Users

12.8k

Topics

111.1k

Posts