Wiki source code of Pause for [value] beats
Last modified by admin on 2023/08/23 08:58
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
4.1 | 1 | (% class="box infomessage" %) |
2 | ((( | ||
![]() |
11.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.1 | 4 | |
![]() |
11.2 | 5 | [[image:Documentation.BrickDocumentation.Sound-Bricks.WebHome@Pause_for_beats.png||alt="set-pause-fo-brick.png"]] |
![]() |
4.1 | 6 | ))) |
7 | |||
![]() |
11.2 | 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 | |||
![]() |
4.1 | 17 | (% class="row" %) |
18 | ((( | ||
19 | (% class="col-xs-12 col-sm-6" %) | ||
20 | ((( | ||
21 | (% class="box" %) | ||
22 | ((( | ||
23 | ==== **Example** ==== | ||
24 | |||
![]() |
11.2 | 25 | This example first saves different notes into a list. |
![]() |
12.2 | 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"]] |
![]() |
4.1 | 27 | |
28 | |||
29 | |||
30 | ))) | ||
31 | ))) | ||
32 | |||
33 | (% class="col-xs-12 col-sm-6" %) | ||
34 | ((( | ||
35 | (% class="box" %) | ||
36 | ((( | ||
37 | ==== **Result** ==== | ||
38 | |||
![]() |
11.2 | 39 | [[[[image:null4.png||alt="Download"]]>>https://share.catrob.at/pocketcode/project/6b2c886b-2b7e-11ec-af47-005056a36f47]] |
![]() |
4.1 | 40 | |
![]() |
11.2 | 41 | [[image:sound.gif]] |
42 | |||
![]() |
4.1 | 43 | |
44 | ))) | ||
45 | ))) | ||
46 | ))) |