specifying maxAmplitude value in visualizer directive