Fall2012.CSCI180Homework4 History

Hide minor edits - Show changes to output

Changed line 2 from:
''Due Date'': Friday, Nov. 9\\
''Due Date'': Monday, Nov. 12\\
Added lines 1-131:
''Assigned'': Monday, Oct. 29, 2012\\
''Due Date'': Friday, Nov. 9\\
''Due Time'': 10:55am

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

This is a '''pair-programming''' assignment (i.e., you may work with '''one''' partner). You may discuss the assignment only with your partner or the instructor.


This assignment focuses on:

* sonification / music from natural data
* randomness / indeterminate music


!!! Music and Nature/Nature and Music

According to Scaletti [1],

-> [t]he idea of representing data in sound is an ancient one. For the ancient Greeks music was not an art-for-art's sake, practiced in a vacuum, but a manifestation of the same ratios and relationships as those found in geometry or in the positions and behaviors of the planets.

Pythagoras, Plato, and Aristotle worked on quantitative expressions of proportion and beauty, as observed in nature, such as the ''[[http://www.goldenmeangauge.co.uk/golden.htm| golden ratio]]''. Pythagoreans, for instance, quantified harmonious musical intervals in terms of [[http://www.dartmouth.edu/~matc/math5.geometry/unit3/unit3.html|proportions (ratios)]] of the numbers 1, 2, 3, 4 and 5. This scale became the basis for the well-tempered scales refined by [[http://www.jsbach.org/|J.S. Bach]] and others - the scales used in Western music.

!!!Data Sonification

According to [[http://en.wikipedia.org/wiki/Sonification | Wikipedia]] [2],

-> Sonification is the use of non-speech audio to convey information or perceptualize data. Due to the specifics of auditory perception, such as temporal and pressure resolution, it forms an interesting alternative to visualization techniques, gaining importance in various disciplines. It has been well established for a long time already as Auditory Display in situations that require a constant awareness of some information (e.g. vital body functions during an operation).

-> One of the first successful applications of the sonification is the well-known Geiger counter, a device measuring ionizing radiation. Amount of audible clicks is directly dependent on the radiation level in immediate vicinity of the device.


Create a musical piece using random elements and/or data sonification. The piece should be:

* original,
* be carefully thought out, and
* consist of at least 3 different parts / instruments.


Use the following examples for inspiration:

!!!Nathalie Miebach and Weather Data

Nathalie Miebach is a Boston-based artist who translates weather data into complex sculptures and musical scores:

* [[http://www.ted.com/talks/nathalie_miebach.html | Ted Talk - Nathalie Miebach: Art made of storms]]
* [[http://nathaliemiebach.com/musical.html | Complete pieces and scores]] for Miebach's music:

!!! Echo Movement and Astronomical Data

Echo Movement, originally a band with strong reggae foundation, uses music generated from astronomical data in its new album, ''Love and the Human Outreach''. The title track includes a sonification made by Georgia Tech researchers, who mapped data from the dimming and brightening of the binary star Kepler 4665989 and converted it into sound:

* [[http://www.gatech.edu/inc/hgFile.php?fname=4-melody.wav | Melody derived from sonification of the binary star Kepler 4665989]], used in the song.
* [[http://www.youtube.com/watch?v=u5ZMn2Y7PsY | Love and the Human Outreach]] - the song.

!!!Biosignal (Big-Data) Sonification

Figures 1 and 2 visualize the beginning of this [[http://www.cs.cofc.edu/~manaris/uploads/biosignals.txt | data file of biosignals]].


'''Fig. 1''' Sample raw heart data.


'''Fig. 2''' Sample SCL data.

Here is the [[http://www.cs.cofc.edu/~manaris/uploads/Fall2005/rawHeart.B1I.mid | melody from mapping heart data to pitch]].


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.

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
# Assignment: HMWK4
# Due Date: The assignment's due date
# Certification of Authenticity:
# < ! Delete one of the two statements below - also delete this comment ! >
# We certify that this lab is entirely our own work.
# We certify that this lab is our own work, but we received
# some assistance from: "add people's names, Web links, or other references"
# Purpose: < ! Replace this comment with a simple, yet complete description of
# what your program does - e.g., "This program plays Chopen's Nocturne,
# Op 72. No. 1." The description may be several sentences long. ! >


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.

# Any data files used by your program.

# Provide documentation (URLs, etc.) of where you got your data.

Provide everything necessary for me to be able and generate your MIDI file from scratch, through your submission, if I wanted to check things out.


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

!!!Relevant Quote

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


# Quote from Carla Scaletti, "Sonification - An Ancient Idea Made Feasible by New Technology", ACM SIGRAPH '93 - Course Notes 81, Aug. 1993, p. 4.2.

# Sonification, Wikipedia entry, accessed Sep. 2, 2005.