ScratchData LogoScratchData
Back to drjay's profile

Playing Random Notes & Sounds from a List

DRdrjay•Created July 10, 2014
Playing Random Notes & Sounds from a List
0
1
259 views
View on Scratch

Instructions

This project demonstrates how to play a random note or a random sound from a list when a key is pressed. Press N to play a random note and S to play a random sound using the first approach in the script. Press T to play a random sound using the second approach in the script. The difference between the first and second approaches to playing sounds is that the first picks one of the six available sounds, while the second stores the *value* of one of the six available *strings* in a variable and then plays the sound named by that variable. The second approach simply demonstrates that sounds can be specified by their names expressed as strings.

Description

programmed by Jesse Heines, UMass Lowell Computer Science July 10, 2014, NSF-sponsored Performamatics Project

Project Details

Project ID24558338
CreatedJuly 10, 2014
Last ModifiedJuly 10, 2014
SharedJuly 10, 2014
Visibilityvisible
CommentsAllowed