CS 198: Lab #5

Lab Exercise 5: Managing user input

This week we're going to build upon our prior work, focusing on how to integrate user input in a controlled manner. We want to eliminate random elements from the tune and replace them with user input.


Tasks

Download the zip file for today's lab.

  1. Add capability to change patterns for one player.
  2. Add a virtual keyboard to set the base pitch. How do we do this on only bar measures?
  3. Add a key input to control the percussion pattern.
  4. Add a key input to control the melody pattern.
  5. Add a set of improv patterns. Add the capability to play them independently using messages.