Fall2014.HONS381Homework2 History

Show minor edits - Show changes to output

Changed lines 31-32 from:
# Class: CSCI 180, Section 1 (update appropriately)
# Assignment: HMWK2
to:
# Class: HONS 381
# Assignment: Homework #2
Changed lines 35-36 from:
# Purpose: <Provide a simple, yet complete description of the task being
# performed by this program. It may be several sentences long.>
to:
# Purpose: Provide a simple, yet complete description of the task being
# performed by this program. It may be several sentences long.
Changed lines 1-2 from:
'''Assigned Date''': TBA\\
'''Due Date''': TBA\\
to:
'''Assigned Date''': Monday, Sep. 1, 2014\\
'''Due Date''': Monday, Sep. 8, 2014\\
Changed lines 23-24 from:
In general, you should comment any variable, obscure statement, block of code, etc. you create. Follow the textbook code as example.
to:
In general, you should comment any variable, obscure statement, block of code, etc. you create. Follow the textbook examples on how to document code.
Deleted lines 33-39:
#
# Certification of Authenticity <remove one of the following>:
#
# I certify that this lab is entirely my own work.
#
# I certify that this lab is my own work, but I received
# some assistance from: <Name(s)>
Added lines 1-76:
'''Assigned Date''': TBA\\
'''Due Date''': TBA\\
'''Due Time''': noon

Last modified on {$LastModified} (see [[http://www.cs.cofc.edu/~manaris/index.php/Fall2014.HONS381Homework2?action=diff&source=n&minor=n | updates]])

!!Purpose

This assignment focuses on:

* creating interesting music with jMusic
* MIDI melodies, chords, etc.
* MIDI percussion

!!Assignment

In class we worked through several programs that put all Jython Music data structures into practice. Write a Jython program that generates an interesting piece of music.

!!Documentation

Follow the Golden Rule of Style: "A program should be as easy for a human being to read and understand as it is for a computer to execute." [1]

In general, you should comment any variable, obscure statement, block of code, etc. you create. Follow the textbook code as example.

Additionally, your code should always include opening comments as follows:

(:source lang=Python tabwidth=3 -trim :)
#
# Author: Your names
# Email: Your email addresses
# Class: CSCI 180, Section 1 (update appropriately)
# Assignment: HMWK2
# Due Date: The assignment's due date
#
# Certification of Authenticity <remove one of the following>:
#
# I certify that this lab is entirely my own work.
#
# I certify that this lab is my own work, but I received
# some assistance from: <Name(s)>
#
# Purpose: <Provide a simple, yet complete description of the task being
# performed by this program. It may be several sentences long.>
#
(:sourcend:)

!!Submissions

You will submit your assignment via [[https://lms.cofc.edu/ | OAKS]]. Be prepared to demo your music to the rest of the class. Your submission consists of:

# Your Python program. Give it a meaningful name.

# The MIDI file generated from your program.

# A printout of your program - to be submitted in class during the performance.

!!Grading

Your grade will be based on how well you followed the above instructions, and the depth/quality of your work.

!!Some Interesting Submissions

Here are a few interesting submissions from an earlier semester:

* ''Avril 14'' ([[http://www.cs.cofc.edu/~manaris/uploads/Fall2011/Hanf Daniel - Oct 6, 2011 947 PM - avril14.mid | MIDI]] and [[http://www.cs.cofc.edu/~manaris/uploads/Fall2011/Hanf Daniel - Oct 6, 2011 947 PM - avril14.py | Python]]), by Daniel Hanf
* ''Nonsense'' ([[http://www.cs.cofc.edu/~manaris/uploads/Fall2011/Cooper Samuel - Oct 6, 2011 224 AM - arpeggiatedNonsense.mid | MIDI]] and [[http://www.cs.cofc.edu/~manaris/uploads/Fall2011/Cooper Samuel - Oct 6, 2011 224 AM - arpeggiatedNonsense.py | Python]]), by Samuel Cooper ('''original''')
* ''Intro'' ([[http://www.cs.cofc.edu/~manaris/uploads/Fall2011/Jones Hudson - Oct 5, 2011 1046 AM - introSong2.mid | MIDI]] and [[http://www.cs.cofc.edu/~manaris/uploads/Fall2011/Jones Hudson - Oct 5, 2011 1046 AM - introSong2.py | Python]]), by Hudson Jones
* ''Take Five'' ([[http://www.cs.cofc.edu/~manaris/uploads/Fall2011/Hegler Johnathan - Oct 6, 2011 413 AM - takeFive_PaulDesmond.mid | MIDI]] and [[http://www.cs.cofc.edu/~manaris/uploads/Fall2011/Hegler Johnathan - Oct 6, 2011 413 AM - takefive_PaulDesmond.py | Python]]), by Johnathan Hegler and George Woolston

!!!Relevant Quote

"Any amount of work can be done in any amount of time... only the quality varies." ~Joao Meidanis

!!Reference

# Cooper, D. and Clancy, M. (1985) "Oh! Pascal", 2nd ed., W.W. Norton & Company, New York, p. 42.