[gst-devel] mixing "beeps" in with the main audio stream

Andy Wingo wingo at pobox.com
Mon Sep 9 13:23:06 CEST 2002


On Mon, 09 Sep 2002, Michael Rothwell wrote:

> 
> I am trying to determine the best way to mix short "beep" type sounds 
> with an ongoing stream. These beeps will be for notifications while an 
> MP3, OGG, etc. track is playing. I'll be using gstreamer as the media 
> framework for an appliance-type media player. For instance, click the 
> "up" button on the control, hear a "bloop" noise. Think "TiVo."

Use an adder, and connect filesrc ! afparse ! playondemand to the adder.
Send playondemand a signal when you want things to be played -- see
gst-plugins/gst/playondemand/demo-mp3.c.

regards,

wingo.




More information about the gstreamer-devel mailing list