# Compulsive Volume Control

Volume controls on TV these days can go up to 100 steps, or even more. At such points, I find it tedious to rack up the volume in single steps. Even keeping the button pressed does nothing but accelerate the single incremental increase in the volume, something that my compulsive nature finds unacceptable. I want to have a simple, effective way to quickly get the volume at any high or low point. I'm sure the TV manufacturers have build an accelerating algorithm to increase the volume, but it isn't apparent, and it isn't effective.

I have a concept of a volume control where the volume first goes up or down to the nearest multiple of 5 in single steps, and after that increases in multiples of 3 or 5, whichever makes more sense based on the TV and total volume steps.

So increasing a volume from say, 10 to 25 would go as:

``````1.  10
2.  10 + 1 = 11
3.  11 + 1 = 12
4.  12 + 1 = 13
5.  13 + 2 = 15
6.  15 + 5 = 20
7.  20 + 5 = 25``````

It doesn't make for an effective way to get the volume from 10 to 18, but I don't like 18, so that's ok. I like to go to 20, which is an multiple of 5, just to keep consistency between the different volume levels. If the number of volume levels were less, I'd be thinking in terms of multiples of 3.

I had made an app on Android to demonstrate this concept, where the volume level had a max level of 14 (I think). But I want to make a javascript demo for this app where I can configure the max level of volume and also the steps of increment. It would make for an interesting demo.