Wiki source code of Pause for [value] beats
Last modified by admin on 2023/08/23 08:58
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="box infomessage" %) | ||
2 | ((( | ||
3 | This brick is similar to the "Wait-for-seconds"-brick. He blocks the current sound for the specified ammount of beats. The duration of a beat depends on the tempo. | ||
4 | |||
5 | [[image:Documentation.BrickDocumentation.Sound-Bricks.WebHome@Pause_for_beats.png||alt="set-pause-fo-brick.png"]] | ||
6 | ))) | ||
7 | |||
8 | (% class="box" %) | ||
9 | ((( | ||
10 | **Correlates with this brick:** | ||
11 | |||
12 | [[image:Set_tempo_to.png]] | ||
13 | |||
14 | [[Learn more ~>~>>>doc:Documentation.BrickDocumentation.BroadcastWaitBrick.WebHome]] | ||
15 | ))) | ||
16 | |||
17 | (% class="row" %) | ||
18 | ((( | ||
19 | (% class="col-xs-12 col-sm-6" %) | ||
20 | ((( | ||
21 | (% class="box" %) | ||
22 | ((( | ||
23 | ==== **Example** ==== | ||
24 | |||
25 | This example first saves different notes into a list. | ||
26 | When the panda is tapped the saved notes will be played for one beat one after another, while there is a pause of two beats between the notes.[[image:Play_note_for_beats_example.png||alt="Musiknote_abspielen_für_schläge_Beispiel.png"]] | ||
27 | |||
28 | |||
29 | |||
30 | ))) | ||
31 | ))) | ||
32 | |||
33 | (% class="col-xs-12 col-sm-6" %) | ||
34 | ((( | ||
35 | (% class="box" %) | ||
36 | ((( | ||
37 | ==== **Result** ==== | ||
38 | |||
39 | [[[[image:null4.png||alt="Download"]]>>https://share.catrob.at/pocketcode/project/6b2c886b-2b7e-11ec-af47-005056a36f47]] | ||
40 | |||
41 | [[image:sound.gif]] | ||
42 | |||
43 | |||
44 | ))) | ||
45 | ))) | ||
46 | ))) |