Changed int volume to float to allow volume control