Actions

Voices translation

From GCompris

Get the voices

From the source code

git clone git@github.com:bdoin/GCompris-voices.git

Online

Alternatively, you can browse the voices online from the gnome git [1].

Create your voices directory

First copy the English voices as a template in a new directory with you locale name (e.g. my):

cd GCompris-voices
cp -r en my

Provide here voice translation in boards/voices/my for each English voice.

Recording / Encoding

It is best to choose somebody that speaks and articulate well your language (a teacher is a good candidate).

  • You can make the recording with audacity. It is mandatory to use mono wav 16bit/44100Hz to get the best quality/size ratio and because this works for any sound card.
  • Save as WAV file
  • Apply loudness transform with sox if necessary. You may use a script like this if the sound is too low:
#!/bin/sh
mkdir modif
for i in *.wav; do
  sox $i -r 44100 -b 16 modif/$i norm
done
  • Remove noises if necessary:
mkdir as_wav
cd as_wav
oggdec ../*.ogg
mkdir filtered_wav
cd filtered_wav
for f in ../*.wav; do
  rm -f speech.noise-profile
  sox $f -n trim 0 0.2 noiseprof speech.noise-profile
  sox $f $(basename $f) noisered speech.noise-profile 0.3
done
  • In the directory where WAV files are run:
oggenc -q0 --downmix -a "(name of author)" -t "GCompris" -d "date of recording (YYYY/MM/DD)" -c "copyright=GPL V3+" *.wav

The ogginfo command should display the comment.

The last stage is to pass the tool normalize-ogg to make all the sound having a standardized volume level.

  • Copy OGG files in the corresponding directory

Alphabet

The English alphabet directory contains files named U0030.ogg. These are the voices for each single letter in your locale with a UTF-8 Unicode notation. For example, U+0030 is the character 0, and U+0069 is the character i. You can get the table for each subset.

Lang word list

The lang activity contains a set of about 1000 images originaly comming from the art4apps project and are released under CC-BY-SA. In order to make it available in your language, you must provide a voice recording of each words and an UTF-8 encoded file named content.txt that contains the translation of each word as spoken in the ogg file. The ogg files and the content.txt are in the directory boards/voices/<locale>/words. If your language has genders it is a good idea to enter them in the recording and the content.txt file.

You can view the list of words in the voices branch and the english content.txt. You can see on a single page the images and their english name.

Shipping

Once done, the easiest way is to tar all this files and send them to the GCompris maintainer.

cd boards/voices
tar -cvzf voices_my.tgz my

Integration

Nothing has to be done, just run 'make install' at GCompris to level. The voices will be installed in the proper directory and GCompris will play them. Run GCompris in your locale and you should hear your voices.

Checking

At top level, run:

./tools/check_missing_voices.pl <locale>

With for example locale being fr for French.

Introduction Voice Set

This is a new voice set that has been added to GCompris. If present, it will give a brief explanation of the activity when the child enters it. Here is the English version that needs to be recorded in your language.

file section voice
2clic.ogg /computer/mouse/erase_2clic Double click on the bricks to discover the hidden picture
advanced_colors.ogg /discovery/colors_group/advanced_colors Click on the required colour
algebra_by.ogg /math/algebramenu/algebra_group/algebra_by NOT NEEDED
algebra_guesscount.ogg /math/algebramenu/algebra_guesscount Use the number and operations suggested to find the results proposed above.
algebra_minus.ogg /math/algebramenu/algebra_group/algebra_minus NOT NEEDED
algebra_plus.ogg /math/algebramenu/algebra_group/algebra_plus NOT NEEDED
algorithm.ogg /discovery/miscelaneous/algorithm Click on the missing items on the table and follow the logical chain displayed above.
algrebra_by.ogg /math/algebramenu/algrebra_group/algrebra_by Multiply the two numbers together and type in your answer before the balloon lands in the water
algrebra_minus.ogg /math/algebramenu/algrebra_group/algrebra_minus Subtract the two numbers and type in your answer before the balloon lands in the water
algrebra_plus.ogg /math/algebramenu/algrebra_group/algrebra_plus Add the two numbers together and type in your answer before the balloon lands in the water
anim.ogg /fun/anim Use the toolbar to create your own pictures.
awele.ogg /strategy/awele Click on a box number to collect the seeds you'll have to deal from a box to the following boxes. Read the help boxto get the game instructions.
babymatch.ogg /discovery/miscelaneous/babymatch Use the mouse to drag and drop the objects matching the pictures
babyshapes.ogg /discovery/miscelaneous/babyshapes Use the mouse to drag and drop the objects matching the shapes
ballcatch.ogg /computer/keyboard/ballcatch Press the two shift keys at the same time to send the ball straight on
bargame.ogg /strategy/bargame Click the number of balls you wish to place in the holes and then click the OK button. The winner is the one who hasn't put a ball in the red hole.
billard.ogg /fun/billard Point the mouse and click on the ball to set its speed and direction. The closer you click to the centre, the slower the ball will move.
braille_alphabets.ogg /discovery/braille/braille_alphabets Click on Tux to start and then re-create the Braille cells
braille_fun.ogg /discovery/braille/braille_fun Create the Braille cell for the falling letter
braille_lotto.ogg /discovery/braille/braille_lotto Click to generate a number and see if it is on your card
canal_lock.ogg /experience/canal_lock You are responsible for the lock and you must help Tux pass through. Click on the small valves to cause either a drop or an increase in the water level.
chat.ogg /fun/chat Thanks to the local network, type your message on your keyboard and press the entry button, it will appear on the screens of other Gcompris' users.
chess_computer.ogg /strategy/chess/chess_computer Practice your chess skills against the computer. Click on a chess piece and green boxes will appear to show all the movements that piece can make
chess_partyend.ogg /strategy/chess/chess_partyend Click on a white chess piece and green boxes will appear to indicate all the movements that piece can make. Try and get the black King into Checkmate.
chronos.ogg /discovery/miscelaneous/chronos Use the mouse to catch and drag the pictures to put them in order
click_on_letter.ogg /reading/click_on_letter Click on the required letter. You can listen to it again by clicking on the mouth.
click_on_letter_up.ogg /reading/click_on_letter_up LINK TO click_on_letter
clickanddraw.ogg /computer/mouse/clickanddraw Click on the blue points and draw
clickgame.ogg /computer/mouse/clickgame Click on the fish with the left mouse button before they leave the aquarium
clockgame.ogg /discovery/miscelaneous/clockgame Use the mouse to drag and drop the needles of the clock and display the required time
color_mix.ogg /discovery/colors_group/color_mix Match the colour by moving the sliders on the tubes of paint
color_mix_light.ogg /discovery/colors_group/color_mix_light Match the colour by moving the sliders on the torches
colors.ogg /discovery/colors_group/colors Click on the right colour
connect4-2players.ogg /strategy/connect4-2players Click on the column where you wish your token to fall and try and make a line of 4 tokens to win.
connect4.ogg /strategy/connect4 Click on the column where you wish your token to fall and try and make a line of 4 tokens to win.
crane.ogg /puzzle/crane Click on each item in turn in the left frame and move them with the arrow keys to mirror their position in the right frame.
details.ogg /discovery/miscellaneous/details Click on an image from the left hand side and drag it onto the main picture.
doubleentry.ogg /discovery/miscelaneous/doubleentry Use the mouse to drag and drop the number of objects to fill the board correctly
draw.ogg /math/geometry/draw Use the toolbar to create your own pictures.
drawnumber.ogg /math/numeration/drawnumber Draw the picture by clicking on each number in the right order.
electric.ogg /experience/electric Put electric components in the workspace. Create connections by clicking on a point and dragging the line to a second point.
enumerate.ogg /math/numeration/enumerate Count the elements by organising them then type the answer on your keyboard.
erase.ogg /computer/mouse/erase Clear the window with your sponge and discover the hidden picture
erase_clic.ogg /computer/mouse/erase_clic Click on the transparent bricks and discover the hidden picture
explore_farm_animals.ogg /discovery/sound_group/explore_farm_animals Learn about farmyard animals and the noises that they make.
explore_world_animals.ogg /discovery/miscenaleous/explore_world_animals Learn about world animals and locate them on a map.
explore_world_music.ogg /discovery/sound_group/explore_world_music Click on the suitcases to learn about music from around the world.
fifteen.ogg /puzzle/fifteen Click on an element next to a free space, the element will move and release its space. You must put all the elements into numerical order.
followline.ogg /computer/mouse/followline Move the mouse along the pipe to water the flowers
geo_country.ogg /discovery/miscelaneous/geo_country Use the mouse to drag and drop the local regions to complete the country maps.
geography.ogg /discovery/miscelaneous/geography Use the mouse to drag and drop the objects and reconstitute the map
gletters.ogg /computer/keyboard/gletters Type the letters on your keyboard before they reach the ground
gnumch-equality.ogg /math/algebramenu/gnumchmenu/gnumch-equality Guide the number eater with the arrow keys to the required numbers and press the space bar to swallow them.
gnumch-factors.ogg /math/algebramenu/gnumchmenu/gnumch-factors Guide the number eater with the arrow keys to the factors of the displayed number and press space to swallow them.
gnumch-inequality.ogg /math/algebramenu/gnumchmenu/gnumch-inequality Guide the number eater with the arrow keys to the numbers that are different from the ones displayed and press the space bar to swallow them.
gnumch-multiples.ogg /math/algebramenu/gnumchmenu/gnumch-multiples Guide the number eater with the arrow keys to the multiples of the displayed number and press space to swallow them.
gnumch-primes.ogg /math/algebramenu/gnumchmenu/gnumch-primes Guide the number eater with the arrow keys to the prime numbers and press space to swallow them.
guessnumber.ogg /math/numeration/guessnumber Find out the number by typing a number from the range proposed and click on the thumb to validate your answer.
hangman.ogg /reading/hangman A word is hidden, you must discover it letter by letter.
hanoi.ogg /puzzle/hanoi Rebuild the same tower in the empty area as the one you see on the right hand side.
hanoi_real.ogg /puzzle/hanoi_real Rebuild the model tower on the right support. Take care, no disc may be placed atop a smaller disc.
hexagon.ogg /fun/hexagon Click on the hexagons to find the hidden object, the red zone indicates that you're close to it !
hydroelectric.ogg /experience/hydroelectric Click on the different stages that go to make up the power supply.
imageid.ogg /reading/imageid Click on the word matching the picture
imagename.ogg /reading/imagename Drag and drop each item above its name.
instruments.ogg /discovery/sound_group/instruments Click on the correct musical instrument.
intro_gravity.ogg /experience/intro_gravity Change the planets' gravitational force by moving the sliders up and down. Becareful not to crash Tux's spaceship.
land_safe.ogg /experience/land_safe Use the arrow keys to pilot your spaceship safely onto the landing pad.
lang-nature.ogg /reading/lang/lang-nature Select the language you want to learn then review the words before doing the exercises.
lang-object.ogg /reading/lang/lang-object LINK TO lang-nature
lang-other.ogg /reading/lang/lang-other LINK TO lang-nature
lang-people.ogg /reading/lang/lang-people LINK TO lang-nature
leftright.ogg /discovery/miscelaneous/leftright Guess if the picture presents a left or right hand and click on the correct answer
lightsoff.ogg /puzzle/lightsoff Click on the lamps to turn them off.
louis_braille.ogg /discovery/braille/louis_braille Discover the history behind Louis Braille
magic_hat_minus.ogg /math/numeration/magic_hat_minus Click on the hat. How many stars are still hiding under the hat.
magic_hat_plus.ogg /math/numeration/magic_hat_plus Count the number of stars hidden under the hat and then click on the stars to indicate their number.
maze.ogg /discovery/mazeMenu/maze Use the arrows on your keyboard to find your way out
maze2DRelative.ogg /discovery/mazeMenu/maze2DRelative Help Tux find his way out. Use the Up arrow to go forwards, the other arrows to turn.
maze3D.ogg /discovery/mazeMenu/maze3D Help Tux find his way out by using the arrow keys. Use the space key to see the map.
mazeInvisible.ogg /discovery/mazeMenu/mazeInvisible Use the arrow keys to guide Tux out. Use the space key to see the map.
melody.ogg /discovery/sound_group/melody Click on the objects and reproduce the melody.
memory.ogg /discovery/memory_group/memory Click on a card and find its double
memory_add.ogg /math/algebramenu/memory_op_group/memory_add Turn over two cards to match the calculation with its answer.
memory_add_minus.ogg /math/algebramenu/memory_op_group/memory_add_minus LINK TO memory_add
memory_add_minus_mult_div.ogg /math/algebramenu/memory_op_group/memory_add_minus_mult_div LINK TO memory_add
memory_add_minus_mult_div_tux.ogg /math/algebramenu/memory_op_group_tux/memory_add_minus_mult_div_tux Compete against Tux and find the cards that go together, one containing an operation and the other its solution.
memory_add_minus_tux.ogg /math/algebramenu/memory_op_group_tux/memory_add_minus_tux LINK TO memory_add_minus_mult_div_tux
memory_add_tux.ogg /math/algebramenu/memory_op_group_tux/memory_add_tux LINK TO memory_add_minus_mult_div_tux
memory_div.ogg /math/algebramenu/memory_op_group/memory_div LINK TO memory_add
memory_div_tux.ogg /math/algebramenu/memory_op_group_tux/memory_div_tux LINK TO memory_add_minus_mult_div_tux
memory_enumerate.ogg /math/numeration/memory_enumerate Match a number card with a card displaying the same number of butterflies.
memory_minus.ogg /math/algebramenu/memory_op_group/memory_minus LINK TO memory_add
memory_minus_tux.ogg /math/algebramenu/memory_op_group_tux/memory_minus_tux LINK TO memory_add_minus_mult_div_tux
memory_mult.ogg /math/algebramenu/memory_op_group/memory_mult LINK TO memory_add
memory_mult_div.ogg /math/algebramenu/memory_op_group/memory_mult_div LINK TO memory_add
memory_mult_div_tux.ogg /math/algebramenu/memory_op_group_tux/memory_mult_div_tux LINK TO memory_add_minus_mult_div_tux
memory_mult_tux.ogg /math/algebramenu/memory_op_group_tux/memory_mult_tux LINK TO memory_add_minus_mult_div_tux
memory_sound.ogg /discovery/memory_group/memory_sound Click on an audio card and find its double
memory_sound_tux.ogg /discovery/memory_group/memory_sound_tux Click on a Tux card, listen and try and find its double
memory_tux.ogg /discovery/memory_group/memory_tux Take turns competing against Tux by clicking on a card and finding its double
memory_wordnumber.ogg /reading/memory_wordnumber Match the numeric with the word.
missing_letter.ogg /reading/missing_letter Find the missing letter and complete the word by clicking on one of the letters proposed on the side.
mining.ogg /computer/mouse/mining Looking at the rockwall, you can see a sparkle somewhere. Move the mouse cursor next to this sparkle and use the mousewheel to zoom in.
money.ogg /math/numeration/money_group/money Click on the money to pay.
money_back.ogg /math/numeration/money_group/money_back Click on the money at the bottom of the screen to give Tux his change.
money_back_cents.ogg /math/numeration/money_group/money_back_cents LINK TO money_back
money_cents.ogg /math/numeration/money_group/money_cents LINK TO money
mosaic.ogg /discovery/colors_group/mosaic Click on the correct colours to build the same mosaic
movelearn.ogg /strategy/chess/chess_movelearn Practice your chess skills by completing the game. Click on a chess piece and green boxes will appear to show all the movements that piece can make
note_names.ogg /discovery/sound_group/note_names Listen to the note and click on its name.
paintings.ogg /puzzle/paintings Catch and drop each piece on the points.
paratrooper.ogg /experience/paratrooper Click on the plane to make Tux jump and land on the boat. Click on Tux to open the parachute. The cloud indicates the speed of the wind.
penalty.ogg /computer/mouse/penalty Double click on the ball to shoot it.
photohunter.ogg /puzzle/photohunter Look at the two pictures carefully and click where you see a difference.
piano_composition.ogg /discovery/sound_group/piano_composition Create your own musical score by clicking on the piano keys.
place_your_satellite.ogg /experience/place_your_satellite Click to place your satellite above the earth. Draw a line from the satellite to set its speed. Too fast and it will escape orbit, too slow and it will crash
planegame.ogg /math/numeration/planegame Move the helicopter with the arrow keys and catch the number in the clouds in numerical order.
play_piano.ogg /discovery/sound_group/play_piano Click on the keyboard keys that match the notes that you see and hear.
play_rhythm.ogg /discovery/sound_group/play_rhythm Click the drum to re-create the rhythm.
railroad.ogg /discovery/memory_group/railroad Observe the train and then click on the items to set up a similar train
readingh.ogg /reading/readingh LINK TO readingv
readingv.ogg /reading/readingv Make a note of the word in blue in the top right window. If that word appears in the list on the left hand side click "Yes I saw it" or "No" if you didn't.
redraw.ogg /math/geometry/redraw Use the drawing tools to reproduce a symmetrical figure on the right hand side.
redraw_symmetrical.ogg /math/geometry/redraw_symmetrical Use the drawing tools to reproduce the right-hand side symmetrical figure
reversecount.ogg /math/numeration/reversecount Click on the dice and thumb to indicate the number of ice blocks Tux will have to follow to eat a fish.
scalesboard.ogg /math/algebramenu/scalesboard Drag the weights up to balance the scales.
scalesboard_weight.ogg /math/algebramenu/scalesboard_weight LINK TO scalesboard.ogg
searace.ogg /experience/searace Type in your commands to get your boat to the other side before your opponent.
searace1player.ogg /experience/searace1player You are the red boat. Type in your commands to get your boat to the other side before the green boat beats you.
smallnumbers.ogg /computer/keyboard/smallnumbers Count the number on your dice and type it on your keyboard before it reaches the ground
smallnumbers2.ogg /math/numeration/smallnumbers2 Count the number of the points on the dice then type the result on your keyboard.
submarine.ogg /experience/submarine Use the valves and planes to navigate your submarine. Avoid the ships on the surface by diving down to pick up the crown which will open the gate to take you to the next level.
sudoku.ogg /puzzle/sudoku For the first levels, select a symbol and click its target area, for the following levels, type a number in each area. Each symbol must appear only once in a row, in a column and in a subregion if any.
superbrain.ogg /puzzle/superbrain Find out the right combination of colours by clicking on the dots at the bottom of the screen. A black pin means you found the correct colour in the correct position, a white pin means it's the correct colour but in the wrong position.
tangram.ogg /puzzle/tangram Click on each object to obtain the same figure. You can change their orientation by clicking on the arrows.
target.ogg /math/algebramenu/target Click on the target to launch darts, take notice of the speed of the wind!
traffic.ogg /puzzle/traffic Slide the cars to make a space so that the red car can go out of the box.
watercycle.ogg /experience/watercycle Click on the various active elements that make up the water supply. Then press the shower button for Tux.
wordprocessor.ogg /fun/wordprocessor Compose your own documents by typing the text on the keyboard and use the stylistic tools proposed on the left.
wordsgame.ogg /computer/keyboard/wordsgame Type the words on your keyboard before they reach the ground