[codec] Comments on draft-ietf-codec-ambisonics-01

Jean-Marc Valin <jmvalin@jmvalin.ca> Fri, 17 February 2017 21:57 UTC

Return-Path: <jmvalin@jmvalin.ca>
X-Original-To: codec@ietfa.amsl.com
Delivered-To: codec@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id 69909129BF1 for <codec@ietfa.amsl.com>; Fri, 17 Feb 2017 13:57:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=jmvalin-ca.20150623.gappssmtp.com
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id tUBETKdb1YCh for <codec@ietfa.amsl.com>; Fri, 17 Feb 2017 13:57:19 -0800 (PST)
Received: from mail-pg0-x233.google.com (mail-pg0-x233.google.com [IPv6:2607:f8b0:400e:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0D7C51296DA for <codec@ietf.org>; Fri, 17 Feb 2017 13:57:19 -0800 (PST)
Received: by mail-pg0-x233.google.com with SMTP id z67so18600160pgb.1 for <codec@ietf.org>; Fri, 17 Feb 2017 13:57:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jmvalin-ca.20150623.gappssmtp.com; s=20150623; h=from:to:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=XlDUTk8Yx4+G8tPZiRHHKZMUylQ1ZEek5BbjD3n0k7M=; b=u8WHc/pRJdzl8PloiLUh4kxZllDEPfj9BU/YuGtdIOFeywDbcpFSesh1Oji9GUxACi 1BXDCT8Qyrf/mcYUu6VNT0AvPsfO+f003/3RpE3P67Bmw99wB33vZ8ko19N9qlT1H/6v 7nqX9ZpJanbb1O+k0RdXOqUwVioW2wAQtIfmQLqzNclSAtnvmYhTlQWLkGH2puVO7pff NDNvpmw/8F03L0T/CfhfweAXpdRCFNZZGg/9XFNqnGhHRCEdhRoJkvmmHdZdEohZ5O3U 4Y0TRI//+GzNIcFaz34cPgZP/PXqligcHHfZpGEtngQDekq33semUZHkUUzCvAo0GaR5 f/SQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=XlDUTk8Yx4+G8tPZiRHHKZMUylQ1ZEek5BbjD3n0k7M=; b=NeBFRhUIIp7MKnudZOSOJa62W2YlUmCqYVzO/6QKBJvNLAEQfehiA3WngwFhTKwVU+ bpMViPsfZXw1eJGNit16hlJG2MmWX0zATTHHvD1Aa4hdvt7SYnlRS1pXgFS7+V12k+J3 a5QhuQgsSD6nFWXECDY1qmHEqDshzXXK1UPrsTv0frDieaL9CbCLSbWP1asOho1CVgMc e6nKDn1E8Jbkq1zdoTCxhad8j1GuweIG9SOx93pBzyg7o/LFVeUchrmwmYsBm8jZN13q +YpAFgW49ZlijsdcFZTV2OoM4lQduI2/kVEH220mFfZZgCdE4idePriUwE+0JrzAPV0C 3ZJg==
X-Gm-Message-State: AMke39lXBfOlkZFdUomwtRml3WdRM7JGsBgjnrwMn9E3W5VyfCRpSeCpdNbBdHyoIwjDFA==
X-Received: by with SMTP id 22mr11808919pfh.69.1487368638545; Fri, 17 Feb 2017 13:57:18 -0800 (PST)
Received: from panoramix.jmvalin.ca ([2620:101:80fc:232:a950:c5b3:e7af:f605]) by smtp.gmail.com with ESMTPSA id m136sm21470967pga.22.2017. (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Feb 2017 13:57:18 -0800 (PST)
From: Jean-Marc Valin <jmvalin@jmvalin.ca>
To: Jan Skoglund <jks@google.com>, "codec@ietf.org" <codec@ietf.org>
Message-ID: <2f534e1b-b1af-266a-50ef-36f1739d878b@jmvalin.ca>
Date: Fri, 17 Feb 2017 16:57:15 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/codec/9cn4ApfY8cCt15onU4bZ2kZ5sDU>
Subject: [codec] Comments on draft-ietf-codec-ambisonics-01
X-BeenThere: codec@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Codec WG <codec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/codec>, <mailto:codec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/codec/>
List-Post: <mailto:codec@ietf.org>
List-Help: <mailto:codec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/codec>, <mailto:codec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Feb 2017 21:57:20 -0000

Hi Jan,

Here's some comments based on my review of the ambisonics draft:

3.  Ambisonics With Ogg Opus

>    Ambisonics MAY be encapsulated in the Ogg format by encoding with the

I would suggest replacing the normative MAY by just "can"

3.1.  Channel Mapping Family 2

>    This channel mapping uses the same channel mapping table format used
>    by channel mapping families 1 and 255.

I would suggest saying "mapping family 1" rather than "mapping families
1 and 255" since otherwise, you have families 2 referencing itself.
Also, we don't know what families 4 and up will look like.

3.2.  Channel Mapping Family 3

I would suggest removing the "Output Channel Numbering" field because it
is fully equivalent to simply permuting lines of the matrix. Also, I
believe that the size of the matrix was meant to be "32*(N+M)*C bits"
rather than "32*N*C bits".

About the matrix -- and as previously discussed privately -- I think it
should probably be stored as 16-bit integers in Q15 format. If any
global scaling is ever required, then the "output gain" field can always
be used.

>    Note that [RFC7845] specifies that the identification header cannot
>    exceed one "page", which is 65,025 octets.  This sets a practical
>    maximum ambisonic order of 10, if full order is utilized and the
>    number of coded streams is the same as the ambisonic order plus the
>    two non-diegetic channels.

This text is unclear about whether partial order 11 is allowed. I have
no strong opinion on the subject, but think it should be clarified.