1
3rd Party Plugins - (fb2k) / Re: foo_vis_spectrum_analyzer
Last post by Defender -Also the peak visualization bars go hidden here half the time (I have them moving horizontally from left to right). When I was playing stereo file, the right channel bar went invisible. I had to tweak the height of the UI element to make it visible. Then I played a mono file and now the size was incorrect for that size and it's invisible.It's a render bug caused by Direct2D or the driver. I thought I had solved it with the optimized calculations because I could no longer reproduce the bug here (after updating the GPU driver). It has to do with drawing the LED bitmap on odd coordinates. The filled rectangles don't have this problem, AFAIK.
I don't think the bars should go invisible under any circumstances.
I did a lot of testing this.
Horizontal peakmeter has this issue only for the bottom bar. Vertical peakmeter has the same issue for the left bar.
As you said ... does not happen when using gradient (eg no leds). Also does not happen when you display both legends on top and bottom of horizontal peakmeter (or to the left and right of vertical peakmeter).
So the issue is only when having 0 or 1 legend along the bar and you are using leds.
When this bar disappears the the Peak indicator for this disappeared bar is still shown correctly .
Easy to reproduce. Take a mono source or apply a DSP downmix to 1.0. Use only one legend on a horizontal peakmeter that has
LED mode enabled (add Peak indicator for reference).
If you allot a panel with a height of anything within 42 and 54 pixel's you will not see the mono bar at all, but you will see the Peakmeter indicator.
So you simply cannot display a mono channel PeakMeter using LED's and one legend.
The moment you change to gradients instead LEDS or display the second legend the PeakMeter appears.