From Test-Scratch-Wiki

Translate: - English - 中文 
演奏节拍 () () 拍
演奏節拍 (1 v) (0.25) 拍
类别 音效类积木
形狀 条形积木

The Play Drum () for () Beats 积木 is a 音效类积木 and a 条形积木. The block will play the specified instrument for the specified amount of seconds using a MIDI drumset. Even though the block uses the word "drum", the choices in the drop-down menu are many different percussion instruments including drums, triangle, bongos, cowbell, vibraslap, and various idiophones.

This block used to be called Play Drum () for () Secs, but was changed because the length of a beat can now be changed with the 演奏速度设为 () bpm block.

用法示例

As the block plays an instrument, it is widely used when a song is played with the 音效类积木.

Some common uses for the Play Drum () for () Beats block:

  • Easy sound effects (some of the choices in the drop-down menu are sound effects such as a clap)
演奏節拍 (8 v) (0.25) 拍
  • Musical projects where you control instruments
when gf clicked
重複直到 <<(詢問的答案) > [26]> 且 <(詢問的答案) < [88]>> 
  詢問 [Drum?] 並等待
end
重複無限次 
  如果 <<loudness?> > [10]> 那麼 
    演奏節拍 (詢問的答案) (0.1) 拍
  end
end
  • Creating a song made by blocks
演奏節拍 (48 v) (0.2) 拍
演奏音階 (60 v) (0.6) 拍
演奏節拍 (47 v) (0.2) 拍

Rhythm Notation

Unlike sheet music, the block uses numbers to notate rhythm. This table could help when taking a rhythm from music. It shows the beats number values for the most common rhythms in the most common time signatures, interpreted in the most basic ways.

WholeNote.png DottedHalf.png HalfNote.png DottedQuarterNote.png QuarterNote.png QuarterTriplets.png Dotted8th.png 8thNote.png 8thTriplets.png Dotted16th.png 16thNote.png
TimeSig4.png 4 3 2 1.5 1 0.67 0.75 0.5 0.33 0.375 0.25
TimeSig8.png 8 6 4 3 2 1.33 1.5 1 0.67 0.75 0.5
TimeSig2.png 2 1.5 1 0.75 0.5 0.33 0.375 0.25 0.167 0.1875 0.125

参见