Added option to change soundfile return type.