CSCI 107 Assignment 8


Introduction

A common task in the world of computer science is to take an existing program and modify it.

Before you undertake the tasks below, play with the program in the IDLE environment until you understand its functionality. Once you do, take a look at the underlying Python code to get a sense for how the program works. (You do not have to understand all of the code to do this assignment.)

Windows Users (use Python 3.5)

Mac Users (use Python 2.7)

Use Mac_Music.py as a starting point and ensure that PyAudio for Mac OS X has been downloaded and installed.

  1. Use the terminal to open idle for 2.7 by typing "idle" into an open terminal window.
  2. Use raw_input instead of input for taking input from the user.

If you get a "permission denied" error with OS X, try these instructions from Brandon.

Requirements and Grading - 100 points

Submission

Place the file (Music.py for Windows users and Mac_Music.py for Mac users) in the D2L Dropbox no later than 11:59 p.m. on Friday, November 18th. Late submissions receive no credit, but partial credit can be earned by making an ontime submission.


Valid XHTML 1.0!