Rev 13477 | 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 |
13714 | obado | 2 | textarea="instruction data" |
3 | iEdit="instruction" |
||
7133 | bpr | 4 | |
13714 | obado | 5 | :Choose from the labels the word heard (records to be provided). |
7133 | bpr | 6 | |
13714 | obado | 7 | <p>A sound is proposed and the correspondig label must be chosen. |
8 | The sound is taken from the WIMS recorded word audio database. |
||
9 | If the exercise is in a class, it can be used with audios put in this class. |
||
7133 | bpr | 10 | </p><p> |
13714 | obado | 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> |
||
15 | For more possibilities, use Quicktool. |
||
13477 | obado | 16 | </p><p class="wims_credits"> |
11544 | obado | 17 | Author of the model: Bernadette Perrin-Riou <bpr@math.u-psud.fr> |
7133 | bpr | 18 | </p> |
13714 | obado | 19 | |
7133 | bpr | 20 | :%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%% |
21 | |||
11544 | obado | 22 | Remove the above header if you destroy the model tags! (The lines starting |
23 | with a ':'.) Otherwise the exercise might not be taken back by Createxo. |
||
7133 | bpr | 24 | |
11544 | obado | 25 | :%%%%%%%% Sample parameters to be redefined %%%%%%%%%%%%%%%%% |
7133 | bpr | 26 | |
27 | |||
13714 | obado | 28 | :\title{Listen and recognize II} |
7133 | bpr | 29 | :\author{Bernadette, Perrin-Riou} |
30 | :\email{bpr@math.u-psud.fr} |
||
31 | :\credits{} |
||
13477 | obado | 32 | |
33 | :Instructions |
||
13714 | obado | 34 | \text{instruction=Click on the word heard.} |
7133 | bpr | 35 | |
13714 | obado | 36 | :List of audio and words |
37 | \text{data = name_audio1,doctor |
||
38 | name_audio2,teacher |
||
39 | name_audio3,journalist} |
||
7133 | bpr | 40 | |
13714 | obado | 41 | :Number of disrupters |
7133 | bpr | 42 | \integer{cntpertub=3} |
13714 | obado | 43 | |
44 | :Height of the boxes (in pixels) |
||
7133 | bpr | 45 | \integer{sizev=200} |
46 | |||
13714 | obado | 47 | :Width of the boxes on the left (in pixels) |
7133 | bpr | 48 | \integer{sizel=20} |
49 | |||
11544 | obado | 50 | :%%%%%%%%%%%%% Now the statement in HTML. %%%%%%%%%%%%%%%%%%%% |
7133 | bpr | 51 | |
52 | \text{cnt=rows(\data)} |
||
53 | \text{N=shuffle(\cnt)} |
||
54 | \text{mot=row(\N[1],\data)} |
||
7231 | bpr | 55 | \text{mot=wims(embraced randitem \mot)} |
56 | \text{perturb=\N[2..\cntpertub+1]} |
||
7133 | bpr | 57 | \matrix{data=\data} |
58 | \text{perturb=\data[\perturb;2]} |
||
59 | \text{size=\sizev[]x\sizel[]} |
||
60 | |||
61 | \statement{ |
||
13714 | obado | 62 | <div class="instruction">\instruction</div> |
63 | <div class="wimscenter"> |
||
64 | \audio{\imagedir/\mot[1]} |
||
65 | </div> |
||
66 | <div class="wimscenter"> |
||
67 | \embed{r1,\size} |
||
68 | </div> |
||
7133 | bpr | 69 | } |
13714 | obado | 70 | |
7133 | bpr | 71 | \answer{}{\mot[2];\perturb}{type=clickfill} |