AAP-1.C.4 A string is an ordered sequence of characters.
AAP-2.J Express an algorithm that uses iteration without using a programming language.
AAP-2.K For iteration:
a. Write iteration statements.
b. Determine the result or side effect of iteration statements.
The objective for this lesson is to identify the string data type and make your own beats based on genre examples (rock, house, Caribbean) using the EarSketch API function makeBeat. In Activity 2 students will apply iteration to computationally loop their beat.
Activity 7.1. (55 minutes)
Facilitate PowerPoint adding sounds from the makeBeat artist in EarSketch (PowerPoint slides 1-5, EarSketch Chapter 11.1 (Strings) and 11.2 (Beat Patterns with Strings)).
Facilitate PowerPoint on beat genres and making a beat using the Ableton website. (PPT slides 6-11).
Facilitate PowerPoint on transferring your Ableton beat to a beatString in EarSketch. (PPT slides 12-15 and EarSketch Chapter 3.3 Strings, 3.4 makeBeat).
Facilitate PPT on completing your beat in EarSketch. (PPT slides 16-20 and EarSketch Chapter 3.5 Create a beat based on a musical Genre)
Assign students to work on their choice of the Remix that Movie Line or What Was that Animal Sound MiniTask (PowerPoint slide 21).
Activity 7.1.2. (55 minutes)
Have a few students share their beats from the previous activity.
Facilitate PPT 22-24 slides on repetitious code required to have the makeBeat play multiple times.
Facilitate PPT slides 25-30 on replacing repetitious code with a For loop.
Assign students to computationally loop the beat that they made in the previous activity (PPT slide 31).