Added set/getPan and modified set/getVolume to use float values