Zho:演奏休息 () 拍（积木）

The Rest for Beats 积木 is a 音效类积木 and a 条形积木. The block pauses its 程式 for the specified amount of beats, which can be a decimal number. To change the length of beats, the 演奏速度改变 block and the 演奏速度设为  bpm block can be used.

用法示例
As the block will pause its script with beats instead of seconds, it is widely used in music scripts where there must be pauses that fit the beat.

Some example uses for the Rest for Beats block:
 * Pauses in songs made with the "演奏音阶/节拍" blocks
 * A pause in sound effects made with the 音效类积木
 * A music generator

Notation
Unlike sheet music, the block uses number values to determine the beats. This table shows the beat number values for the most common rests in the most common time signatures, interpreted in the most basic ways.

应用
This block can be replicated with the following code:

等待 (((60) / (演奏速度)) * (number of beats)) 秒 However, this freezes the sprite and should be avoided in 一角色一脚本类专案.

参见

 * MIDI 音阶
 * 演奏节拍  拍
 * 演奏音阶  拍