summaryrefslogtreecommitdiff
path: root/tools/testsignal.py
diff options
context:
space:
mode:
authorJon Nordby <jononor@gmail.com>2025-04-18 00:17:33 +0200
committerMartin StensgÄrd <mastensg@mastensg.net>2025-04-18 16:12:03 +0200
commit61d9a812d1ab7c62b0e76903fb55a8c4d180298b (patch)
treea96ea2d63fe9222e4569a085681f0933af470329 /tools/testsignal.py
parentd26152cb2fdaf1381dc43eb69a3f299911b68d50 (diff)
tools: Simplify test signal to 1 khz sine
Comes out as a 1khz square wave... Not quite right
Diffstat (limited to 'tools/testsignal.py')
-rw-r--r--tools/testsignal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testsignal.py b/tools/testsignal.py
index 0f28e1c..fb8c599 100644
--- a/tools/testsignal.py
+++ b/tools/testsignal.py
@@ -31,7 +31,7 @@ if __name__ == "__main__":
sample_rate = 16000
- signal = generate_test_tone(sample_rate=sample_rate)
+ signal = generate_test_tone(sample_rate=sample_rate, freqs=[1000.0], noise_level=0.0)
sf.write(filename, signal, sample_rate)
print(f"Saved test tone to '{filename}'.")