fix sampleToFloat/floatToSample