ucsb-cs56-projects / cs56-music-basic-synthesis-demo

-
0 stars 5 forks source link

Add a GUI (for now, non-functional... just design it and write the Java code for it) #2

Closed pconrad closed 11 years ago

pconrad commented 11 years ago

Move all existing code into a new package under the existing ones called model, then add a package called "view". (This is MVC separation)

In the view subdirectory, add a new class based on a JFrame and approrpiate components that would be a suitable GUI for this basic synthesis program.

I.e. make sliders, perhaps for the various values that are currently coming from the command line?

Or maybe have a place where you can "draw" an envelope by moving something around?

(Start with the sliders, but considering drawing the resulting envelope?)

Then if its easy, just "call" the function from the model classes---refactor if needed.. so that you keep a clean separation between the GUI and the rest of the code.

~estimate: 240

ghost commented 11 years ago

~claimed @mlindsay @RapidRage ~moderator @CARammelkamp

pconrad commented 11 years ago

points awarded proj1