Project 6: Guitar Hero
Started: Tuesday, 4/26; Due: Friday 5/6
This assignment is also taken from the projects on the book's web site. In this case, the assignment is
the Plucking a Guitar String (a.k.a. Guitar Hero). Be sure to read my comments below
for some clarification and suggestions.
You should work on this project individually.
You should read through the lab Plucking a Guitar String. As they say at the beginning of that page, you should probably review the material in the textbook on digital audio (pages 147-151 and 202-206) beforehand.
Instead of giving you a template Java file to work from, we are going to have you create the code more or less from scratch. However, in order to enforce some uniformity, we request that you do certain things:
- You should write the three class files "RingBuffer.java", "GuitarString.java", and "GuitarHero.java" described in Plucking a Guitar String. The first two should satisfy the API specifications given in Plucking a Guitar String (with the exact same names and signatures).
- You should fill in the readme.txt file described in the "What you must hand in" section below.
- Your final program should function as described in Plucking a Guitar String.
What you must hand in
You should submit the three class files "RingBuffer.java," "GuitarString.java," and "GuitarHero.java" that you wrote,
as well as the filled out file "readme.txt".
We will expect the components to be adequately tested. In particular, both of the classes "RingBuffer" and "GuitarString" should be tested in isolation.
Extra credit opportunities
Extra credits 1 and 2 given in Plucking a Guitar String.
We will use this gradesheet when grading your lab.
Use the procedure described in our instructions on submitting code document.