Category talk:Pronunciation

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Does exist any template for the description of Pronunciation files? See for example template:English spoken article. -- Andrew Krizhanovsky (talk) 22:24, 23 January 2010 (UTC)

No, there is no need for something like this, pronunciation files have very simple description. See File:En-uk-I can't.ogg and File:Pl-trzysta.ogg on how to write the description correctly. Please remember about the proper naming of the file including language ISO code. --Derbeth talk 18:53, 25 January 2010 (UTC)
Ok. Thank you. -- Andrew Krizhanovsky (talk) 09:41, 26 January 2010 (UTC)

Simple how-to[edit]

Here's how to record a bunch of words on a Ubuntu Linux platform. Use 'synaptic' or 'apt-get' to install the necessary software packages, such as 'alsa-utils' and 'sox'. Compile a list of words that you want to record.

while read word
  echo $word
  arecord -r 100000 -d 4 $lang-$word.wav
  sox $lang-$word.wav $lang-$word.ogg norm vad -p .25 reverse vad -p .25  reverse

Here, "sv" (Swedish) is set as the language, which will be used as a filename prefix. "echo" prints the word as a prompt. "arecord" records four seconds of audio in 100 kbit/s, including any initial and trailing silence, so you don't have to press any key to start and stop the recording. "sox" then converts the recorded wav file to the free and open Ogg Vorbis format, but first it normalizes the sound level, truncates initial and trailing silence, but keeping .25 seconds of silence margin. --LA2 (talk) 01:28, 15 March 2013 (UTC)