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

Introduction to Pencil Code, ABC Notation, and Assignment No. 7

Thursday, March 31, 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. 7:  Programming Multiple Parts in Pencil Code

Pencil Code and ABC Notation Cheat Sheet


Openings / Announcements / Reminders

Important Date Reminders


Class Notes

Related reading for this class:  Cheat Sheet

Pencil Code

A First Look:  Happy Birthday

Blocks mode vs. Text mode

The Sound Blocks


ABC Notation

Coding Note Values

adapted from:  http://www.guitarsite.de/pics/clef.gif


Coding Note Durations


Coding Sharps and Flats and Naturals


Example

figure source: http://www.letsplaykidsmusic.com/wp-content/uploads/2013/02/row-row-row-your-boat.jpg

Pencil Code implementation


Introduction to Assignment No. 7



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