Re: [codec] Naming the modes

Koen Vos <koen.vos@skype.net> Fri, 03 December 2010 03:27 UTC

Return-Path: <koen.vos@skype.net>
X-Original-To: codec@core3.amsl.com
Delivered-To: codec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2902228C121 for <codec@core3.amsl.com>; Thu, 2 Dec 2010 19:27:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.567
X-Spam-Level:
X-Spam-Status: No, score=-2.567 tagged_above=-999 required=5 tests=[AWL=0.033, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kGTtGl7CTxZO for <codec@core3.amsl.com>; Thu, 2 Dec 2010 19:27:23 -0800 (PST)
Received: from mx.skype.net (mx.skype.net [78.141.177.88]) by core3.amsl.com (Postfix) with ESMTP id 472513A6A4C for <codec@ietf.org>; Thu, 2 Dec 2010 19:27:22 -0800 (PST)
Received: from mx.skype.net (localhost [127.0.0.1]) by mx.skype.net (Postfix) with ESMTP id 7444516FD; Fri, 3 Dec 2010 04:28:38 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=skype.net; h=date:from:to :cc:message-id:in-reply-to:subject:mime-version:content-type: content-transfer-encoding; s=mx; bh=VMiskRQC/pSo/Aue26KEG9Cf3PI= ; b=xRA+iVEy0Jfl0nl4Ew0E6lGhir5+rs8MkalypyuvUBG1zbevSroQY8hO3DJ1 DUeIktb6z1OcZhK1+Aa32HOInFv9xyVO7YZyHYfPP9POe3seOC8R4qlmQ+cT8UR3 mrCt58v6AhJHpRIHHPDVN0oZOiGzLyinWcXiRDBNu881kWg=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=skype.net; h=date:from:to:cc :message-id:in-reply-to:subject:mime-version:content-type: content-transfer-encoding; q=dns; s=mx; b=gLOXaHPvSyvdsMQ1vclQnw bJNDelJTIHZ29bmdktLews2QocJnJoOjOxq0WVvoGpiNEXpdK8WWBCRnmVsSnBng Zd9tv2wkntt75rGfiXhBxt1u7d+Ab4G4jo7ddKerr9BZe2A4uiaYERUkLRtU09aJ mPaJpeDxjd1wPsQT7aSWs=
Received: from zimbra.skype.net (zimbra.skype.net [78.141.177.82]) by mx.skype.net (Postfix) with ESMTP id 72C4D16F3; Fri, 3 Dec 2010 04:28:38 +0100 (CET)
Received: from localhost (localhost [127.0.0.1]) by zimbra.skype.net (Postfix) with ESMTP id 4FEDD1672687; Fri, 3 Dec 2010 04:28:38 +0100 (CET)
X-Virus-Scanned: amavisd-new at lu2-zimbra.skype.net
Received: from zimbra.skype.net ([127.0.0.1]) by localhost (zimbra.skype.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 70UEF5HB+N9X; Fri, 3 Dec 2010 04:28:37 +0100 (CET)
Received: from zimbra.skype.net (lu2-zimbra.skype.net [78.141.177.82]) by zimbra.skype.net (Postfix) with ESMTP id 5A02B1672684; Fri, 3 Dec 2010 04:28:37 +0100 (CET)
Date: Fri, 03 Dec 2010 04:28:37 +0100
From: Koen Vos <koen.vos@skype.net>
To: Jean-Marc Valin <jean-marc.valin@octasic.com>
Message-ID: <383045204.2301011.1291346917272.JavaMail.root@lu2-zimbra>
In-Reply-To: <624869898.2301000.1291346763379.JavaMail.root@lu2-zimbra>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [69.181.192.115]
X-Mailer: Zimbra 6.0.6_GA_2330.UBUNTU8_64 (ZimbraWebClient - FF3.0 (Win)/6.0.6_GA_2330.UBUNTU8_64)
Cc: bens@alum.mit.edu, codec@ietf.org
Subject: Re: [codec] Naming the modes
X-BeenThere: codec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Codec WG <codec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/codec>, <mailto:codec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 03 Dec 2010 03:27:25 -0000

I like Voice and Universal as the API mode names.

For the internal mode names, Speech/Audio/Hybrid could be confusing because they're similar to the API modes, and because Hybrid is really also a Speech mode.
So maybe better with
- LPC/MDCT/Hybrid
- Predictive/Transform/Hybrid?

About having 40 and 60 ms modes for all sampling rates in Voice mode: we allow this already by combining multiple frames per packet (even though the current implementation doesn't do it yet).  Such multi-frame packets come with a few bytes overhead, but the assumption is that packets longer than 20 ms will be used mainly for lower bitrates where it's better to use the Predictive than the Hybrid mode.

koen.


----- Original Message -----
From: "Jean-Marc Valin" <jean-marc.valin@octasic.com>
To: bens@alum.mit.edu
Cc: codec@ietf.org
Sent: Thursday, December 2, 2010 7:45:13 AM
Subject: Re: [codec] Naming the modes

Note that these modes names are meant to describe now the codec works,
not necessarily the user-visible API.

Jean-Marc

On 10-12-02 10:25 AM, Benjamin M. Schwartz wrote:
> On 12/02/2010 06:59 AM, Jean-Marc Valin wrote:
>> Any thoughts?
>
> I think the codec has _two_ modes, not three: Voice and Universal.
> Voice mode operates at 8, 12, 16, 32, or 48 KHz. Universal mode
> operates at 8,
> 16, 32, or 48 KHz. The available window sizes depend on the mode and
> sample rate... although perhaps it would be better to abstract this
> away and allow 40 and 60 ms frames at all samplerates in Voice mode.
>
> The exact manner in which these sample rates are implemented is a
> detail irrelevant to the user.
>
> --Ben
>
>
>
>
> _______________________________________________ codec mailing list
> codec@ietf.org
> https://www.ietf.org/mailman/listinfo/codec

_______________________________________________ codec mailing list
codec@ietf.org
https://www.ietf.org/mailman/listinfo/codec