cmus is a nice, lightweight music player that runs in a terminal. Its interface is reminiscent of vim, although somewhat more intuitive.
It also includes a remote control utility (cmus-remote). I have it bound to my MacBook’s media keys with this Musca configuration:
bind on XF86AudioPlay exec cmus-remote -u bind on XF86AudioPrev exec cmus-remote -r bind on XF86AudioNext exec cmus-remote -n bind on Control+XF86AudioLowerVolume exec cmus-remote -v -5% bind on Control+XF86AudioRaiseVolume exec cmus-remote -v +5%