diff --git a/README.md b/README.md index 77a2b0e..1c1920c 100644 --- a/README.md +++ b/README.md @@ -2738,7 +2738,7 @@ import wave ``` ```python -<Wave_read> = wave.open('<path>', 'rb') # Opens the wav file. +<Wave_read> = wave.open('<path>', 'rb') # Opens the WAV file. 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. diff --git a/index.html b/index.html index 64d22f5..83cd4f2 100644 --- a/index.html +++ b/index.html @@ -2330,7 +2330,7 @@ imageio.mimsave(<span class="hljs-string">'test.gif'</span>, frames, duration=<s <div><h2 id="audio"><a href="#audio" name="audio">#</a>Audio</h2><pre><code class="python language-python hljs"><span class="hljs-keyword">import</span> wave </code></pre></div> -<pre><code class="python language-python hljs"><Wave_read> = wave.open(<span class="hljs-string">'<path>'</span>, <span class="hljs-string">'rb'</span>) <span class="hljs-comment"># Opens the wav file.</span> +<pre><code class="python language-python hljs"><Wave_read> = wave.open(<span class="hljs-string">'<path>'</span>, <span class="hljs-string">'rb'</span>) <span class="hljs-comment"># Opens the WAV file.</span> framerate = <Wave_read>.getframerate() <span class="hljs-comment"># Number of frames per second.</span> nchannels = <Wave_read>.getnchannels() <span class="hljs-comment"># Number of samples per frame.</span> sampwidth = <Wave_read>.getsampwidth() <span class="hljs-comment"># Sample size in bytes.</span>