pub fn to_bytes( head: &WavHeader, samples: &Vec<f32>, ) -> Result<Vec<u8>, EncoderError>
WavData to bytes