From c0a33df2411291e82febd71a2414b2bab6b900de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 9 Jan 2020 15:32:31 +0100 Subject: [PATCH] Audio --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6008ebc..913b842 100644 --- a/README.md +++ b/README.md @@ -2734,7 +2734,7 @@ import wave ``` ```python - = wave.open('', 'rb') # Can raise OSError. + = wave.open('', 'rb') # Opens file or raises OSError. framerate = .getframerate() # Number of frames per second. nchannels = .getnchannels() # Number of samples per frame. sampwidth = .getsampwidth() # Sample size in bytes. diff --git a/index.html b/index.html index c9d6272..1f8a60a 100644 --- a/index.html +++ b/index.html @@ -2325,7 +2325,7 @@ imageio.mimsave('test.gif', frames, duration=

#Audio

import wave
 
-
<Wave_read>  = wave.open('<path>', 'rb')        # Can raise OSError.
+
<Wave_read>  = wave.open('<path>', 'rb')        # Opens file or raises OSError.
 framerate    = <Wave_read>.getframerate()       # Number of frames per second.
 nchannels    = <Wave_read>.getnchannels()       # Number of samples per frame.
 sampwidth    = <Wave_read>.getsampwidth()       # Sample size in bytes.