Better volume control for low volumes

I had a particular itch to scratch. When my audio amplifier is turned up too much, the +5/-5 steps provided by the volume buttons simply aren't fine grained enough when playing on low volume. I hacked up the functions calls to take 3 steps of 1, followed by 3 steps of 2, 3 and 4 up to 30. From there on the default steps of 5 are used.
This works for me, but I'm thinking doing this in the c code would be cleaner. Unfortunately python is the only language in which I'm well versed.
Please give me feedback if it should be done differently or if this change doesn't look interesting enough to include.