ScratchData LogoScratchData
Back to mres's profile

Play the Stage

MRmres•Created July 8, 2018
Play the Stage
23
14
247 views
View on Scratch

Instructions

Click on the stage to hear a musical note. As you move left and right (x position), the pitch changes. As you move up and down (y position), the instrument changes. To explore the space of possible notes and instruments, hold down the mouse button as you move the mouse around the stage.

Description

I created this project in response to Challenge #3 in the "Getting Unstuck" initiative from the ScratchEd Team https://gettingunstuck.gse.harvard.edu The core of the program includes calculations for "scaling" the x and y positions of the mouse to the appropriate inputs for the pitch and instrument of the note. Also, I created a list of midi-notes so that the notes would be constrained to the white keys on the piano keyboard (a major scale). See the comments in the code for an explanation of how I did the calculations for the scaling.

Project Details

Project ID235791682
CreatedJuly 8, 2018
Last ModifiedJuly 8, 2018
SharedJuly 8, 2018
Visibilityvisible
CommentsAllowed