Re: [codec] Last proposal for the update draft

Gregory Maxwell <> Mon, 20 June 2016 01:56 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 9188A12D8AE for <>; Sun, 19 Jun 2016 18:56:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (2048-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 2j2GyeBbSVth for <>; Sun, 19 Jun 2016 18:55:57 -0700 (PDT)
Received: from ( [IPv6:2607:f8b0:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id E62B012D89E for <>; Sun, 19 Jun 2016 18:55:56 -0700 (PDT)
Received: by with SMTP id t129so178706469vka.1 for <>; Sun, 19 Jun 2016 18:55:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9TzWMyZokxmXutqEPgeagiw9VY89lfN3TPPr3/n2Mxw=; b=UQzmZkpwFcHBGLNAh7jrien7OeaviH5spvVDutJu8IIyMSs2EGozceHU/RRIC0grj3 rD9F+O7RHUB6QSODtVFcfG/Xb5eohAEXnFopFoXKlqCALa/Xe+Nkcw1l8PvMIGpnFX+g lcym9H8W/R3J6gdi74ZqNcD9riW/oO9FpdiOX3X0s03pbXDxRcr6Ws9N+3Cyh7rSsxgL JR+VCPbvsvap4bb4c+ShyCtOO9emUttCk7clj2oHQnvLT4jI4d5EDgD+UKeuY4JDfqZq 5YIpxtoI+UopV6NgCa/KQMS81QipMDrS8AMeiIGjdKtALnI/jqc8Qke+K6dgLN4Ae8Ke B64w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9TzWMyZokxmXutqEPgeagiw9VY89lfN3TPPr3/n2Mxw=; b=TEgwRUq46wSAfZbWAeNt47lUjg0ZUjfD7wNU8Qy0qWSo1xh2rOYiErvlS8o0d1asan Unc0dngCRRcS5/aZR+8QWZtLNiyUSl8gvXl9TzBcBh06B8Mublfgd+Z3CXNIdax03zlP 4rcAViFiaDVSIRQ/j8/CTJgjkZLBe+rVB3L1klQQLXi7LuNaDDYLmLhhZA4lp2S4xuWF XB1s9hzwwZsqumpVqKtiorWaAKaR/2DrAy7WSnpUuvDFbUQrrQHq31FGQGDugFocqRWH WD2WU17a7s6iv1j9xRJkdjw1aKDxSFbvoOVoo7rRc0DCsYteeMyZXk5xFvWrUwxlyQb3 Td5A==
X-Gm-Message-State: ALyK8tIIH68tKy59oc4tIINljWCPc5dR5F5lkRJfo1AE7nDMS8anhk5DhwwMwKF40WxmDsG2mH4HthtUrxIpYA==
X-Received: by with SMTP id c34mr4277155uac.79.1466387755651; Sun, 19 Jun 2016 18:55:55 -0700 (PDT)
MIME-Version: 1.0
Received: by with HTTP; Sun, 19 Jun 2016 18:55:55 -0700 (PDT)
In-Reply-To: <>
References: <>
From: Gregory Maxwell <>
Date: Mon, 20 Jun 2016 01:55:55 +0000
Message-ID: <>
To: Jean-Marc Valin <>
Content-Type: text/plain; charset=UTF-8
Archived-At: <>
Cc: "" <>
Subject: Re: [codec] Last proposal for the update draft
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Codec WG <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 20 Jun 2016 01:56:01 -0000

On Fri, Jun 17, 2016 at 12:26 PM, Jean-Marc Valin <> wrote:
> My proposed solution is to fix the folding behaviour so that it is
> never forced to fall back to LCG due to not enough folding data. This
> is achieved by simply repeating part of the first band in the folding
> of the second band. The proposed patch is available at:
> It's a decoder-only change and it fixes the low-bitrate pre-echo
> problem. I uploaded a short example that demonstrates the problem and
> the fix. This is before the change:
> and this is after the change:
> Note especially the "t" in the word "tour", which has noticeable HF
> pre-echo in the "before" file. Both files are decoded from the same 16
> kb/s CBR bit-stream.
> The fix does not impact compatibility, because the improvement does
> not depend on the encoder doing anything special. I also do not see
> any case where an encoder could have effectively used the current
> broken behaviour to improve quality over the proposed change.
> For these reasons, I think it should be included in the update draft.

This appears reasonable to me, and I also do not see a way in which
the old behavior could be usefully used, or any way that this would be
likely to cause serious incompatibility.