Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Using Sound in ScreenMonkey 1.7

edited January 2012 in ScreenMonkey General
Just to better document how to use the sound commands.

Version 1.7 of ScreenMonkey introduces built in sound commands in chat. Previously, only the commercial version had sound commands since they were implemented in scripts, which are not supported in Lite.

For best compatibiblity, use .wav files. This is because that is the only common format playable out of the box on all browsers. Firefox does not support .mp3's, for example, and IE does not support .ogg. Ideally you want smallish sound files, since you'll be sending these across the internet to the players whenever the sound is played.

Installing sounds so they are available:

Under the directory where SM is installed, look for the \Campaigns\Default\Sounds directory. If you installed SM into the default directory, the path would look like:

"C:\Program Files\nbos\ScreenMonkey\Campaigns\Default\Sounds"

You'll see several sounds there already if you installed 1.7. Copy any sound files you want to make available in chat into that directory. SM supports .wav, .mp3, and .ogg files. Though as mentioned above, .wav files are most widely supported by browsers.

In chat, you can use the "/listsounds" command. That will show you a list of all the installed sounds.

To play a sound, use the "/sound" command along with the sound to play. such as: "/sound sword.wav". Since .wav is the default format, for wav files you can omit the .wav part, and just type "/sound sword".

You can also play sounds hosted on an external website. To do that, pass the url to the command, such as "/sound http://www.nbos.com/sounds/sword.wav".

In non-IE browsers, the new chat commands are implemented using the new HTML 5 <audio> tags (and related javascript classes). In IE, for various reasons, the sound files are still implemented using <embed> tags.

Leave a Comment