added wav resampler
added aftershow functionality