The timeline is a zoomable scrollable time axis. It is modelled on
the time axis elements found in the likes of Logic Pro and Cubase.
Click and drag vertically to zoom in and out.
Hold shift and scroll to move left and right.
The waveform is shown as a solid area when zoomed out, and switches
to a thin line when zoomed in.
See the code on jsfiddle.