Implementing the discrete Seekbar for Wave Generator