From 534cd64429f75ea44e4d67621f0bbe2566106f53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 22 Aug 2019 22:44:54 +0200 Subject: [PATCH] Audio --- README.md | 4 ++-- index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a631b7d..771b4fd 100644 --- a/README.md +++ b/README.md @@ -2674,8 +2674,8 @@ nframes = .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 diff --git a/index.html b/index.html index 84c2fde..4c57dbc 100644 --- a/index.html +++ b/index.html @@ -2272,8 +2272,8 @@ nframes = <Wave_read>.getnframes() 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

    +-----------+-------------+------+-------------+
     | sampwidth |     min     | zero |     max     |