UMass Lowell Dept. of Computer Science

COMP 2120 / MUED 2120 — Sound Thinking

Spring 2016 Semester, Section 201

Prof. Jesse M. Heines and Prof. Gena Greher

Notes for Class No. 15

Introduction to Playing and Transposing Music Using Lists

Thursday, March 10, 2016

A video of this class is (or will be) posted at:  http://echo360.uml.edu/heines2016/comp-mued2120.html


In Memorium

https://www.youtube.com/watch?v=EKiqthx0GKw


Handouts and Materials


Openings / Announcements / Reminders


Class Notes

Introduction to Lists

Understanding the blocks related to lists

 









Editing list values

         

Extending the concept of intervals to “deltas” or “offsets”


Demonstration Using Scales

Code for the following demonstrations

https://scratch.mit.edu/projects/54423380/#editor


Playing a list containing the MIDI values of a harmonic minor scale using a straight sequence of play note blocks

     

Playing that list using a loop

Transposing the scale into any key

Review:  What is a delta?

Coding the list using deltas (or offsets) from the tonic (or key) note

Coding the list using deltas to each note from the preceding note

     


Using the import feature to avoid going crazy when you’re creating or editing lists


Concepts Reviewed or Introduced


A Fun Example

Harry Potter Theme



This is document http://jesseheines.com:8080/~heines/91.212/91.212-2015-16s/212-lecs/lecture15.jsp.  It was last modified on Friday, August 26, 2022 at 4:09 PM.
Copyright © 2022 by Jesse M. Heines.  All rights reserved.  May be freely copied or excerpted for educational purposes with credit to the author.