Sounds for XMPP and IRC

Luke Schierer lschiere at
Tue Feb 12 14:42:25 EST 2008

I do not know of one, but it really ought not to be hard.  You could  
hackishly do it in either C or perl with system() calls to play your  
sounds, or you could do it more correctly by linking against gstreamer  
and using it to play the sounds.

Either way, you'd listen on the message received signals, and search  
them for your magic strings, and then play the corresponding sound if  

You would probably also want to use the plugin preference calls to set  
up an interface to configure the strings and sounds with.  for what  
such a gui might look like, you could look at the spelling plugin we  
ship (I forget its name right now).  You'd naturally want to have a  
sound selector instead of a replacement string, but its an idea to  
start from.


On Feb 12, 2008, at 14:38 EST, Matt Heidsick wrote:

> Does a plugin exist for this already? If not, how easily could one  
> be written ?
> Thanks,
> Matt
> Luke Schierer wrote:
>> On Feb 12, 2008, at 13:17 EST, Matt Heidsick wrote:
>>> Luke,
>>> Thanks for your fast reply. Trillian allows for sounds in IRC chat  
>>> room.
>>> So as an example, if I use their little dog icon, or post (&) in the
>>> chat, it triggers a woof.wav to be played on every local machine  
>>> that is
>>> logged into that chat room, (@) triggers a meow.wav and so on.
>>> Currently I have no options of using a specific sound for  
>>> notifications
>>> of this sort within IRC.
>>> Hope that explains a bit more in detail.
>>> Thanks,
>>> Matt
>> I see.  A plugin could do that pretty easily, but no mechanism  
>> exists in Pidgin or finch to do that right now.
>> luke

More information about the Devel mailing list