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. 18

Transposition (conclusion) and Synchronization Using the Scratch Timer

Tuesday, March 29, 2016

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


Handouts and Materials

Assignment No. 6 — Transposing Using Scratch Lists


Openings / Announcements / Reminders

Academic Calendar Note:  Wednesday, April 6, is last day for students to withdraw from courses with a grade of “W”


Class Notes

How did you do on the “Hey Jude” exercise?


Revisiting Transposition

Definition

“Home Base”

When transposing, the distances between notes remain the same

Terms you should now know


Revisiting Timing and Synchronization

What happens quickly on a computer and what takes a while to happen?

What kinds of problems can occur with timing and syncrhonization?


Using the Scratch Timer with MP3 Files

Script Main

Script Got

Script Got

Script Main

Script Sing

Script Sing

Questions on the above code


Using the Scratch Timer with MIDI Notes

Playing “Row, Row, Row Your Boat” as a round, synchronized with the Scratch timer

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

Script Main

Script Init

Script Part 1

Script Part 2



This is document http://jesseheines.com:8080/~heines/91.212/91.212-2015-16s/212-lecs/lecture18.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.