Commit a1d1176c authored by Bruno Coudoin's avatar Bruno Coudoin

instrument activity: new instrument activity by Sylvain Dechy (and reworked /...

instrument activity: new instrument activity by Sylvain Dechy (and reworked / integrated by Bruno.).
parent e7c48afb
......@@ -740,6 +740,9 @@ src/imageid-activity/resources/imageid/Makefile
src/imagename-activity/Makefile
src/imagename-activity/resources/Makefile
src/imagename-activity/resources/imagename/Makefile
src/instruments-activity/Makefile
src/instruments-activity/resources/Makefile
src/instruments-activity/resources/instruments/Makefile
src/leftright-activity/Makefile
src/leftright-activity/resources/Makefile
src/leftright-activity/resources/leftright/Makefile
......
## Process this file with automake to produce Makefile.in
SUBDIRS = \
SUBDIRS = instruments-activity \
administration-activity \
advanced_colors-activity \
algebra_by-activity \
......
SUBDIRS = resources
xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
xml_in_files = \
instruments.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)
# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
# in the file themselves. GCompris pick the translations from the po file at
# runtime.
#
$(xml_DATA): %.xml: %.xml.in
sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@
# Use this directive and instead of the one above to embed the translations
# in the xml files directly, this is needed for the tool gcompris2spip
#@INTLTOOL_XML_RULE@
icondir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
icon_DATA = instruments.svg
EXTRA_DIST = $(icon_DATA) ${xml_in_files} init_path.sh
CLEANFILES = $(xml_DATA)
# Set the different path for this activity
# This is sourced by runit.sh
path=$1
activity=instruments
plugindir=$path/../boards/.libs
pythonplugindir=$path/../findit-activity
resourcedir=$path/resources
section="/discovery/sound_group"
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<GCompris>
<Board
name="instruments"
type="python:findit"
section="/discovery/sound_group"
mode="*"
difficulty="4"
icon="instruments.svg"
author="Sylvain Dechy (syl.1@free.fr)"
boarddir="instruments"
demo="1">
<_title>Music instruments</_title>
<_description>Click on the correct mucical instruments</_description>
<_prerequisite></_prerequisite>
<_goal>Learn to recognize musical instruments.</_goal>
<_manual>Click on the correct instrument.</_manual>
</Board>
</GCompris>
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/instruments
img_DATA = \
activity.desktop \
background.svgz \
accordion.ogg \
accordion.png \
banjo.ogg \
banjo.svg \
bongo.ogg \
bongo.png \
bass_drum.ogg \
bass_drum.svg \
castanets.ogg \
castanets.svg \
cello.ogg \
cello.svg \
clarinet.ogg \
clarinet.svg \
cymbal.ogg \
cymbal.svg \
drum_kit.ogg \
drum_kit.svg \
electric_guitar.ogg \
electric_guitar.svg \
flute_traversiere.ogg \
flute_traversiere.svg \
guitar.ogg \
guitar.svg \
harmonica.ogg \
harmonica.svg \
harp.ogg \
harp.svg \
horn.ogg \
horn.svg \
maracas.ogg \
maracas.svg \
organ.ogg \
organ.png \
piano.ogg \
piano.svg \
saxophone.ogg \
saxophone.svg \
tambourine.ogg \
tambourine.svg \
bass_drum.ogg \
bass_drum.svg \
timpani.ogg \
timpani.svg \
triangle.ogg \
triangle.png \
trombone.ogg \
trombone.svg \
trumpet.ogg \
trumpet.svg \
tuba.ogg \
tuba.svg \
violin.ogg \
violin.svg
# Do not use the INTLTOOL_DESKTOP_RULE, we don't need to embed the translations
# in the file themselves. GCompris pick the translations from the po file at
# runtime.
activity.desktop: activity.desktop.in
sed -e "s/^_//g" $< > $@
EXTRA_DIST = $(img_DATA) activity.desktop.in
CLEANFILES = activity.desktop
drum_kit.ogg: http://www.freesound.org/samplesViewSingle.php?id=29534 Creative Commons Sampling Plus 1.0 License.
all other ogg files are created by Sylvain Dechy musical team and are released under the GPL.
[common]
objectAreaXYWH=110,80,580,240
# If you want a rectangle under the objects
#objectAreaFill=0xCCCCCCAA
#objectAreaStroke=0xFFFF33AA
#objectAreaRadiusX=10
#objectAreaRadiusY=10
#objectAreaLineWidth=2
objectSelectionFill=0xFF000090
objectSelectionStroke=0xFFFFFFCC
objectGap=20
questionColor=0xFFFFFFFF
questionFont=gcompris/board/title bold
# Provide a text color and font to have it being displayed
#textColor=0xFFFFFFFF
#textFont=gcompris/board/big bold
background=background.svgz
questionPosition=400,30
# Translator: Do not translate {text}.
_questionText=Find {text}
questionAudio={audio}
okPosition=680,30
[1]
object1Image=clarinet.svg
_object1Text=the clarinet
object1Audio=instruments/clarinet.ogg
object2Image=flute_traversiere.svg
_object2Text=the flute traversiere
object2Audio=instruments/flute_traversiere.ogg
object3Image=guitar.svg
_object3Text=the guitar
object3Audio=instruments/guitar.ogg
object4Image=harp.svg
_object4Text=the harp
object4Audio=instruments/harp.ogg
[2]
object1Image=piano.svg
_object1Text=the piano
object1Audio=instruments/piano.ogg
object2Image=saxophone.svg
_object2Text=the saxophone
object2Audio=instruments/saxophone.ogg
object3Image=trombone.svg
_object3Text=the trombone
object3Audio=instruments/trombone.ogg
object4Image=trumpet.svg
_object4Text=the trumpet
object4Audio=instruments/trumpet.ogg
object5Image=violin.svg
_object5Text=the violin
object5Audio=instruments/violin.ogg
[3]
object1Image=clarinet.svg
_object1Text=the clarinet
object1Audio=instruments/clarinet.ogg
object2Image=flute_traversiere.svg
_object2Text=the flute traversiere
object2Audio=instruments/flute_traversiere.ogg
object3Image=guitar.svg
_object3Text=the guitar
object3Audio=instruments/guitar.ogg
object4Image=harp.svg
_object4Text=the harp
object4Audio=instruments/harp.ogg
object5Image=piano.svg
_object5Text=the piano
object5Audio=instruments/piano.ogg
object6Image=saxophone.svg
_object6Text=the saxophone
object6Audio=instruments/saxophone.ogg
object7Image=trombone.svg
_object7Text=the trombone
object7Audio=instruments/trombone.ogg
object8Image=trumpet.svg
_object8Text=the trumpet
object8Audio=instruments/trumpet.ogg
[4]
object1Image=violin.svg
_object1Text=the violin
object1Audio=instruments/violin.ogg
object2Image=flute_traversiere.svg
_object2Text=the flute traversiere
object2Audio=instruments/flute_traversiere.ogg
object3Image=guitar.svg
_object3Text=the guitar
object3Audio=instruments/guitar.ogg
object4Image=harp.svg
_object4Text=the harp
object4Audio=instruments/harp.ogg
object5Image=piano.svg
_object5Text=the piano
object5Audio=instruments/piano.ogg
object6Image=saxophone.svg
_object6Text=the saxophone
object6Audio=instruments/saxophone.ogg
object7Image=trombone.svg
_object7Text=the trombone
object7Audio=instruments/trombone.ogg
object8Image=trumpet.svg
_object8Text=the trumpet
object8Audio=instruments/trumpet.ogg
[5]
object1Image=drum_kit.svg
_object1Text=the drum kit
object1Audio=instruments/drum_kit.ogg
object2Image=accordion.png
_object2Text=the accordion
object2Audio=instruments/accordion.ogg
object3Image=banjo.svg
_object3Text=the banjo
object3Audio=instruments/banjo.ogg
object4Image=bongo.png
_object4Text=the bongo
object4Audio=instruments/bongo.ogg
object5Image=electric_guitar.svg
_object5Text=the electric guitar
object5Audio=instruments/electric_guitar.ogg
object6Image=castanets.svg
_object6Text=the castanets
object6Audio=instruments/castanets.ogg
[6]
object1Image=drum_kit.svg
_object1Text=the drum kit
object1Audio=instruments/drum_kit.ogg
object2Image=accordion.png
_object2Text=the accordion
object2Audio=instruments/accordion.ogg
object3Image=banjo.svg
_object3Text=the banjo
object3Audio=instruments/banjo.ogg
object4Image=cymbal.svg
_object4Text=the cymbal
object4Audio=instruments/cymbal.ogg
object5Image=cello.svg
_object5Text=the cello
object5Audio=instruments/cello.ogg
[7]
object1Image=bongo.png
_object1Text=the bongo
object1Audio=instruments/bongo.ogg
object2Image=electric_guitar.svg
_object2Text=the electric guitar
object2Audio=instruments/electric_guitar.ogg
object3Image=harmonica.svg
_object3Text=the harmonica
object3Audio=instruments/harmonica.ogg
object4Image=horn.svg
_object4Text=the horn
object4Audio=instruments/horn.ogg
object5Image=maracas.svg
_object5Text=the maracas
object5Audio=instruments/maracas.ogg
object6Image=organ.png
_object6Text=the organ
object6Audio=instruments/organ.ogg
[8]
object1Image=bass_drum.svg
_object1Text=the bass drum
object1Audio=instruments/bass_drum.ogg
object2Image=timpani.svg
_object2Text=the timpani
object2Audio=instruments/timpani.ogg
object3Image=triangle.png
_object3Text=the triangle
object3Audio=instruments/triangle.ogg
object4Image=horn.svg
_object4Text=the horn
object4Audio=instruments/horn.ogg
object5Image=maracas.svg
_object5Text=the maracas
object5Audio=instruments/maracas.ogg
object6Image=organ.png
_object6Text=the organ
object6Audio=instruments/organ.ogg
[9]
object1Image=bass_drum.svg
_object1Text=the bass drum
object1Audio=instruments/bass_drum.ogg
object2Image=timpani.svg
_object2Text=the timpani
object2Audio=instruments/timpani.ogg
object3Image=triangle.png
_object3Text=the triangle
object3Audio=instruments/triangle.ogg
object4Image=tambourine.svg
_object4Text=the tambourine
object4Audio=instruments/tambourine.ogg
object5Image=tuba.svg
_object5Text=the tuba
object5Audio=instruments/tuba.ogg
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment