summaryrefslogtreecommitdiff
path: root/examples/device/audio_test/src/plot_audio_samples.py
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2025-06-14 19:37:10 +0200
committerHiFiPhile <[email protected]>2025-06-14 22:46:52 +0200
commit545690c83435fc9e972a65a4e46539c88f2a2853 (patch)
tree3cd4826134d4d75b40bec3375795ec3d6f7fe198 /examples/device/audio_test/src/plot_audio_samples.py
parent19b5ec5fd9b5fb423ceacf24d542ebba7f805316 (diff)
audio: update examples
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'examples/device/audio_test/src/plot_audio_samples.py')
-rwxr-xr-xexamples/device/audio_test/src/plot_audio_samples.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/audio_test/src/plot_audio_samples.py b/examples/device/audio_test/src/plot_audio_samples.py
index ea6aa661e..2be8948ea 100755
--- a/examples/device/audio_test/src/plot_audio_samples.py
+++ b/examples/device/audio_test/src/plot_audio_samples.py
@@ -12,11 +12,11 @@ if __name__ == '__main__':
# print(sd.query_devices())
fs = 48000 # Sample rate
- duration = 100e-3 # Duration of recording
+ duration = 3 # Duration of recording
if platform.system() == 'Windows':
# MME is needed since there are more than one MicNode device APIs (at least in Windows)
- device = 'Microphone (MicNode) MME'
+ device = 'Microphone (MicNode), Windows WASAPI'
elif platform.system() == 'Darwin':
device = 'MicNode'
else: