Promote Sample to a first-class object
Add view to edit a sample
In drawSound(), default to drawing the amplitude