From 2cfd3b9cff0bc9aa28690edd98aef6d6a6ab581b Mon Sep 17 00:00:00 2001
From: Ed Rogers <etr@orc.soton.ac.uk>
Date: Sat, 3 Mar 2018 20:10:02 +0000
Subject: [PATCH] Remove variable annotations

---
 SampleLibrary.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/SampleLibrary.py b/SampleLibrary.py
index d518fd4..469d9cb 100644
--- a/SampleLibrary.py
+++ b/SampleLibrary.py
@@ -97,12 +97,12 @@ def create_carrier(length: int, freq: float, fs: float):
     return sound
 
 
-create_envelope.lowpass_filter: dict = {}
-muffle_filter.filter: dict = {}
+create_envelope.lowpass_filter = {}
+muffle_filter.filter = {}
 
 
 class Filter:
-    N_TAPS: int = 256
+    N_TAPS = 256
 
     def __init__(self, cf: float, rng: Tuple[float, float], fs: float):
         self.centre_freq = cf
@@ -157,9 +157,9 @@ class Sample:
 
     def time_scrambled(self, sound_in: np.ndarray=None):
         if sound_in is None:
-            sound: np.ndarray = self.raw.copy()
+            sound = self.raw.copy()
         else:
-            sound: np.ndarray = sound_in
+            sound = sound_in
         # t = np.arange(0, self.length_seconds, 1 / self.fs)
         blocks = [0, 4, 2, 1, 3, 5]
         rates = [0, 3, 0.2, 2, 0.5, 1.5]
-- 
GitLab