added linear downsampling
implemented scaling and displaying of tone ranges