all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#69568] [PATCH] gnu: Add alsa-midi-latency-test.
@ 2024-03-05 20:52 Giacomo Leidi via Guix-patches via
  2024-03-19 16:30 ` bug#69568: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Giacomo Leidi via Guix-patches via @ 2024-03-05 20:52 UTC (permalink / raw)
  To: 69568; +Cc: Giacomo Leidi, Gabriel Wicki

* 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(-)

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 <vincent.legoll@gmail.com>
 ;;; Copyright © 2020, 2021 Guillaume Le Vaillant <glv@posteo.net>
 ;;; Copyright © 2020 Jonathan Frederickson <jonathan@terracrypt.net>
-;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2020, 2024 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2020, 2021, 2023 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
@@ -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")

base-commit: f18d13b5f89c161c6ee88d15ecdaa8d973ee4503
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#69568: [PATCH] gnu: Add alsa-midi-latency-test.
  2024-03-05 20:52 [bug#69568] [PATCH] gnu: Add alsa-midi-latency-test Giacomo Leidi via Guix-patches via
@ 2024-03-19 16:30 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-03-19 16:30 UTC (permalink / raw)
  To: Giacomo Leidi; +Cc: Gabriel Wicki, 69568-done

Hi,

Giacomo Leidi <goodoldpaul@autistici.org> skribis:

> * gnu/packages/audio.scm (alsa-midi-latency-test): New variable.
>
> Change-Id: I35d3047cb997c5787de515a38ae0a0eb8f12600d

I passed it through ‘guix style’ and changed the license to ‘gpl2+’
since nothing states that it’s version 2 only.

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-19 16:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-05 20:52 [bug#69568] [PATCH] gnu: Add alsa-midi-latency-test Giacomo Leidi via Guix-patches via
2024-03-19 16:30 ` bug#69568: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.