change maximum amplitude to 0.5