Rev 11375 | Rev 13476 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
11375 | bpr | 1 | type=imaudio |
5275 | bpr | 2 | textarea="data" |
3 | |||
12171 | mquerol | 4 | :Triar entre les etiquetes la paraula que s'ha escoltat (des dels àudios existents al servidor WIMS). |
5275 | bpr | 5 | |
12171 | mquerol | 6 | Es proposa un àudio i s'ha de triar l'etiqueta del text. L'àudio s'agafa |
7 | de la base d'àudio de paraules registrades de WIMS. Si l'exercici es troba en una classe, |
||
8 | amb una adaptació, es pot utilitzar amb àudios posats a la classe. |
||
5276 | bpr | 9 | <p> |
12171 | mquerol | 10 | Per construir un exercici amb aquest model, simplement escriviu la llista de |
11 | paraules sempre que existeixen a la base d'àudio (per comprovar-ho, escriviu |
||
12 | swac al motor de cerca i utilitzeu l'eina proposada). |
||
13 | </p><p> |
||
14 | Per obtenir més possibilitats, utilitzeu Quicktool. |
||
15 | </p><p> |
||
16 | Autor del model: Bernadette Perrin-Riou <bpr@math.u-psud.fr> |
||
5276 | bpr | 17 | </p> |
5275 | bpr | 18 | :%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%% |
19 | |||
20 | Enlevez l'en-tête ci-dessus si vous détruisez les balises pour le modèle ! |
||
21 | (Ce sont les lignes qui commencent par un ':'.) |
||
22 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
||
23 | |||
24 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
||
25 | |||
26 | |||
12171 | mquerol | 27 | :\title{Escoltar i reconèixer} |
5275 | bpr | 28 | :\author{Bernadette, Perrin-Riou} |
29 | :\email{bpr@math.u-psud.fr} |
||
12171 | mquerol | 30 | :\credits{} |
31 | :Enunciat |
||
32 | \text{instruction=Feu clic a la paraula que heu escoltat.} |
||
5275 | bpr | 33 | |
12171 | mquerol | 34 | :Llista de paraules |
35 | Si hi ha diverses línies, els distractors es prenen de la mateixa línia que la paraula escollida. |
||
5275 | bpr | 36 | \text{liste = doctor,teacher,journalist,policeman, fireman, postman} |
37 | |||
12171 | mquerol | 38 | :Llenguatge d'àudio: les opcions possibles són <span class="tt">fra</span>, <span class="tt">eng</span>, <span class="tt">dut</span> (i altres amb menys possibilitats <span class="tt">pol</span>, <span class="tt">wol</span>, <span class="tt">deu</span>, <span class="tt">swe</span>.) |
5275 | bpr | 39 | \text{lang = eng} |
12171 | mquerol | 40 | :Nombre de distractors |
5275 | bpr | 41 | \integer{cntpertub=3} |
12171 | mquerol | 42 | :La mida vertical de les caixes en píxels |
5275 | bpr | 43 | \integer{sizev=200} |
44 | |||
12171 | mquerol | 45 | :La mida horitzontal de les caixes de l'esquerra en píxels |
5275 | bpr | 46 | \integer{sizel=20} |
47 | |||
12171 | mquerol | 48 | :Depenent de l'opció, es proposen totes les paraules o nomes una aleatòriament (com a màxim 10 paraules) |
49 | \text{choix=item(1,1 totes, |
||
50 | 2 una sola)} |
||
51 | |||
5275 | bpr | 52 | :%%%%%%%%%%%%% Maintenant l'énoncé en code html. %%%%%%%%%%%%%%%%%%%% |
12171 | mquerol | 53 | \text{choix=wims(word 1 of \choix)} |
54 | \text{Audio =} |
||
55 | \text{Perturb=} |
||
56 | \text{list=randrow(\liste)} |
||
57 | \text{mots=\choix=1 ? shuffle(\liste): randitem(\liste)} |
||
58 | \integer{cnt=items(\mots)} |
||
59 | \integer{cnt=min(10,\cnt)} |
||
60 | \for{j=1 to \cnt}{ |
||
61 | \text{mot=\mots[\j]} |
||
62 | \text{audio = slib(lang/swac \mot,\lang)} |
||
63 | \text{Audio = wims(append item \audio[1;1] to \Audio)} |
||
64 | \text{perturb=wims(listcomplement \mot in \liste)} |
||
65 | \text{perturb=shuffle(\perturb)} |
||
66 | \text{perturb=\perturb[1..\cntpertub]} |
||
67 | \text{Perturb=wims(append line \perturb to \Perturb)} |
||
68 | } |
||
5275 | bpr | 69 | \text{size=\sizev[]x\sizel[]x\sizer} |
12171 | mquerol | 70 | \text{etape=wims(makelist r x for x=1 to \cnt)} |
71 | \text{etape=wims(replace , by ; in \etape)} |
||
72 | \steps{\etape} |
||
5275 | bpr | 73 | |
74 | \statement{ |
||
12171 | mquerol | 75 | <div class="instruction"> |
5275 | bpr | 76 | \instruction |
12171 | mquerol | 77 | </div> |
78 | <div class="wimscenter">\Audio[\step]</div> |
||
5275 | bpr | 79 | |
6946 | bpr | 80 | <div class="wimscenter"> |
12171 | mquerol | 81 | \embed{r \step,\size} |
6946 | bpr | 82 | </div> |
5275 | bpr | 83 | } |
12171 | mquerol | 84 | \answer{}{\mots[1];\Perturb[1;]}{type=clickfill} |
85 | \answer{}{\mots[2];\Perturb[2;]}{type=clickfill} |
||
86 | \answer{}{\mots[3];\Perturb[3;]}{type=clickfill} |
||
87 | \answer{}{\mots[4];\Perturb[4;]}{type=clickfill} |
||
88 | \answer{}{\mots[5];\Perturb[5;]}{type=clickfill} |
||
89 | \answer{}{\mots[6];\Perturb[6;]}{type=clickfill} |
||
90 | \answer{}{\mots[7];\Perturb[7;]}{type=clickfill} |
||
91 | \answer{}{\mots[8];\Perturb[8;]}{type=clickfill} |
||
92 | \answer{}{\mots[9];\Perturb[9;]}{type=clickfill} |
||
93 | \answer{}{\mots[10];\Perturb[10;]}{type=clickfill} |