title: gstreamer : audiosink to output stream of integers representing volume levels
body: <p>I need a gstreamer audio sink that outputs integers that 
  represent volume level of an audio stream. The sampling rate 
  need not be the same as the incoming audio stream, it can be much
  lower, ex.: one value per second would be sufficient.</p>
  
  <p>Does such a sink exist ?</p>
  
  <p>It seems that this one could be modified to do this : </p>
  
  <p><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-volume.html" rel="nofollow">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-volume.html</a></p>
  
  <p>But if something already exists I'd prefer to avoid writing one !</p>