Sample type set to double instead of float (though I'm not sure if