Changed to samples of float type