set amplitude