Forum
    • Categories
    • Register
    • Login

    "No valid area for noise map specified" in preset browser laf

    Scheduled Pinned Locked Moved Scripting
    buglook and feelpreset browser
    2 Posts 1 Posters 362 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • David HealeyD
      David Healey
      last edited by

      Trying to add noise to my drawPresetBrowserColumnBackground laf function using g.addNoise() but get the error "No valid area for noise map specified"

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

      David HealeyD 1 Reply Last reply Reply Quote 1
      • David HealeyD
        David Healey @David Healey
        last edited by David Healey

        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

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        1 Reply Last reply Reply Quote 3
        • First post
          Last post

        44

        Online

        2.1k

        Users

        13.0k

        Topics

        112.8k

        Posts