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

Pencil Code, ABC Notation, and Assignment No. 7 (continued)

Tuesday, April 5, 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

The final project assignment is now posted


Class Notes

Related reading for this class:  Cheat Sheet

Review of Coding Lists that Include Rests

Numerous groups had this problem in Assignment No. 6

The key is to “look at” the value you retrieve from the list before playing it


Pencil Code

Differences from Scratch

Reviewing why playing music doesn’t work the same as it does in Scratch


ABC Notation Software

The abc music standard 2.1 (Dec 2011)

http://abcnotation.com/wiki/abc:standard:v2.1

Assessing the pros and cons of various ways to play music, especially on the Web

Of course there are other ABC Notation editors and players


ABC Notation Encoding  (continued)

Review from last class ...

Coding Note Values

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


Coding Note Durations


Completely new material begins here ...


Coding Sharps and Flats and Naturals


Directives


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/lecture20.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.