From a5b58e726ccc66fb10cc0d18f4adf498c550b44d Mon Sep 17 00:00:00 2001 From: Phyks Date: Mon, 2 Dec 2013 01:10:39 +0100 Subject: [PATCH] Bug correction in mult --- sound4python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound4python.py b/sound4python.py index 7158958..0903868 100644 --- a/sound4python.py +++ b/sound4python.py @@ -27,7 +27,7 @@ def sound(itr,samprate=16000,autoscale=True,output=False): #for now, assume 1-D iterable mult = 1 if( autoscale ): - mult = 32768.0 / max(itr) + mult = 32767.0 / max(itr) #mult = 128.0 / max(itr) #create file in memory