auto_width parameter to set length depending on actual audio length

This adds an additional parameter to generate a waveform with a length depending on the length of the audio file.

Sorry my editor stripped also any leading spaces.