Skip to content
Permalink
Browse files

test_filters: Remove a warning

  • Loading branch information...
jonnor committed Feb 24, 2019
1 parent faa61b1 commit a619b8b382851e2219a1540049eb4b34f89f3cc2
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_filters.py
@@ -26,7 +26,7 @@ def spec(sig):


def noisy_chirp(fs=44100, seconds=1.0):
t = numpy.linspace(0, 1, seconds*fs, False)
t = numpy.linspace(0, 1, int(seconds*fs), False)
chirp = signal.chirp(t, f0=6, f1=fs/2.0, t1=seconds, method='linear')
noise = numpy.random.normal(0, 1.0, size=len(t))
sig = chirp + 0.05*noise

0 comments on commit a619b8b

Please sign in to comment.
You can’t perform that action at this time.