Subversion Repositories wimsdev

Rev

Rev 13477 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13477 Rev 13714
Line 1... Line 1...
1
type=imaudio
1
type=imaudio
2
textarea="data"
2
textarea="instruction data"
-
 
3
iEdit="instruction"
3
 
4
 
4
:Choisir parmi des étiquettes le mot entendu (enregistrements à fournir).
5
:Choose from the labels the word heard (records to be provided).
5
 
6
 
6
Un audio est proposé et le texte doit être choisi par des étiquettes. Les audio sont
7
<p>A sound is proposed and the correspondig label must be chosen.
7
pris parmi la base d'audio de mots enregistrés de WIMS. Si l'exercice est dans une classe,
8
  The sound is taken from the WIMS recorded word audio database.
8
avec une adapatation, il peut être utilisé avec des audios mis dans la classe.
9
  If the exercise is in a class, it can be used with audios put in this class.
9
<p>
-
 
10
Pour construire un exercice avec ce modèle, il suffit de taper la liste de
-
 
11
mots ainsi que le nom de l'enregistrement (à charger dans l'exercice).
-
 
12
</p><p>
10
</p><p>
-
 
11
To build an exercise with this model,
-
 
12
 simply type the word list and the name of the record
-
 
13
 (to be loaded in the exercise).
-
 
14
</p><p>
13
Pour plus de possibilités, utiliser Quicktool.
15
For more possibilities, use Quicktool.
14
</p><p class="wims_credits">
16
</p><p class="wims_credits">
15
Author of the model: Bernadette Perrin-Riou <bpr@math.u-psud.fr>
17
Author of the model: Bernadette Perrin-Riou <bpr@math.u-psud.fr>
16
</p>
18
</p>
-
 
19
 
17
:%%%%%%%%%%%%%%%%%      ATTENTION      %%%%%%%%%%%%%%%%%%%%
20
:%%%%%%%%%%%%%%%%%      ATTENTION      %%%%%%%%%%%%%%%%%%%%
18
 
21
 
19
Remove the above header if you destroy the model tags! (The lines starting
22
Remove the above header if you destroy the model tags! (The lines starting
20
with a ':'.) Otherwise the exercise might not be taken back by Createxo.
23
with a ':'.) Otherwise the exercise might not be taken back by Createxo.
21
 
24
 
22
:%%%%%%%% Sample parameters to be redefined %%%%%%%%%%%%%%%%%
25
:%%%%%%%% Sample parameters to be redefined %%%%%%%%%%%%%%%%%
23
 
26
 
24
 
27
 
25
:\title{Écouter et reconnaître II}
28
:\title{Listen and recognize II}
26
:\author{Bernadette, Perrin-Riou}
29
:\author{Bernadette, Perrin-Riou}
27
:\email{bpr@math.u-psud.fr}
30
:\email{bpr@math.u-psud.fr}
28
:\credits{}
31
:\credits{}
29
 
32
 
30
:Instructions
33
:Instructions
31
\text{instruction=Clique sur le mot entendu.}
34
\text{instruction=Click on the word heard.}
32
 
35
 
33
:Liste d'audio et de mots
36
:List of audio and words
34
\text{data = nom_audio1,doctor
37
\text{data = name_audio1,doctor
35
nom_audio2,teacher
38
name_audio2,teacher
36
nom_audio3,journalist}
39
name_audio3,journalist}
37
 
40
 
38
:Nombre de perturbateurs.
41
:Number of disrupters
39
\integer{cntpertub=3}
42
\integer{cntpertub=3}
-
 
43
 
40
:La taille verticale des cases en pixels.
44
:Height of the boxes (in pixels)
41
\integer{sizev=200}
45
\integer{sizev=200}
42
 
46
 
43
:La taille horizontale des cases à gauche en pixels.
47
:Width of the boxes on the left (in pixels)
44
\integer{sizel=20}
48
\integer{sizel=20}
45
 
49
 
46
:%%%%%%%%%%%%% Now the statement in HTML. %%%%%%%%%%%%%%%%%%%%
50
:%%%%%%%%%%%%% Now the statement in HTML. %%%%%%%%%%%%%%%%%%%%
47
 
51
 
48
\text{cnt=rows(\data)}
52
\text{cnt=rows(\data)}
49
\text{N=shuffle(\cnt)}
53
\text{N=shuffle(\cnt)}
50
\text{mot=row(\N[1],\data)}
54
\text{mot=row(\N[1],\data)}
Line 53... Line 57...
53
\matrix{data=\data}
57
\matrix{data=\data}
54
\text{perturb=\data[\perturb;2]}
58
\text{perturb=\data[\perturb;2]}
55
\text{size=\sizev[]x\sizel[]}
59
\text{size=\sizev[]x\sizel[]}
56
 
60
 
57
\statement{
61
\statement{
58
\instruction
62
  <div class="instruction">\instruction</div>
59
<div class="wimscenter">
63
  <div class="wimscenter">
60
\audio{\imagedir/\mot[1]}
64
    \audio{\imagedir/\mot[1]}
61
</div>
65
  </div>
62
<div class="wimscenter">
66
  <div class="wimscenter">
63
\embed{r1,\size}
67
    \embed{r1,\size}
64
</div>
68
  </div>
65
}
69
}
-
 
70
 
66
\answer{}{\mot[2];\perturb}{type=clickfill}
71
\answer{}{\mot[2];\perturb}{type=clickfill}