Wiki source code of Start sound and wait
Hide last authors
author | version | line-number | content |
---|---|---|---|
1.1 | 1 | (% class="row" %) | |
2 | ((( | ||
3 | (% class="col-xs-12 col-sm-6" %) | ||
4 | ((( | ||
5 | (% class="box" %) | ||
6 | ((( | ||
7 | Plays a sound and waits until it has ended before continuing with the next brick. | ||
8 | |||
9 | [[image:start_sound_wait_brick.png||alt="Start sound and wait Brick"]] | ||
10 | ))) | ||
11 | ))) | ||
12 | |||
13 | (% class="col-xs-12 col-sm-6" %) | ||
14 | ((( | ||
15 | (% class="box infomessage" %) | ||
16 | ((( | ||
17 | ==== **Example** ==== | ||
18 | |||
19 | Will start the sound and after its finished continue with the next brick. | ||
20 | |||
21 | [[image:start_sound_wait_example.png||alt="Start sound and wait Example"]] | ||
22 | ))) | ||
23 | ))) | ||
24 | ))) | ||
25 | |||
26 | (% class="row" %) | ||
27 | ((( | ||
28 | (% class="col-xs-12 col-sm-6" %) | ||
29 | ((( | ||
30 | (% class="box infomessage" %) | ||
31 | ((( | ||
32 | ==== **Result** ==== | ||
33 | |||
34 | A short sample program: | ||
35 | |||
36 | [[[[image:null4.png||alt="Download"]]>>https://share.catrob.at/pocketcode/program/34254]] | ||
37 | |||
38 | This is how to record a sound: | ||
39 | |||
40 | [[image:start-sound-and-wait3.gif||alt="Record sound"]] | ||
41 | ))) | ||
42 | ))) | ||
43 | ))) |