Browse Source

Audio

pull/42/head
Jure Šorn 5 years ago
parent
commit
534cd64429
2 changed files with 4 additions and 4 deletions
  1. 4
      README.md
  2. 4
      index.html

4
README.md

@ -2674,8 +2674,8 @@ nframes = <Wave_read>.getnframes() # Number of frames.
* **Bytes object contains a sequence of frames, each consisting of one or more samples.**
* **In stereo signal first sample of a frame belongs to the left channel.**
* **Each sample consists of one or more bytes that, when converted to an integer, indicate the displacement of a speaker membrane at a given moment.**
* **If sample width is one, then the integer should be encoded as unsigned.**
* **For all other sizes the integer should be encoded as signed with little-endian byte order.**
* **If sample width is one, then the integer should be encoded unsigned.**
* **For all other sizes the integer should be encoded signed with little-endian byte order.**
### Sample Values
```text

4
index.html

@ -2272,8 +2272,8 @@ nframes = &lt;Wave_read&gt;.getnframes() <span class="hljs-comment"
<li><strong>Bytes object contains a sequence of frames, each consisting of one or more samples.</strong></li>
<li><strong>In stereo signal first sample of a frame belongs to the left channel.</strong></li>
<li><strong>Each sample consists of one or more bytes that, when converted to an integer, indicate the displacement of a speaker membrane at a given moment.</strong></li>
<li><strong>If sample width is one, then the integer should be encoded as unsigned.</strong></li>
<li><strong>For all other sizes the integer should be encoded as signed with little-endian byte order.</strong></li>
<li><strong>If sample width is one, then the integer should be encoded unsigned.</strong></li>
<li><strong>For all other sizes the integer should be encoded signed with little-endian byte order.</strong></li>
</ul>
<div><h3 id="samplevalues">Sample Values</h3><pre><code class="text language-text">+-----------+-------------+------+-------------+
| sampwidth | min | zero | max |

Loading…
Cancel
Save