Difference between revisions of "Sounds"

From Mibbit Wiki
Jump to: navigation, search
Line 25: Line 25:
  
 
== Browser compatibility. ==
 
== Browser compatibility. ==
Web browser support for audio playback differs greatly.  The most widely supported format is .wav, if you're often using different browsers yourself or you're configuring a widget then you may choose to stick with this format.  If you're feeling a little more adventurous you can convert your sound to all four formats and let Mibbit choose which to play.  To do this upload all four formats to a web location and make sure they share a common file name, next edit the 'Sound File' entry in Prefs to remove the reference to any file extensionMibbit will automatically identify which formats your browser can play and select the best format.
+
Web browser support for audio playback differs greatly.  The most widely supported format is .wav, if you're often using different browsers yourself or you're configuring a widget then you may choose to stick with this format.   
 +
 
 +
To use your own sounds, pick a file format that can be played in the browsers you use.  Then, upload it to the web somewhere.  Finally, replace the link for the sound with a link to your sound file.  When you link to the file, you can use "http://" "https://" or "//" for the protocol. 
 +
 
 +
If you use "//" for the protocol, Mibbit will replace it with "http://" or "https://" depending on whether you connect to it via [[SSL]] or not.
 +
 
 +
If you're feeling a little more adventurous you can convert your sound to all four allowable formats and Mibbit will play the best one 'automagically', make sure the files share the same name and are stored in the same web locationThis is useful if configuring a Widget and you don't know which browsers your visitors use.
  
 
== Additional information. ==
 
== Additional information. ==
 
The [[splay]] command is also available to use from the chat line by typing '/splay <url to audio file>'
 
The [[splay]] command is also available to use from the chat line by typing '/splay <url to audio file>'

Revision as of 10:31, 25 March 2011

Sounds play on the occurrence of certain events in Mibbit. These include;

  • newpm - receiving a new Private Message
  • ircdisconnect - disconnecting from IRC server
  • mentionednick - your nickname mentioned
  • newmsg - new message received
  • userjoin - a user has joined one or more channel(s) you are in
  • userpart - a user has departed one or more channel(s)


Configuring sounds.

Configuring which sound is played for each event is done through account preferences - prefs. See Fig1. below; Soundprefs.png


To make changes simply replace the existing URL reference with another valid reference to a sound file.

Allowable formats.

Allowable audio file formats include;

 .ogg
 .mp3
 .m4a
 .wav 

Browser compatibility.

Web browser support for audio playback differs greatly. The most widely supported format is .wav, if you're often using different browsers yourself or you're configuring a widget then you may choose to stick with this format.

To use your own sounds, pick a file format that can be played in the browsers you use. Then, upload it to the web somewhere. Finally, replace the link for the sound with a link to your sound file. When you link to the file, you can use "http://" "https://" or "//" for the protocol.

If you use "//" for the protocol, Mibbit will replace it with "http://" or "https://" depending on whether you connect to it via SSL or not.

If you're feeling a little more adventurous you can convert your sound to all four allowable formats and Mibbit will play the best one 'automagically', make sure the files share the same name and are stored in the same web location. This is useful if configuring a Widget and you don't know which browsers your visitors use.

Additional information.

The splay command is also available to use from the chat line by typing '/splay <url to audio file>'