Unit 3 Music and Sound Evangel College S.2 ICT.

Slides:



Advertisements
Similar presentations
Sprite-visual object (actor on the stage) Scripts- Tells actors (sprites) what to do.
Advertisements

Create a Simple Game in Scratch
Create a Simple Game in Scratch
Michael Parkes Dudley LA What can Scratch do? Make simple games, animations, presentations and stories.
Mission Technology Introduction to Scratch! June 2007.
Scratch for Storytelling Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
Harry Potter Scratch Game
Adventures in Animation Harry Potter Game Pranali Choubal Kunal Shaw Barb Ericson Dec 2007.
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
Learn… Create… Program. Manipulation of Multiple Media Connects with youth culture Scratch is a new graphical programming language designed to support.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech Oct 2010.
Adventures in Animation Introduction to Scratch! Michelle Venable-Foster June 2006.
Fish Chomp. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
Scratch the Cat. Object Oriented Programing Writing computer programs Based on Objects Instead of Actions Based on Data Instead of Logic.
Code Club Session 2 Dance Party. What will we learn ?  How to change the background  How to create animations  How to make objects talk to each other.
Introduction to Scratch!
Using MIT Scratch for Programming and Control Exercise 3 Ball Game Year 9 ICT Autumn Term 2007.
We will be creating a spaceship that simulates real movements in space. The spaceship will fire a laser beam that can destroy targets. The spaceship will.
Exploring Computer Science 2/23/15 2/23 Develop a Scratch story project -Brainstorming 2/24 Develop a Scratch story project –Developing 2/25 Develop a.
Exploring Computer Science 2/16/15
2015 CSE/EGR Summer Camps 1 Computer Science Concepts 1. What is an algorithm? 2. Binary information coding 3. Programming concepts via Scratch Designed.
Play Road Game to understand the game Click on each sprite to understand its script Think about a different place that a sprite would have to get across.
1 Understand how to use Scratch to: – Animate a sprite – Add sound to your script – Use the forever command to create a loop Lesson 2: Learning Objectives.
Using MIT Scratch for Programming and Control Extension work – clock project Year 9 ICT Autumn Term 2007.
Introduction to Programming G50PRO University of Nottingham Unit 2 : Introduction To Scratch Paul Tennent
Digital Art in Scratch part 1 Barb Ericson Georgia Tech May 2011.
Fish Chomp. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
Introduction to Scratch. What is Scratch? Scratch is a control program that enables you to create your own interactive stories, animations, games, music,
Image #1 Getting Started
Making a Sprite Dance Barb Ericson Georgia Tech June 2011.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
Unit 1 Introduction to Evangel College S.2 ICT.
Using MIT Scratch for Programming and Control Exercise 1 Creating movement Year 11 DTG 2012.
From last time… Explore the blue commands from the motion menu Find at least three ways to get the sprite to move to the UPPER LEFT corner.
Cloning in Scratch Computer App Session 6. Cloning in Scratch Learning Objectives: I will clone sprites in Scratch to create copies of an existing sprite.
How to create a sprite Delete a sprite (e.g. the cat) by right clicking on it and choosing delete. Go to the bottom right hand corner and choose a new.
How to create a sprite Delete a sprite (e.g. the cat) by right clicking on it and choosing delete. Go to the bottom right hand corner of the stage and.
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
Welcome to Scratch By Miss Key. The Main Screen Viewing screen with choice of views.
Unit 6 Motion – Air Hockey Evangel College S.2 ICT.
 SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
How to create a basic game in Scratch. The Scratch Stage The Scratch stage is 480 pixels wide and 360 pixels high x increasesx decreases.
1 Understand what Scratch is and what it can be used for Lesson 1: Learning Objectives.
Adventures in Animation Introduction to Scratch! Michelle Venable-Foster Barb Ericson Dec 2007.
1 CSC 221: Computer Programming I Fall 2009 Introduction to programming in Scratch  animation sprites  motion, control & sensing  costume changes 
Scratch Lesson 1. Creating an account Open the internet browser : Safari or Internet Explorer Type in the URL scratch.mit.edu Using your school computer.
Computer Programming with Scratch JAOIT 8. Scratch Scratch is a programming language that makes it easy to create your own interactive stories, animations,
Teaching Kids Programming with Chromebook Digital Convergence Lab, NIU.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Introducing Scratch Learning resources for the implementation of the scenario
Play Road Game to understand the game Click on each sprite to understand its script Think about a different place that a sprite would have to get across.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Event Driven Programs Exploring Computer Science – Lesson 4-5.
Review for Final June 13, 2016.
Scratch for Interactivity
Scratch Unit Overview We are going to look at computer programming and how to create your very own computer game The piece of software we will be using.
Exploring Computer Science – Lesson 4-5
Unit 2 Getting Started With
Cosmic Chorus Green Book, Ch 5.
Introduction to Object-Oriented Programming
Cosmic Chorus.
Unit 5 Basic Motion Skills
Image #1 Getting Started
Creating a Simple Game in Scratch
Introducing Scratch and Creating Sprite
CSC 221: Introduction to Programming Fall 2018
Presentation transcript:

Unit 3 Music and Sound Evangel College S.2 ICT

Animal Piano Project We will use the blocks in the Sound category to build an Animal Piano project.

New sprite At first, we add the key sprites. Click the New Sprite From File button

New sprite Click Costumes button on the left and then choose crab1-a in the Animal folder.

Shrink and Rename Click on the Shrink tool, then click on the crab in order to shrink it. Place it on the left hand side. (Optional: Rename the sprite to “C Note”.)

Play a Note Drag the PLAY NOTE block to the scripts area. The value 60 represents middle C. Click on the script. Can you hear the sound?

Key Press Drag the KEY PRESS block on top of the PLAY NOTE block. Change the key from “Space” to “a”. Press “a” on the keyboard. Can you hear the middle C sound?

Add other notes You can change the note using the keyboard.

Add other notes Prepare other notes: C Note: 60 Key: a G Note: 67 Key: g D Note: 62 Key: s A Note: 69 Key: h E Note: 64 Key: d B Note: 71 Key: j F Note: 65 Key: f C Note: 72 Key: k Hint: You may duplicate the sprite and then change the costume.

Import the stage background Choose the Stage and then Import

Animal Piano Project Congratulations! You have created an Animal Piano! Can you play a “happy birthday” song on it?

Challenging activities Activity 1 (Change tempo): Add script for the stage so that When the key “b” is pressed, the tempo (beats per minute) increases, ie. faster. When the key “v” is pressed, the tempo (beats per minute) decreases, ie. slower.

Challenging activities Activity 2 (Change volume): Add scripts for each sprite so that When the keys “up-arrow” is pressed, the volume increases. When the keys “down-arrow” is pressed, the volume decreases.

Challenging activities Activity 3 (Change instrument): Add scripts for each sprite so that When key “1” is pressed, the piano plays Acoustic Grand sound. When key “2” is pressed, the piano plays Violin sound.

Challenging activities Activity 4 (Mouse control): Add scripts for each sprite so that When the user clicks on the keyboard, the piano plays sound too.

Programming concept: Event An event is triggered when something happens. For example, when the user presses a key on the keyboard, a key press event is triggered. There are many kinds of events, such as Key Press event, Mouse Click event, Green Flag event or even events triggered by other sprites.

Programming concept: Event Event driven programming Any programming model which uses events to run a specific portion of the program is called event-driven programming. Event capture and event handling A sprite can capture the event and handle it. For example, the cat sprite captures the keyboard event and plays a note.

Summary You have learnt: How to use SOUND blocks to build scripts How to new a Sprite, rename, resize and move it You have also learnt the following programming concepts: Event – Happenings triggered by user or other sprites