[gstreamer-bugs] [Bug 396057] New: [audiofx] New audioinvert element

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Jan 13 03:12:56 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=396057

  GStreamer | gst-plugins-good | Ver: HEAD CVS

           Summary: [audiofx] New audioinvert element
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: slomo at ubuntu.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,
attached are patches against plugins-good CVS that add a audioinvert element to
audiofx, adds unit tests and docs.

audioinvert swaps the upper and lower half of audio samples. There's a degree
property to set the degree of inversion. 0 is passthrough, 0.5 creates silence,
1.0 gives completely inverted samples.

Mixing an inverted sample on top ofthe original with a slight delay can produce
effects that sound like resonance. Creating a stereo sample from a mono source,
with one channel inverted produces wide-stereo sounds.

The method to calculate the samples is (in the float case):
sample = sample*(1-degree) + (-sample) * degree

Bye


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list