Terrapin Resources

Controlling InO-Bot’s Sounds

InO-Bot contains 43 sounds and notes, which are played using the PLAY.SOUND command. Sounds are divided into three groups: high tech sounds, piano notes, and xylophone notes. Each sound has a number that is the input to PLAY.SOUND.

The first 10 sounds are high tech sounds and can make InO-Bot sound like R2D2.

The following command plays the high tech sounds, causing InO-Bot to play each one sequentially. The WAIT command allows InO-Bot to complete a sound before starting the next.

FOR “I 1 10 [PLAY.SOUND :I WAIT 300]

Piano notes are sounds 11 through 17 and correspond to the notes a, b, c, d, e, f, g. The following command plays the piano notes.

FOR “I 11 17 [PLAY.SOUND :I WAIT 300]

Xylophone notes are sounds 18 through 30 and correspond to the notes 1c, 1d, 1e, 1f, 1g, 2a, 2b, 2c, 2d, 2e, 2f, 2g, 3a. The following command plays the xylophone notes.

FOR “I 18 30 [PLAY.SOUND :I WAIT 300]

Notes from 31 to 43 sound like a marimba and correspond to the notes 1c, 1d, 1e, 1f, 1g, 2a, 2b, 2c, 2d, 2e, 2f, 2g, 3a. The following command plays the marimba notes.

FOR “I 31 43 [PLAY.SOUND :I WAIT 300]