From patchwork Tue Mar 5 20:52:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 61382 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E916E27BBEA; Tue, 5 Mar 2024 20:53:59 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3B02427BBE2 for ; Tue, 5 Mar 2024 20:53:56 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhbn6-0002A5-LC; Tue, 05 Mar 2024 15:53:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhbn4-00029i-Lv for guix-patches@gnu.org; Tue, 05 Mar 2024 15:53:34 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rhbn3-0003eA-Ay for guix-patches@gnu.org; Tue, 05 Mar 2024 15:53:33 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhbnW-0007lK-1M; Tue, 05 Mar 2024 15:54:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69568] [PATCH] gnu: Add alsa-midi-latency-test. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: gabriel@erlikon.ch, guix-patches@gnu.org Resent-Date: Tue, 05 Mar 2024 20:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69568 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69568@debbugs.gnu.org Cc: Giacomo Leidi , Gabriel Wicki X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Gabriel Wicki Received: via spool by submit@debbugs.gnu.org id=B.170967200629781 (code B ref -1); Tue, 05 Mar 2024 20:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Mar 2024 20:53:26 +0000 Received: from localhost ([127.0.0.1]:49156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhbmv-0007kE-72 for submit@debbugs.gnu.org; Tue, 05 Mar 2024 15:53:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:37306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhbmr-0007k2-Du for submit@debbugs.gnu.org; Tue, 05 Mar 2024 15:53:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhbmL-00023v-Eu for guix-patches@gnu.org; Tue, 05 Mar 2024 15:52:50 -0500 Received: from confino.investici.org ([2a11:7980:1::2:0]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhbmI-0003FV-Rf for guix-patches@gnu.org; Tue, 05 Mar 2024 15:52:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1709671953; bh=b4Y/xSOBLmV59YwHmTt2r/uq39K9tGHXPgQG36ZZkIU=; h=From:To:Cc:Subject:Date:From; b=aePPraSBCh4WSk+hQ4YCNhAoZV/mPESV77ZmnMT02uaDTMrjRpXG2fOSlSP2WVElb iPxAwnSBIk1JHJr2lvsox8ZChE559jlyWAQJiU99CgJW0bPZZOhrbdq05RPEQMzV5q gYFvkGJIdw6wwB2iAibc2PwjvRGhNAmV+ZW7PXyQ= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4Tq76n4DCfz113C; Tue, 5 Mar 2024 20:52:33 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Tq76n3CbPz10n7; Tue, 5 Mar 2024 20:52:33 +0000 (UTC) Date: Tue, 5 Mar 2024 21:52:22 +0100 Message-ID: <6c5bf499c159e1c01846590b4cc52f840d3dce2e.1709671942.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a11:7980:1::2:0; envelope-from=goodoldpaul@autistici.org; helo=confino.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/audio.scm (alsa-midi-latency-test): New variable. Change-Id: I35d3047cb997c5787de515a38ae0a0eb8f12600d --- gnu/packages/audio.scm | 44 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) base-commit: f18d13b5f89c161c6ee88d15ecdaa8d973ee4503 diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 578a0bd016..46897bf213 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -31,7 +31,7 @@ ;;; Copyright © 2020 Vincent Legoll ;;; Copyright © 2020, 2021 Guillaume Le Vaillant ;;; Copyright © 2020 Jonathan Frederickson -;;; Copyright © 2020 Giacomo Leidi +;;; Copyright © 2020, 2024 Giacomo Leidi ;;; Copyright © 2020, 2021, 2023 Vinicius Monego ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2021 jgart @@ -261,6 +261,48 @@ (define-public wildmidi ;; Player. license:gpl3+)))) +(define-public alsa-midi-latency-test + (let ((version "0.0.5") + (revision "0") + (commit "07e43f8a1e6fd6d3bd97a00f2ee5afb74cb66f95")) + (package + (name "alsa-midi-latency-test") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/koppi/alsa-midi-latency-test") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0b3xd4z7zx6mmh6q2q7wnyd0hzikny2cikwzhaab3q86b551vb9n")))) + (build-system gnu-build-system) + (arguments + (list + ;; There are no tests. + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (replace 'bootstrap + (lambda _ + (invoke "sh" "./autogen.sh")))))) + (native-inputs + (list + automake + autoconf + libtool)) + (inputs (list alsa-lib)) + (synopsis + "Measure the roundtrip time of MIDI messages") + (description + "@code{alsa-midi-latency-test} measures the roundtrip time of a MIDI +message in the alsa subsystem of the Linux kernel using a high precision timer. +It calculates the worst case roundtrip time of all sent MIDI messages and +displays a histogram of the roundtrip time jitter.") + (home-page "https://github.com/koppi/alsa-midi-latency-test") + (license license:gpl2)))) + (define-public webrtc-audio-processing (package (name "webrtc-audio-processing")