From: jweigele Date: Thu, 29 Sep 2022 21:55:43 +0000 (-0700) Subject: Keep samples as float32 until we send them out, for aiding later reprocessing X-Git-Url: http://git.hexthepla.net/?a=commitdiff_plain;h=c7743739df8bfc0b2c1e2a6caa15df3c0e2fa22c;p=grahbot Keep samples as float32 until we send them out, for aiding later reprocessing --- diff --git a/ffmpegfile.py b/ffmpegfile.py index e66db9f..b77948b 100644 --- a/ffmpegfile.py +++ b/ffmpegfile.py @@ -32,20 +32,24 @@ class AudioChunk(object): if init_bytes is not None: init_bytes = self.pad_out(init_bytes) self.samples = numpy.array([x[0] for x in struct.iter_unpack('