Help:Audio

Audio uploaded in the MAWiki uses the OGG format. An audio file embedded to a page is accessed by means of the Listen template.

How-tos
The template:Listen has three fields to be filled in: the filename, the songname and the align fields.


 * The filename field is filled with the previously uploaded audio file's name, including its extension.


 * The songname field is filled with the audio file's name that is to be displayed in the article in which the sound file is embedded.


 * The align field is filled with the parameters "left", "none" and "right." As expected, this field aligns the template to the left or to the right of the article in which the audio file is embedded. If the parameter is "none" the template will align itself automatically to the left and introduce a break in the current text.

Example
If you wish to add the file


 * [[image:Lake_Toulout.ogg]]

to any certain page you must type



which will produce

Notice that if we vary the parameter align the template's alignment varies accordingly:



produces

To play audio files on an article:


 * Simply click the "play" button.

Troubleshooting
Other than having a slow connection, there are a number of reasons why the player might not work. Some browsers may not be able to play the sound file because they lack the required plugins. The template's media player may be used by installing Java or the Xiph QuickTime Components. You must download and install QuickTime, if you do not have it already, as well as download and install the XiphQT Components if you prefer QT over Java.

Linux users of should be able to make use of the template by simply installing the PulseAudio sound server package along wih its ESD compatibility layer. Currently, there is an unsolved compatibility issue with the mplayer package.