https://pslab.io/blog/implementing-the-discrete-seekbar-for-wave-generator/
Implementing the discrete Seekbar for Wave Generator