Velocity for volume control

Added velocity for volume control
Fixed some small bugs