|
Computer Science Home
6th Grade Tech Ed
7th Grade Computer Science
8th Grade Computer Science A
Gmail
Google Drive
Google Classroom
Infinite Campus
Typing.com
(Join Class through Google Classroom)
Schoology
Code.org
Tynker Coding Website
Tynker Resource Page
Tynker Online Support Video Help
Quizlet | Quizlet LIVE
Everfi
Khan Academy
Social Media Tips
Netsmartz
Code HS
Karel the Dog class code: 1251
CSTA Standards
ISTE Standards
|
Alien Invaders (9)
New Code Blocks
- : Set the project’s tempo (music speed) to the specified number of beats per minute.
- : Play the specified note for the specified number of beats.
- : Play the specified kind of drum for the specified number of beats.
- : Set the current instrument to the instrument specified by the parameter.
Objectives
Students will...
- Use various instrument sounds
- Apply coding concepts to generate music
- Create a music machine
Materials
- Computers, laptops, or mobile devices (1 per student) with student account access to Tynker.com
- Headphones (1 per student)
Warm-Up (15 minutes)
- Get students familiar with instruments mentioned in this lesson by playing a guessing game! Do a quick image search on the internet for the following instruments: cowbell, electric snare drum, piano, piano keyboard.
- Using your projector, show your students an image of the instrument and ask them to guess its name. Who can guess the most instruments correctly?
Activities (45 minutes)
Facilitate as students complete all Instruments and Tempo modules on their own:
1. Button Sounds Example (Example)
- This module is an example of a musical project, where each button plays a different musical note.
- Tell students to click (for web) or tap (for mobile) the buttons in sequence to play a song.
2. Button Sounds (DIY)
- This DIY (do-it-yourself) project guides students through the process of programming each button to play music notes using the “play note” code block. Tell students to set each button to a different note by changing the number in the “play note” block.
- Optional: Ask students, “If you change the number for the note from 60 to 100, what happens to the sound?” (The sound gets higher)
- Did students finish early? Encourage them to add multiple “play note” blocks to each button. If they modify the pitch of each note, they can make a simple song!
3. Drum Machine Example (Example)
- In this module, students will view an example of an interactive beatbot drum machine!
- To play the instruments, students need to click (web) or tap (mobile) on the buttons.
4. BeatBot Drum Machine (DIY)
- In this DIY project, students will program buttons to play drum sounds so the BeatBot can beatbox!
- This module introduces the “play drum” block, which only plays percussion sounds. Encourage student to try out all sorts of drum sounds. See who can drum the best beat!
- Do students want to play quicker rhythms? Encourage them to change the duration of notes to around “0.1”
- Did students finish early? Encourage them to program the Beatbot to dance along with the beat!
5. Set the Tempo (Puzzle)
- To solve this puzzle module, students will need to adjust the tempo so the notes match the animation.
- Encourage students to watch the keys carefully, then determine if they need to set their tempo to a higher or lower value. A tempo of 120 beats per minute will win the game!
6. Build a Piano Example (Example)
- In this module, students will view an example of an interactive piano.
- Tell students to press the piano keys to play a sound.
7. Build a Piano (DIY)
- Now it’s time for your students to create their own piano using Tynker! In this DIY project, students will need to program each key. Note: All the Actors (piano keys) have already been created for the student.
- Emphasize to students that “Step 2/4” includes a helpful diagram of the piano keys and names of the notes.
- Optional: Encourage students to play the intro to a popular song or play a simple tune (e.g., “Twinkle, Twinkle, Little Star”)
- Did students finish early? Encourage them to experiment with the code to create an automatic piano!
8. Build an Alien Piano Example (Example)
- This project is similar to the previous one, but instead of a standard piano, your students will view a bizarre alien piano!
- Tell students to press the keys to play a sound.
9. Build an Alien Piano (DIY)
- In this DIY project, students will create a piano that’s out of this world!
- Are students struggling to adjust the key to a sound they want? Direct their attention to “Step 2/5" of the tutorial, which includes a list of different note values for each key.
- Did students finish early? Encourage them to make the piano keys sounds even more strange by adding a second note to the keys’ code, with the same pitch but a different instrument. Who can make the most bizarre alien piano?
U.S. Standards
- K-12 CTSA Computer Science Standards (Revised 2017)
Computer Science Teachers Association:
- 1B-AP-10
- 1B-AP-11
- 1B-AP-12
- 1B-AP-15
- 2-AP-12
- 2-AP-13
- 2-AP-15
- 2-AP-16
- 2-AP-17
CCSS-Math: MP.1
- CCSS-ELA: RF.5.4.A, 6-8.RST.3, 6-8.RST.4, 6-8.RST.7
- CS CA: 3-5.AP.10, 3-5.AP.12, 3-5.AP.13, 3-5.AP.14, 3-5.AP.17, 6-8.AP.12, 6-8.AP.13, 6-8.AP.16, 6-8.AP.17
- ISTE: 1.c, 1.d, 4.d, 5.c, 5.d, 6.b
|