Users Manual
SCRATCH CODING KIT
Recording ‘60th’ note
Now you have made an “’analog 0 senor value <100” script.
Then now let’s assemble the scripts we made so far.
The script above is what you should get if you assemble everything. If you start the recording, LED is turned on,
and it waits until the use release hand from the digital 3 IR sensor.
After that, the timer resets. The reason for initialization of the timer was explained previously. Add the beats and
notes to the list every time the analog 0 button sensor is pressed until the digital 3 infrared sensor is pressed again.
On the next page, we will learn how to code the script when the button sensor value on input digital port 2 Is
entered. Analog 0 to analog 5 is very similar to the script above, but the script for playing 71st note is little differ-
ent, so we will go over that separately.
TORI Piano coding activity