Skip to content
Snippets Groups Projects
Commit 2cfd3b9c authored by Ed Rogers's avatar Ed Rogers
Browse files

Remove variable annotations

parent 9b283d65
No related branches found
No related tags found
No related merge requests found
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment