guix_mirror_bot pushed a commit to branch astro-update
in repository guix.

commit 13352dfe6cd9d32370c21918854b146e0dd0f890
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Mar 15 21:54:19 2026 +0000

    gnu: Add python-pyo.
    
    * gnu/packages/audio.scm (python-pyo): New variable.
    
    Change-Id: Ibb03f58837f2c93cce68ef3073265ed466a61869
---
 gnu/packages/audio.scm | 55 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 54 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index d9090281c8..55d415ddfe 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -42,7 +42,7 @@
 ;;; Copyright © 2022 Andy Tai <[email protected]>
 ;;; Copyright © 2023 Sergiu Ivanov <[email protected]>
 ;;; Copyright © 2023 David Thompson <[email protected]>
-;;; Copyright © 2023 Sharlatan Hellseher <[email protected]>
+;;; Copyright © 2023, 2025-2026 Sharlatan Hellseher <[email protected]>
 ;;; Copyright © 2023 Gabriel Wicki <[email protected]>
 ;;; Copyright © 2023 Zheng Junjie <[email protected]>
 ;;; Copyright © 2023 Parnikkapore <[email protected]>
@@ -6357,6 +6357,59 @@ It is currently fairly complete for PCM devices, and has 
some support for
 mixers.")
     (license license:psfl)))
 
+(define-public python-pyo
+  (package
+    (name "python-pyo")
+    (version "1.0.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/belangeo/pyo";)
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1igz75kv94dav28rzz19gckgfgdli05q5ghadlvm03ia7xd9l5zm"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+     ;; TODO: collecting ... Fatal Python error: Segmentation fault
+      #:tests? #f
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'sanity-check 'set-HOME
+            (lambda _
+              (setenv "HOME" "/tmp"))))))
+    (native-inputs
+     (list python-pytest
+           python-setuptools))
+    (inputs
+     (list liblo
+           libsndfile
+           portaudio
+           portmidi))
+    (propagated-inputs
+     (list python-wxpython))
+    (home-page "https://github.com/belangeo/pyo";)
+    (synopsis "Python module to build digital signal processing program")
+    (description
+     "pyo is a Python module containing classes for a wide variety of audio
+signal processing types.
+
+With pyo, user will be able to include signal processing chains directly in
+Python scripts or projects, and to manipulate them in real time through the
+interpreter.  Tools in pyo module offer primitives, like mathematical
+operations on audio signal, basic signal processing (filters, delays,
+synthesis generators, etc.), but also complex algorithms to create sound
+granulation and others creative audio manipulations.
+
+pyo supports OSC protocol (Open Sound Control), to ease communications between
+softwares, and MIDI protocol, for generating sound events and controlling
+process parameters.  pyo allows creation of sophisticated signal processing
+chains with all the benefits of a mature, and widely used, general programming
+language.")
+    (license license:lgpl3+)))
+
 (define-public ldacbt
   (package
     (name "ldacbt")

Reply via email to