"No valid area for noise map specified" in preset browser laf
-
Trying to add noise to my
drawPresetBrowserColumnBackground
laf function using g.addNoise() but get the error "No valid area for noise map specified" -
I just went to the source to look into making an
addNoiseToArea
function and what do I find but sneaky undocumented HISE goodness.You can pass an object to
g.addNoise
!g.addNoise({alpha: 1.0, scaleFactor: 1.0, area: obj.area, monochromatic: true});
alpha = noiseAmount