HISE Logo 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 67 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.
    • d.healeyD
      d.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"

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @d.healey
        last edited by d.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

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

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

        17

        Online

        1.7k

        Users

        11.8k

        Topics

        102.5k

        Posts