From 61d9a812d1ab7c62b0e76903fb55a8c4d180298b Mon Sep 17 00:00:00 2001 From: Jon Nordby Date: Fri, 18 Apr 2025 00:17:33 +0200 Subject: tools: Simplify test signal to 1 khz sine Comes out as a 1khz square wave... Not quite right --- tools/pcm2pdm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/pcm2pdm.py') diff --git a/tools/pcm2pdm.py b/tools/pcm2pdm.py index 7cf05fb..f04f2ba 100644 --- a/tools/pcm2pdm.py +++ b/tools/pcm2pdm.py @@ -3,7 +3,7 @@ import soundfile def second_order_delta_sigma(pcm): # Normalize input XXX: remove normalization - pcm = pcm / np.max(np.abs(pcm)) + #pcm = pcm / np.max(np.abs(pcm)) n = len(pcm) pdm = np.zeros(n, dtype=np.uint8) -- cgit v1.2.3