From 59e8f4572c86b802b5fb9bfc1ae88e69779fdd17 Mon Sep 17 00:00:00 2001 From: CarolinePascal Date: Mon, 12 May 2025 15:15:34 +0200 Subject: [PATCH] [skip-ci] fix(typo): fixing microphone key typo in audio benchmark --- benchmarks/audio/run_microphone_benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/audio/run_microphone_benchmark.py b/benchmarks/audio/run_microphone_benchmark.py index a3179d846..c7ac95b9e 100644 --- a/benchmarks/audio/run_microphone_benchmark.py +++ b/benchmarks/audio/run_microphone_benchmark.py @@ -145,7 +145,7 @@ def main( # Print statistics differences = record_length - chunk_length - for i, microphone in enumerate(microphones.values()): + for i, (microphone_key, microphone) in enumerate(microphones.items()): print( f"Average recorded duration for {microphone_key} : {np.mean(record_length[:, i]) / microphone.sample_rate:.3f} seconds" )