Animated modulation
-
Hey guys, I'm trying to make a panel in HISE that shows my LFO wave moving in real time. I want it to show the correct shape or speed depending on what the LFO is set to. Has anyone done this before? Any help would be great thanks. for example the global modulation graphic on the script node
-
@Oriah-Beats Use a plotter floating tile
-
@Oriah-Beats Yep, like David said.

-
@dannytaurus Lol, same colours...

-
BTW, did anybody find how to LAF the right-click menu?
-
@ustk drawpopupmenu ?
-
@David-Healey unfortunately no it's not tied to the plotter methods...
-
@David-Healey @dannytaurus @ustk you guys are the best !!
-
@ustk said in Animated modulation:
@David-Healey unfortunately no it's not tied to the plotter methods...
I've got Claude on the case
-
-
@David-Healey Noice!

Have you had a look at the PR count lately?

AI's in the place... -
@ustk said in Animated modulation:
Have you had a look at the PR count lately?
Yes, I'm trying to restrict myself from piling too much on Christoph.
-
@David-Healey Same...
-
@dannytaurus please assist I want the wave to look infinite, no visible start or end point. see my mod

-
@Oriah-Beats Mine is in a panel, where the panel is the actual size I want to see, and the Plotter floating tile is slightly bigger so the L/R edges are cut off by the panel.
Panel = 180x50
Plotter = 182x48The Plotter's 182 width means the left and right edges are cropped. The 48 height stops the top/bottom of the wave being cut off.
-
@dannytaurus Or spare a component by drawing the path in a bigger area
-
@Oriah-Beats that's a smart trick it worked . thank you. so the panel works as a mask
-
@ustk Mine is actually four components, because I'm fussy and the it was the only way I could find how to do it!

My displays have rounded corners, and even though the parent panel crops the plotter waveform by width and height, it still leaks out of the rounded corners.
So, my setup is:
Parent Panel = 180x50 Plotter floating tile = 182x48 at -1, -1 2px background-colour border that covers the corners = 182x52 at -1, -1 1px brand-colour border visible in the UI = 180x50 at 0,0If the contents didn't leak out of rounded corners I wouldn't have to hack it like this.
This GIF of me hiding the various parts might explain:

Not sure if the GIF shows it well, but when I hide the hacky dark border, the waveform leaks out of the rounded corner.
-
Here's a zoomed-in GIF showing the corners leaking without the dark border:

I can't have that in one of my plugins!

-
@dannytaurus I have two ways to treat this in one panel. The first one should be THE way but is broken for so many years, the second is dirty but works nicely:
- Mask -> still broken (I’ve made a quick fix but it still crashes exported plugins)
- a first drawRoundedRectangle larger than the green one, and with thicker line landing precisely on the outer edge of the green one. So you need it thick enough, and compute the precise coordinates, This way it is acting like an outer mask. Then draw the green one normally on the top.