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 319 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"

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

      d.healeyD 1 Reply Last reply Reply Quote 1
      • 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

        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

        15

        Online

        2.0k

        Users

        12.7k

        Topics

        110.4k

        Posts