[Bug 649969] [audiotestsrc] Add more noise variants

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue May 17 03:05:07 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=649969
  GStreamer | gst-plugins-base | unspecified

--- Comment #3 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2011-05-17 10:05:03 UTC ---
(In reply to comment #1)
> Can we please rename "silence" to "black-noise"?

Seriously?

(In reply to comment #2)
> Is someone going to work on this?

If none else does, I will.
Brownian (Red) Noise: http://vellocet.com/dsp/noise/VRand.html
  // returns brown noise random number in the range -0.5 to 0.5
  //
  inline float brown(void)
  {
    while (true)
    {
      float  r = white();
      m_brown += r;
      if (m_brown<-8.0f || m_brown>8.0f) m_brown -= r;
      else break;
    }
    return m_brown*0.0625f;
  }

Blue should be white-pink and violet should be white-red if I don't overlook
anything (need to verify the spectrum). Have not found anything for gray yet.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list