summaryrefslogtreecommitdiff
path: root/tools/testsignal.py
diff options
context:
space:
mode:
authorJon Nordby <jononor@gmail.com>2025-04-18 01:58:15 +0200
committerMartin StensgÄrd <mastensg@mastensg.net>2025-04-18 16:12:03 +0200
commitdf870d193c3ca6552ae85307abbb9f998228a776 (patch)
tree1b4b4f3dc3da8a63751f2a9f8d978c8c4f0d6eab /tools/testsignal.py
parent61d9a812d1ab7c62b0e76903fb55a8c4d180298b (diff)
tools: Fixup PDM reference conversion
Seems to agree pretty well with itself now PDM bitstream also looks plausible for a sinewave
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 fb8c599..17bbacd 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, freqs=[1000.0], noise_level=0.0)
+ signal = generate_test_tone(sample_rate=sample_rate, freqs=[1000.0, 440.0], noise_level=0.01)
sf.write(filename, signal, sample_rate)
print(f"Saved test tone to '{filename}'.")