audiovisualizers: doc-blob and comment updates

This commit is contained in:
Stefan Kost 2011-06-04 14:37:04 +03:00
parent 8b1b28dbc0
commit 0fd078f156
3 changed files with 9 additions and 5 deletions

View file

@ -20,7 +20,10 @@
/** /**
* SECTION:gstbaseaudiovisualizer * SECTION:gstbaseaudiovisualizer
* *
* A basclass for scopes. Takes care of re-fitting the audio-rate to video-rate. * A basclass for scopes. It takes care of re-fitting the audio-rate to
* video-rate. It also provides several background shading effects. These
* effects are applied to a previous picture before the render() implementation
* can draw a new frame.
*/ */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H

View file

@ -21,8 +21,8 @@
* SECTION:element-spectrascope * SECTION:element-spectrascope
* @see_also: goom * @see_also: goom
* *
* Wavescope is a simple audio visualisation element. It renders the waveforms * Spectrascope is a simple spectrum visualisation element. It renders the
* like on an oscilloscope. * frequency spectrum as a series of bars.
* *
* <refsect2> * <refsect2>
* <title>Example launch line</title> * <title>Example launch line</title>

View file

@ -21,8 +21,8 @@
* SECTION:element-synaescope * SECTION:element-synaescope
* @see_also: goom * @see_also: goom
* *
* Wavescope is a simple audio visualisation element. It renders the waveforms * Synaescope is an audio visualisation element. It analyzes frequencies and
* like on an oscilloscope. * out-of phase properties of audio and draws this as clouds of stars.
* *
* <refsect2> * <refsect2>
* <title>Example launch line</title> * <title>Example launch line</title>
@ -248,6 +248,7 @@ gst_synae_scope_render (GstBaseAudioVisualizer * bscope, GstBuffer * audio,
r = sqrt (frr * frr + fir * fir); r = sqrt (frr * frr + fir * fir);
fc = r + l; fc = r + l;
/* out-of-phase'ness for this frequency component */
clarity = (gint) (((frl + frr) * (frl - frr) + (fil + fir) * (fil - fir)) / clarity = (gint) (((frl + frr) * (frl - frr) + (fil + fir) * (fil - fir)) /
(((frl + frr) * (frl + frr) + (fil - fir) * (fil - fir) + (frl - (((frl + frr) * (frl + frr) + (fil - fir) * (fil - fir) + (frl -
frr) * (frl - frr) + (fil + fir) * (fil + fir)) * 256.0)); frr) * (frl - frr) + (fil + fir) * (fil + fir)) * 256.0));