Spring 2018»CITA 180 Homework 6

CITA 180 Homework 6

Assigned Date: Monday, Mar. 12, 2018
Due Date: Wednesday, Mar. 28 (Spring Break intervening!)
Due Time: 30 mins before class

Last modified on March 25, 2018, at 12:23 PM (see updates)

Assignment

Write a Jython program that creates an interesting musical performance (your choice). The performance should have a GUI interface (control surface), which allows - as needed - starting, pausing, resuming, stopping, and adjusting the volume / frequency of your audio material. You only need to have as many controls as your performance needs. Design your user interface well (e.g., see previous assignment). You will be graded on the aesthetics of your GUI, as well as the aesthetics of the music you produce.

Your performance should last about 2 minutes (but a little longer is OK). It should consist of smaller audio samples (5-9), which are played together at different times to achieve the end result.

Each audio file should be no more than 15-20 seconds.

Background

To get possible ideas for your submission, you may explore the following:

Documentation

Your header documentation should describe each audio sample used (and provide URL, if downloaded from the Internet).

Again, follow documentation instructions from Homework 1.

Submissions

You will submit your assignment by both handing in a printout in class, and online via OAKS.

Be prepared to demonstrate your program in class.

Do all of the following:

  1. Hand in a printout in class on the due date. This should consist of two things:
    • your Python program, and
    • an image of your GUI control surface.
  2. Upload the same on OAKS. There should be several files in your submission (your program, the image, and the audio material used).
  3. Be ready to demo your program in class.

Grading

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

Learning Objectives

This assignment has the following objectives:

  • Manipulating audio samples in Python.
  • Creating an interesting performance out of smaller elements.
  • Designing a GUI with enough controls to carry out an interesting task.
  • Implementing callback functions.
  • Use various data types and API calls to achieve a desired programming task (algorithmic design).
  • Use predefined classes in program development (object-based programming).