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

Addditional Features of Pencil Code and ABC Notation (continued) and Introduction to the Final Course Project: Assignment No. 8

Tuesday, April 12, 2016

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


Handouts and Materials


Openings / Announcements / Reminders

Two things to be working on


People who have MaKey MaKey boards that need to be returned before we will release final grades

Mohd Anwar   Tak Lo
Greg Caldwell   John McManus
Alex Casperson       Yusuf Mulyo
Andrew Cornish   Max Nelson
Kyle Elardo   Eddie Pozo
Hannah Ewing   Rodrigo Souza
Nsoah Foster   Brad Swenson
Matt Hart   Dylan Wetherald
Christian Hernandez   Zack Wong


Student Affairs Scholarships Available

The Division of Student Affairs is pleased to announce applications are available for the following scholarships/awards to be presented for the 2016-2107 academic year.

The Education Under a Tree Scholarship recognizes international undergraduate and graduate students for their service to the student community and acknowledges academic excellence in addition to service.

The Don Gagnon Scholarship recognizes students who have contributed positively to the University Community through their community service and student involvement.

The Jacqueline and Edward Moloney Award recognizes women student leaders for their service to the University Community and acknowledges academic success in addition to service.

The Briguglio and Dunbar Family Endowed Scholarship recognizes those student leaders in the UMass Lowell Community who work each day to make a difference in the life of our students.

The Matt Drouin Scholarship recognizes efforts by students who have engaged in activities centering on themes of social justice and civic engagement.

Students interested in applying for the scholarships can go to www.uml.edu/SAScholarships for the application form and further details concerning criteria and required materials.


Class Notes

Revised Recommended Approach to Assignment No. 7

Please see revised notes for Class No. 21 on Thursday, April 7th

Major revisions to those notes:

  1. As we discussed, we left out one step:
    • remember that your first step in EasyABC has to be to click the New tune link in the ABC assist window

    • you can then begin to enter your notes in ABC notation at the end of the code that the New tune link causes to be inserted
       
  2. We have discovered that parentheses are not need to call the sing function if you leave a space after the sing function name.  Thus, the following syntax is now recommended:

    sing n, "your copied ABC code"

    • sing must be typed in lowercase
    • replace n with the number of the keyboard that you want the music to play on
    • n must be followed by a comma
    • enclose your copied ABC code in double quotes
       
  3. We changed the ABC Notation Encoding chart to reflect the fact that EasyABC requires rests to be coded with a lowercase z
    • the uppercase Z works in Pencil Code, but not EasyABC
    • this is typical of different implementations of a standard
      • remember that ABC Notation is a standard, not a program

Be sure to save your Pencil Code program with a new name, *not* “MultiTemplateN” as it is in Jesse’s account


Example

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

Pencil Code implementation - Version 1 - using Pencil Code’s play function

Pencil Code implementation - Version 2 - using the sing function

The ABC Notation as generated by EasyABC

The ABC Notation as used in Pencil Code *without* the sing function

The ABC Notation as used in Pencil Code *with* the sing function


Review of Requirements for Assignment No. 7



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