LOGO Third Assignment
Your assignment is to command the turtle to play a song and draw
a matching picture. You
must use the shapes part of LOGO to design two (2) new
sprites or "shapes". See my
example of ALABAMA for 3 sprites and the words printed with the
song.
To create or edit a sprite, type SHAPES at the command line, then
curser to shapes on your
LOGO selection page. You will be presented with a page of
sprites organized by number. 1 to 10 are not defined and are good
ones to use. When at the
correct shape number, press [Enter], and
now you can change a shape or design a new one.
Use arrow keys to move around the sprite grid, and [SPACE BAR] to
toggle ON/OFF the pixels in the sprite. You are finished
designing the sprite, press [Esc] key to return to your former
location in LOGO.
This assignment will give you much chance for creativity.
I'm
purposely not giving you step by
step instructions so that you will have to set a goal of making a
song and picture and think
through the turtle steps necessary to solve this problem that you
created!
GENERAL HELP WITH MUSIC: To learn how to play a note see
LOGO Commands one page back on this web site. You can
rename a page like ALABAMA, rename it with NP "__, and use the
note procedures already typed in on the Flip Page or type in
the notes and durations as in the LOGO Commands. The key
command is TONE ff dd ff
stands for the frequency of the note and dd is the duration
usually 5 or 10. Set up Note
procedures as follows:
The note D of fixed length
TO D
TONE 587 10
the second number is the
duration in 1/20th
of a
sec.
END
The note D note of variable length
TO DV :L
TONE 587 :L
Note :L is the length of
the note
END
On the command line you
play this note by
making L some value and then typing: DV 10
A D# sharp:
TO DS
TONE 622 10
END
You can play many notes on a single line. This command line
plays all the
notes two times: D DV 10 DS D DV 5 DS You can
double the
length of a note by using it twice: C C If you want two C notes
you will
need a rest between them: C R C where R is
TO R
TONE 0 2
END
GENERAL HELP WITH SHAPES & PICTURES:
The picture you draw should have a new shape or two in it that
you created. Some of my work below
contains special shapes. The command SHAPES shows you all the
shapes that you can use with the SETSH
command. See table in LOGO instructions. For example with the
song find on your disk: "Creation"= CREATION; "Ole Susanna" =
MELODY.
Back to
my home page