I know that this is an old question, but there is another way not yet covered: Use MacOS Automator to create Services "Sound Volume Up" and "Sound Volume Down" consisting of the following AppleScript:
on run
set current_volume to output volume of (get volume settings)
set volume output volume (current_volume + 10)
end run
(with current_volume - 10
for "Sound Volume Down", of course)
Then, in System Preferences > Keyboard > Shortcuts > Services, set whatever keyboard shortcut you want to use to increase or decrease the volume.
PS: If my keyboard shortcuts (Shift-Control-Option-Command-plus
and Shift-Control-Option-Command-minus
) seem absurd to you, it's because I have configured my Caps Lock key as a "hyper" key, which presses all those modifiers at once.