Revision as of 07:14, 23 July 2018 by Asqwde (talk | contribs) (Cleanup, reworded)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archive.png This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective.
1.3.0 note block.png
Category Sensing
Type Reporter
Introduced in 1.3.0
Removed in 1.3.1

Note was a block from Scratch 1.3.0, released on September 2, 2008. It was removed in the 1.3.1 release, on November 21 in the same year. It reported an approximation of the note coming in from user's computer's microphone, and was likely cut from the later release due to glitches.[citation needed] In current versions of Scratch players, this block is not recognized, and it is an undefined block.[1]

Example Uses

  • Voice recording
reset timer
delete (all v) of [song v]
delete (all v) of [song loudness v]
repeat until <(timer) > (10)> //record for 10 seconds
add (note::sensing) to [song v]
add (loudness) to [song loudness v]
set [i v] to (0)// counter variable
repeat (length of [song v])
change [i v] by (1)
set volume to (item (i) of [song loudness v])
play note (item (i) of [song v]) for (0.1) beats
  • Voice recognition
if <(note::sensing) < (10)> then
say [You sound like me!] for (2) secs
  • Voice modification
set [modified note v] to ((note::sensing) * (2))
play note (modified note) for (1) beats

See Also