Wiktionary:Audio

From Wiktionary, the free dictionary
(Redirected from Wiktionary:Audio files)
Jump to navigation Jump to search

Template for audio files

[edit]

Template:audio links to an audio file for quick listening. It is meant to be used inline with text, for pronunciations and the like. To apply it in an article use the following:

{{Audio|<name of sound file>|<text to use as link to soundfile>|lang=<language code>}}

For instance, {{audio|En-us-Bhojpuri.ogg|Bhojpuri|lang=en}}is rendered to something like this:

Bhojpuri:(file)

This template was adapted from a similar one on Wikipedia.

Region codes

[edit]

The region codes are optional (i.e. -us- and -uk-). It depends on what you've done with the file. If the pronunciations are significantly different, then it would be prudent to put -us- or -uk- in the name of the file when you upload it.

Sound pronunciation

[edit]

Are there any articles with sound pronunciation for the word? Is it possible for myself to record and submit a word pronunciation?

Yes; any article on this list (of articles that reference Template:audio) has a pronunciation; given the poor state of the links table lately there's probably a lot more. (There are not too many yet though, as the enthusiasm for this is still new). It's possible for anyone to record and submit pronunciations of words, but don't upload them here: they belong on commons: so all the wiktionaries can use them. For details see Commons:Pronunciation files requests.

How to help

[edit]

If you have a microphone and a copy of Audacity or any other free ".ogg" recording software, please consider uploading your pronunciation to Commons. Remember that the default installation of Audacity has the input volume set to about 20%. Most contributors here have had to change that to 100% to get useful recordings. See Wikipedia for other helpful software options.

Filenames should be the ISO 639 language code (see Wiktionary:Wikimedia language codes), a hyphen, a region code (e.g. "us", "uk", or "au"), another hyphen, the word being pronounced, and ".ogg" as the extension. For example, the file for the US pronunciation of schedule would be "en-us-schedule.ogg", and for the UK "en-uk-schedule.ogg". For heteronyms (homographs with different pronunciations), e.g. lead (be the leader of a group) vs. lead (the metal), we usually tack on the part of speech, for example "en-lead-noun.ogg".

When uploading to commons, remember to add "[[Category:U.S. English pronunciation]]" or "[[Category:British English pronunciation]]" (or whatever country and without the quotation marks) to the file description. Note that commons will now call the file "Image:En-us-Wiktionary.ogg", by capitalizing the first letter and then prefixing with "Image:". Once the file is uploaded on commons satisfactorily, the Wiktionary word should be linked to it by removing "{{rfap}}" and adding in "{{audio|en-us-{{subst:PAGENAME}}.ogg|Audio (US)}}". Replace "us" and "US" with the appropriate region. Please preview before saving!

Thanks for helping!