From 9b2e79ef0b4dec8ac5a44d5cb71120bb5fb1e7c1 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Wed, 28 Oct 2015 17:27:45 +0100 Subject: DOCS: Add "python -m sounddevice" to README --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.rst') diff --git a/README.rst b/README.rst index a51382e..23c94ac 100644 --- a/README.rst +++ b/README.rst @@ -199,6 +199,10 @@ Device Selection In many cases, the default input/output device(s) will be the one(s) you want, but it is of course possible to choose a different device. Use `sounddevice.query_devices()` to get a list of supported devices. +The same list can be obtained from a terminal by typing the command :: + + python -m sounddevice + You can use the corresponding device ID to select a desired device by assigning to `sounddevice.default.device` or by passing it as *device* argument to `sounddevice.play()`, `sounddevice.Stream()` etc. -- cgit v1.2.3