[Cellar] Sample rate 0 in FLAC

Martijn van Beurden <mvanb1@gmail.com> Sat, 01 October 2022 09:17 UTC

Return-Path: <mvanb1@gmail.com>
X-Original-To: cellar@ietfa.amsl.com
Delivered-To: cellar@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B57A5C14F74F for <cellar@ietfa.amsl.com>; Sat, 1 Oct 2022 02:17:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.846
X-Spam-Level:
X-Spam-Status: No, score=-6.846 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YLXD5tPcBJqj for <cellar@ietfa.amsl.com>; Sat, 1 Oct 2022 02:17:20 -0700 (PDT)
Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D02D0C14F749 for <cellar@ietf.org>; Sat, 1 Oct 2022 02:17:20 -0700 (PDT)
Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-356abb37122so32126397b3.6 for <cellar@ietf.org>; Sat, 01 Oct 2022 02:17:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=PzmPaQYGnQa5XHOHAESU3qnTzR1DlEcWsV8etk8pMiE=; b=FyoNDEZdnV02yktEWwytr2MKc/OQnWf+YaBkCdLSqOwpgWI/LTYkGYduDtprs5W3m4 +gokyOXnVUgIiS2XGtrTj2Cwi4nsoc8QHevO4qIwApNJb/xCtC5oT9Klc032wjjabz3D UcuJYBUEX1PU273YFFc0QkXGUjj3y7iolgw555uUVOneKrbUmKW0Je1f8mPwICNrSbEo 5S8s9jVrW3UAPM5usBXTzdCwDRt5nftLvlzTLKyPHuiGWIgkg4logxyN8lb6Jn7zZyKt qrPPHHXUsHjyltGoFow1kpfnCqgyOwe7PPA9kHwzxefzo+Wp6d+6pz5uDO2XIJZpXajK Na+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=PzmPaQYGnQa5XHOHAESU3qnTzR1DlEcWsV8etk8pMiE=; b=jjjI/os+hdks86LKKqQlYd1uNUBkkyi/IcQucLNXedBun6/m1nAz8Dp381VufERgbf UWhmklpmqFYFNXl7YJhbYuvUUtuDiCYrJGCo0fDqf4XZFPGkFVFd/wGgxBbkenDgSxUK fakRDm+E5XekD9vO33OFYe8re+EYS23b/YeniXsXbzBKSYkeyYzfgkgMwn6hbouFBdMc JMJQInkt/lMPJVtou9HrVTWF+2jOS8oUHkkMKUtqYmvBeKnOJ1W5EdJv9DwOzZ4iCONf a9WtPZtSucqSy+cnj6NVXBTtuARZIk2/fUng+z2fhc0k3ntl70WRQb9e8yPHUE8LECnc X5BQ==
X-Gm-Message-State: ACrzQf3IrI9MG6yE014DsJsYPWkPIze1wHaHkzWf00Ue16S4XkPfuSxG lRx/fbTyyh3yoyckA4s5HXsyQTPr+4ML9ow/0/rvpq9/eO0=
X-Google-Smtp-Source: AMsMyM5LYrDh9l1igtKcss60OLxYsquiD8PY31UwYcSbNn1l02m+rskaLD96qFrOpITtSWtcnXAISukuMRuAD09qJ94=
X-Received: by 2002:a81:7c45:0:b0:349:bc24:9591 with SMTP id x66-20020a817c45000000b00349bc249591mr11864359ywc.211.1664615839900; Sat, 01 Oct 2022 02:17:19 -0700 (PDT)
MIME-Version: 1.0
From: Martijn van Beurden <mvanb1@gmail.com>
Date: Sat, 1 Oct 2022 11:17:06 +0200
Message-ID: <CADQbU691597X5+ZCm2hMpPA-7uHwE2MoeT6uGRVyuSSSor-78Q@mail.gmail.com>
To: Codec Encoding for LossLess Archiving and Realtime transmission <cellar@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/n7NVs5ODBRqFnRDPIXk32aAQxQY>
Subject: [Cellar] Sample rate 0 in FLAC
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Codec Encoding for LossLess Archiving and Realtime transmission <cellar.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cellar>, <mailto:cellar-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cellar/>
List-Post: <mailto:cellar@ietf.org>
List-Help: <mailto:cellar-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cellar>, <mailto:cellar-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 01 Oct 2022 09:17:24 -0000

Hi all,

There is a discussion on Hydrogenaud.io about the significance of a
sample rate of 0 in FLAC files here:
https://hydrogenaud.io/index.php/topic,123069.0.html

The specification as it has been on the FLAC website always forbade a
sample rate of 0 in the streaminfo metadata block, no such restriction
has been written down for uncommon sample rates in the frame header.

FLAC is already in use for various non-audio applications, such as
storing laserdisc data (see ld-decode) or other non-audio signals.
Perhaps a sample rate of 0 could be used to signal non-audio data. Of
course these signals also have a sample rate, but for laserdisc, the
sample rate lies outside what can be stored by FLAC.

Any thoughts?