From unknown Sat Jun 21 10:45:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#58809] [PATCH] gnu: Add samplebrain. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Oct 2022 01:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58809 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58809@debbugs.gnu.org Cc: Antero Mejr X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166683290223929 (code B ref -1); Thu, 27 Oct 2022 01:09:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Oct 2022 01:08:22 +0000 Received: from localhost ([127.0.0.1]:55624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onrNd-0006Ds-Ll for submit@debbugs.gnu.org; Wed, 26 Oct 2022 21:08:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:51478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onrNa-0006Dj-Ay for submit@debbugs.gnu.org; Wed, 26 Oct 2022 21:08:19 -0400 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 1onrNZ-0006J9-3s for guix-patches@gnu.org; Wed, 26 Oct 2022 21:08:17 -0400 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1onrNR-00042i-GS for guix-patches@gnu.org; Wed, 26 Oct 2022 21:08:16 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4MySGR3N8yz9sRM for ; Thu, 27 Oct 2022 03:07:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1666832879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=LWCz2C2skgnYLcxg6Ek8F/EqlfcqOpqu894YsrXYSHE=; b=TvoOHw6vcTO5PzA0JwfB//pw/pa67eAC+uTyT0t6dqa5C7Zs8aStS3QkbJzYQNJKz+bQzE JrtYBa9HxxaVWI1K8j2gdkhDlED46Sxr0KSwviLRPIYspsSuKBJ9O+vfyW92mQPo5+oY0a bsQFxPrk9RgxdpcU+Q8EagOR3nsjdncHTIz9lze2xpKwUhVM2ejuzbbWwsT/tvnVr7S4Ca z5RsveI4aOMW6j3CQALD136l1s8/UvB1AEOIK8H45kULxwtATPUP/cJVfstBRVQ6PArux0 JgoslTR+0XfbiLZQMhG51ApGWjJAxPJbI1o9OdCSTt5/uueAeHvtLk4ChSzcwQ== From: Antero Mejr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1666832877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=LWCz2C2skgnYLcxg6Ek8F/EqlfcqOpqu894YsrXYSHE=; b=T0ix5Z7+V//Uy90EBhgHkuxcKyA/7ye54WxR75Z867lPPe3Ced3Tbu/HauFNXG/+pyAifH GlOwiUjYrlcwJi4CECsa+EGItR/bBllJvELlvaBcJ58C1jot4PhNrzFvvE2/uAvORxAQx5 YwZa8ni3lWWFd5XAyHe1T7KTQFGWiiQViwdGmcdaE6p3Q5gInMqIK4qX3+4nLxtJZdf6jh 47mQ7ojdy19KF/iQ2DngIYin4INs0LRTpTc2544rh040vBV7QokNVFDxUtMBWF56gKAtoE DnsF0pGjzKmTL/kV0HOUxgBd6xeWm+0pJn2LS3kqzbCsxuyagE2jDfDr3wZL7Q== Date: Thu, 27 Oct 2022 01:07:49 +0000 Message-Id: <20221027010749.3291-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-META: 6jc571co1xjn8zk6o5f5zdunidntqpae X-MBO-RS-ID: d6cacc98f3371385b5f X-Rspamd-Queue-Id: 4MySGR3N8yz9sRM Received-SPF: pass client-ip=2001:67c:2050:0:465::103; envelope-from=antero@mailbox.org; helo=mout-p-103.mailbox.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_NONE=0.001, SPF_PASS=-0.001, T_PDS_PRO_TLD=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/music.scm (samplebrain): New variable. --- gnu/packages/music.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 72299f13f1..d1d56f149f 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -6899,6 +6899,37 @@ (define-public orca-music (home-page "https://100r.co/site/orca.html") (license license:expat)))) +(define-public samplebrain + (package + (name "samplebrain") + (version "0.18.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/then-try-this/samplebrain") + (commit (string-append version "_release")))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "14ynmnyg0mmrl7z7241yc5wxxsrjyqmzs1ds1kh8shkach8j05rx")))) + (build-system qt-build-system) + (arguments + (list #:tests? #f ;no tests + #:phases #~(modify-phases %standard-phases + (replace 'configure + (lambda _ + (substitute* "samplebrain.pro" + (("\\/usr") #$output)) + (invoke "qmake")))))) + (inputs (list fftw liblo libsndfile portaudio)) + (home-page "https://thentrythis.org/projects/samplebrain/") + (synopsis "Sample mashing synthesizer designed by Aphex Twin") + (description "Samplebrain chops samples up into a 'brain' of interconnected +small sections called blocks which are connected into a network by similarity. +It processes a target sample, chopping it up into blocks in the same way, and +tries to match each block with one in its brain to play in realtime.") + (license license:gpl2))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar -- 2.37.3 From unknown Sat Jun 21 10:45:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#58809] [PATCH] gnu: Add samplebrain. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Mar 2023 12:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58809 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Antero Mejr Cc: 58809@debbugs.gnu.org Received: via spool by 58809-submit@debbugs.gnu.org id=B58809.167940194311078 (code B ref 58809); Tue, 21 Mar 2023 12:33:02 +0000 Received: (at 58809) by debbugs.gnu.org; 21 Mar 2023 12:32:23 +0000 Received: from localhost ([127.0.0.1]:57826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pebA7-0002sc-9I for submit@debbugs.gnu.org; Tue, 21 Mar 2023 08:32:23 -0400 Received: from mail-qt1-f174.google.com ([209.85.160.174]:35429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pebA5-0002sP-LP for 58809@debbugs.gnu.org; Tue, 21 Mar 2023 08:32:22 -0400 Received: by mail-qt1-f174.google.com with SMTP id ay22so6190273qtb.2 for <58809@debbugs.gnu.org>; Tue, 21 Mar 2023 05:32:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679401936; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=iF3my04QndiqnYcY+KC5zOUJhep7+yRGLs6ez/N4E0Y=; b=P12ndtKBMMYXOjwRGmgrOqpNOSRwZjN+SF6nS5HvSqk7MviQw3KYlF7BtmVgDlVxcR TSuklGPMnL697DppXafX6KCs6E9gRnCNrsU0kjYMPIPRT9aNSwwRNC66eEVx0tETR8oQ OvADd7iX76e1j7VagteHAWm/3Gpqz2olBzIKCc6aAQEkxsC5F0BNs+1ecQnNcmGzn/P3 f/t4TYe/+69aKKvUdNrDSeIsAxErZWqZEQnYXebyh2K29w5g0rQIX7V/veMqUWX/mR5U gajpni5v8LSAG3LtXLh1A3hzVRX8NQ1/IO03OSxQgHhvn0Exh7NPa//vwCHRDk3OtVAw l/0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679401936; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=iF3my04QndiqnYcY+KC5zOUJhep7+yRGLs6ez/N4E0Y=; b=gD2Fhr8TymmxbkRgy2UYNWyRhc2uH5Ur+7N8+vwa9FUS8ZMJeVepxuxJIkBQZvWqGm 5xO03t0U/ob7fCXlY/n7nZOYx1BxM+JLtH/OUfFreUuDZCzAidfzN/5kBspd2+hBJ9tQ HobCjzT27ITA4rINIZRkRiumV81RirQgAjH0sMmwVFfnu9feYibOS9HjFRHltPKxLs+q AP57U5/t98hmQwfmuWO9eQuLpCrseAXyT3ybOntspmzV+9OI81WlmCFGEOR7ULJuIRfE dN/7W0MYBkBUGo3zonz2e4qv/ryIpUrsysv6oYgZ+Kb3rMxSazgTMx6QcI27UAm4yiq7 yY+A== X-Gm-Message-State: AO0yUKX4fqdpGLhA4I6YliHnpKXYIcCAWmwYYZhOZm2TWDOXmBJfH9Zw Bj3VD5uf5AxeW++NvO4420cKhJJ275Mpvg== X-Google-Smtp-Source: AK7set8Wi+IPJVjcSjBplUXt3KUaxFmBs8mcblOp9gFUiN0ZaTFW11Dx/mtvP8FxAn1G5x88YtN4ag== X-Received: by 2002:ac8:5c0c:0:b0:3e3:7c84:8d3d with SMTP id i12-20020ac85c0c000000b003e37c848d3dmr3944974qti.3.1679401935799; Tue, 21 Mar 2023 05:32:15 -0700 (PDT) Received: from hurd (dsl-10-130-195.b2b2c.ca. [72.10.130.195]) by smtp.gmail.com with ESMTPSA id h2-20020ac85682000000b003e388264753sm13496qta.65.2023.03.21.05.32.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 05:32:15 -0700 (PDT) From: Maxim Cournoyer References: <20221027010749.3291-1-antero@mailbox.org> Date: Tue, 21 Mar 2023 08:32:14 -0400 In-Reply-To: <20221027010749.3291-1-antero@mailbox.org> (Antero Mejr's message of "Thu, 27 Oct 2022 01:07:49 +0000") Message-ID: <87y1nqs2sx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Antero, Antero Mejr writes: > * gnu/packages/music.scm (samplebrain): New variable. > --- > gnu/packages/music.scm | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm > index 72299f13f1..d1d56f149f 100644 > --- a/gnu/packages/music.scm > +++ b/gnu/packages/music.scm > @@ -6899,6 +6899,37 @@ (define-public orca-music > (home-page "https://100r.co/site/orca.html") > (license license:expat)))) > > +(define-public samplebrain > + (package > + (name "samplebrain") > + (version "0.18.4") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://gitlab.com/then-try-this/samplebrain") > + (commit (string-append version "_release")))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "14ynmnyg0mmrl7z7241yc5wxxsrjyqmzs1ds1kh8shkach8j05rx")))) > + (build-system qt-build-system) > + (arguments > + (list #:tests? #f ;no tests > + #:phases #~(modify-phases %standard-phases > + (replace 'configure > + (lambda _ > + (substitute* "samplebrain.pro" > + (("\\/usr") #$output)) > + (invoke "qmake")))))) > + (inputs (list fftw liblo libsndfile portaudio)) > + (home-page "https://thentrythis.org/projects/samplebrain/") > + (synopsis "Sample mashing synthesizer designed by Aphex Twin") > + (description "Samplebrain chops samples up into a 'brain' of interconnected > +small sections called blocks which are connected into a network by similarity. > +It processes a target sample, chopping it up into blocks in the same way, and > +tries to match each block with one in its brain to play in realtime.") > + (license license:gpl2))) Thanks! The license, which is gpl2+ (version 2 or later), according to the LICENSE file (and source copyright headers). I was about to push this, but running the binary yields: --8<---------------cut here---------------start------------->8--- $ /gnu/store/qi31sc2z7nbi4c3wpj7w218fgbjmfsns-samplebrain-0.18.4/bin/samplebrain liblo server error 9904 Segmentation fault --8<---------------cut here---------------end--------------->8--- Could you please look into that? -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 21 08:32:39 2023 Received: (at control) by debbugs.gnu.org; 21 Mar 2023 12:32:40 +0000 Received: from localhost ([127.0.0.1]:57829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pebAN-0002t7-Nn for submit@debbugs.gnu.org; Tue, 21 Mar 2023 08:32:39 -0400 Received: from mail-qv1-f41.google.com ([209.85.219.41]:43765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pebAL-0002su-E0 for control@debbugs.gnu.org; Tue, 21 Mar 2023 08:32:37 -0400 Received: by mail-qv1-f41.google.com with SMTP id jl13so9728635qvb.10 for ; Tue, 21 Mar 2023 05:32:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679401952; h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id :reply-to; bh=J0U+6TBjDRHegjA79uwEV6RQPRy/pIZ1Pr/Uh7EATHg=; b=b0+RildXEjqNFbwskAGjDJEJnxbUMqr1C75ljqS8K9fJt9fYprpktQRtXJKNdlUrmf XbcDtZlEwVA/3IvzZ8VTuH3bkHIrb5CFhmcT5RVk6gDiCmo9Z0fknEyBlvjXwepkJrQ8 JyS2GYC+uCszJ864azPmYTMp7Z0x6tRVRVYJjtqKZ+BYyGbPKXsRp0p8AN/QtTDzo7v5 EIneSJap4a0QwTJy4L+7E0MRxHPdcQl6lqorq3yTyip1KCoS0enQTFa13iFEJ3/lal7k +2ICMApqbgH4feavy5HXeIYuFnjxJmUfi2zRqPQjqAx6RbnATCLBXjN9CrpSeQYz9Vyl BbVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679401952; h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J0U+6TBjDRHegjA79uwEV6RQPRy/pIZ1Pr/Uh7EATHg=; b=EI/64afKYmKbELFgHbbbyYmdUPg4Q1m9TKWdA0dAykyQ4VIsdVxbZ3KoC/11bcqDs3 NkWIObc9flaooVGxWyVw9JxAvmONA8pJINYr3l9LPB6xa7skxL4oCAh4s8N48SKnqcZK S5EKrJEZ1TrrIkAePzyCVsQAETJKBXq2/Nu59FOHLrjp3DAmLGQVV0ofRElAG6VZNWEs RYUGcB0z5KPIAFFkMI432L3YIoE5pt/ECmoavBS6dzrrty0ScxoSLmlREgWEO+zUhx6g Ljko7fMRDjWz9DQJwKtbYKAAXGPtixKWvfqH5/J1A957U2Xl69smqF4oub/ufTjSUs69 dHDw== X-Gm-Message-State: AO0yUKXW1ci6s0rTjjWJf3tnSK/rjnvX27KokwIk/HbCS3QHpzpobtWx 4Ua9l/qwUzfRnEHI4rEpn1RKIz3I1xQ34A== X-Google-Smtp-Source: AK7set+UuuZAurD4xB3ivCqYE3zZQQXpYZ3mtsDrjGo+uiWYe0xNLZbBjkNxvbS5Gi5hhNuM/nPJLw== X-Received: by 2002:a05:6214:627:b0:5aa:1945:6c37 with SMTP id a7-20020a056214062700b005aa19456c37mr3173542qvx.46.1679401951713; Tue, 21 Mar 2023 05:32:31 -0700 (PDT) Received: from hurd (dsl-10-130-195.b2b2c.ca. [72.10.130.195]) by smtp.gmail.com with ESMTPSA id 123-20020a370581000000b007456df35859sm4808215qkf.74.2023.03.21.05.32.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 05:32:31 -0700 (PDT) Date: Tue, 21 Mar 2023 08:32:30 -0400 Message-Id: <87wn3as2sh.fsf@gmail.com> To: control@debbugs.gnu.org From: Maxim Cournoyer Subject: control message for bug #58809 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 58809 + moreinfo quit From unknown Sat Jun 21 10:45:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#58809] [PATCH] gnu: Add samplebrain. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Mar 2023 14:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58809 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: Maxim Cournoyer Cc: 58809@debbugs.gnu.org Received: via spool by 58809-submit@debbugs.gnu.org id=B58809.1679410552562 (code B ref 58809); Tue, 21 Mar 2023 14:56:02 +0000 Received: (at 58809) by debbugs.gnu.org; 21 Mar 2023 14:55:52 +0000 Received: from localhost ([127.0.0.1]:60178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pedOy-000090-75 for submit@debbugs.gnu.org; Tue, 21 Mar 2023 10:55:52 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:57376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pedOp-00008e-MA for 58809@debbugs.gnu.org; Tue, 21 Mar 2023 10:55:51 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4PgvmR4Jq8z9syW; Tue, 21 Mar 2023 15:55:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1679410535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dNjHFGzPl3WlHHBUZ8UcSGMPo/L2ILlEq6b3GnbPwIs=; b=fQX9/c94ugFlKCmKhjem1x03qWSH2bWZKXC2q2DQPQl5zM+zfhpmbrY/wZJsfBbwjQyIzL ZnZi7+TOsUgzXw7e2jo7f7ZiTsiN7bBUHkSgD58UzJquoJ7wo2Oi98XqUZt2328bPL250g 25ir7+ma/UD/ibOt7aoHlL/hHxuYvWuJgSnBZomS5+IY8MdKti7zG2gyMaYTHJiZvqI4Xl 7GB2RQkrK9nQKfF3wofaMChqEMoXDnOhQ1NafpVheGw04yjvvh9bANgVAULYlG1jOzi9Ls tjRGLnGUHS73MtkndONNHFcf8A6ayVzaXUSl6TttCjlZ7N9fA4XOBSuvIc5KrQ== From: Antero Mejr In-Reply-To: <87y1nqs2sx.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 21 Mar 2023 08:32:14 -0400") References: <20221027010749.3291-1-antero@mailbox.org> <87y1nqs2sx.fsf@gmail.com> Date: Tue, 21 Mar 2023 14:55:26 +0000 Message-ID: <87wn3a40ip.fsf@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain X-MBO-RS-META: 5pheiog6xmfu9buncw9165yfrfnu88pb X-MBO-RS-ID: 926c55fc40abb699581 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Maxim Cournoyer writes: > Thanks! The license, which is gpl2+ (version 2 or later), according to > the LICENSE file (and source copyright headers). Fixed in v2. > I was about to push this, but running the binary yields: > > $ /gnu/store/qi31sc2z7nbi4c3wpj7w218fgbjmfsns-samplebrain-0.18.4/bin/samplebrain > liblo server error 9904 > Segmentation fault > > Could you please look into that? It looks like that error is because liblo is unable to bind to a port to create an OSC server. Samplebrain starts up that server on init to do its audio routing. Were you running the binary in a container, or on a system that does not have a soundcard or audio software (ALSA, Jack) set up? I can't reproduce that error on my ALSA-based system. Semi-related, is there going to be a revert to fix QT_PLUGIN_PATH on Wayland? I saw it was being discussed at: https://issues.guix.gnu.org/57742 When I run QT applications under XWayland, there is a dialog box bug that crashes my WM (Sway) and requires a reboot. I first noticed it when running the dolphin emulator, but now I see it with Samplebrain too. From unknown Sat Jun 21 10:45:25 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Antero Mejr Subject: bug#58809: closed (Re: bug#58809: [PATCH] gnu: Add samplebrain.) Message-ID: References: <87o7omngi6.fsf@gmail.com> <20221027010749.3291-1-antero@mailbox.org> X-Gnu-PR-Message: they-closed 58809 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: moreinfo patch Reply-To: 58809@debbugs.gnu.org Date: Tue, 21 Mar 2023 17:48:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1679420881-4464-1" This is a multi-part message in MIME format... ------------=_1679420881-4464-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #58809: [PATCH] gnu: Add samplebrain. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 58809@debbugs.gnu.org. --=20 58809: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58809 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1679420881-4464-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 58809-done) by debbugs.gnu.org; 21 Mar 2023 17:47:38 +0000 Received: from localhost ([127.0.0.1]:60473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peg5B-00017T-RN for submit@debbugs.gnu.org; Tue, 21 Mar 2023 13:47:38 -0400 Received: from mail-qv1-f45.google.com ([209.85.219.45]:41583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peg5A-00016r-8F for 58809-done@debbugs.gnu.org; Tue, 21 Mar 2023 13:47:36 -0400 Received: by mail-qv1-f45.google.com with SMTP id g9so10358659qvt.8 for <58809-done@debbugs.gnu.org>; Tue, 21 Mar 2023 10:47:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679420850; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=pFspEi3+cof8a9SN4Cs7JLQawsJu7wG35k0FW0g8G/g=; b=YyQ/tsu4+3jDkPIixZ9nIVAjxky7IKgsVWZZ6vAskjUIBrPLxVddpoRzqjRSktIbY1 B8RSNLtd0L1P9PgtRr+ynpYy4aRuEAvoG/VtFD2MPbP4N281GhliKJpXkuQYaKiwz7Qn y8WafmmkvSpmGx2wK9ZROA+6JpR9Jyal+V9dn1DFUVljCaQIn6/BBIjJkxgCKWZ2sVrF sopP3jMQvr8X7FafHbiXidthM6ZFGquinRQ2UU3F6FL/96cbOWcaJ3GYGsY0tvVyx4e6 FRaHLXjLKhST67nASJpd2v8wuZnq9AOtdvT2Dre91kX+cvKGH8OSkxYgSVM29CRV5xf4 9mPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679420850; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=pFspEi3+cof8a9SN4Cs7JLQawsJu7wG35k0FW0g8G/g=; b=FKCREes250S5v9FCU/qpSfFEk+roRVR1GqSTLmSn9xfDLQZy3go9qSjVY/ftHcD6GE mG1wLB+iHujDoM47OqSsN2tSNFWGoBMXIoGjZEeqYp4JYpvF3W6Ne9s2Vm8lqsS1Krs4 MlMVLL/oIe6X9awT+ckJPN6GeFu6U36GjA98ilwxqRhrmyphNgiUhH5Cyt77TISb2Sb0 1YYGWazBQpTpgwTVal71GJn3GcxFegDgIHY/qm7lzcyxpjmgs+9dsY1mSQM3YZL4bk4e QQhGJhrZAmkAZkTTpyNTSFY3PX+Z4ThNLt+SCQR5iJSItM27wLdM3Lkb7XCkte3ntdpX 4zqQ== X-Gm-Message-State: AO0yUKWknd7jy0mdeeIzp9q4Sqgw+Nzxq+fykTZU4hGGmtztM0nywG4r WkLydClBlWnnrfmnCaxg25RqIF/CyE8j/g== X-Google-Smtp-Source: AK7set8Q6A9n/G+kdZDOKB3MJWFaHf1FznxZiAlSr2OIwiT2BSiLJYyeRwg86KP8wMOk4Pp+ICPwFw== X-Received: by 2002:ad4:5ecf:0:b0:5a4:548e:4ed6 with SMTP id jm15-20020ad45ecf000000b005a4548e4ed6mr1477643qvb.40.1679420850511; Tue, 21 Mar 2023 10:47:30 -0700 (PDT) Received: from hurd (dsl-10-130-195.b2b2c.ca. [72.10.130.195]) by smtp.gmail.com with ESMTPSA id z9-20020a376509000000b0074283b87a4esm2505591qkb.90.2023.03.21.10.47.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 10:47:30 -0700 (PDT) From: Maxim Cournoyer To: Antero Mejr Subject: Re: bug#58809: [PATCH] gnu: Add samplebrain. References: <20221027010749.3291-1-antero@mailbox.org> <87y1nqs2sx.fsf@gmail.com> <87wn3a40ip.fsf@mailbox.org> Date: Tue, 21 Mar 2023 13:47:29 -0400 In-Reply-To: <87wn3a40ip.fsf@mailbox.org> (Antero Mejr's message of "Tue, 21 Mar 2023 14:55:26 +0000") Message-ID: <87o7omngi6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58809-done Cc: 58809-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Antero, Antero Mejr writes: > Maxim Cournoyer writes: > >> Thanks! The license, which is gpl2+ (version 2 or later), according to >> the LICENSE file (and source copyright headers). > > Fixed in v2. > >> I was about to push this, but running the binary yields: >> >> $ /gnu/store/qi31sc2z7nbi4c3wpj7w218fgbjmfsns-samplebrain-0.18.4/bin/samplebrain >> liblo server error 9904 >> Segmentation fault >> >> Could you please look into that? > > It looks like that error is because liblo is unable to bind to a port to > create an OSC server. Samplebrain starts up that server on init to do > its audio routing. Were you running the binary in a container, or on a > system that does not have a soundcard or audio software (ALSA, Jack) set > up? > I can't reproduce that error on my ALSA-based system. I use pulseaudio/ALSA. I haven't tried with Jack running. I've tried with your v2 update, and it worked! So I've now pushed it, adding your copyright line at the top. > Semi-related, is there going to be a revert to fix QT_PLUGIN_PATH on > Wayland? I saw it was being discussed at: > https://issues.guix.gnu.org/57742 > > When I run QT applications under XWayland, there is a dialog box bug > that crashes my WM (Sway) and requires a reboot. I first noticed it when > running the dolphin emulator, but now I see it with Samplebrain too. It would need to be attempted and see if everything runs well even when mixing Qt 5 and 6 in QT_PLUGIN_PATH, but upstream says it should. -- Thanks, Maxim ------------=_1679420881-4464-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Oct 2022 01:08:22 +0000 Received: from localhost ([127.0.0.1]:55624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onrNd-0006Ds-Ll for submit@debbugs.gnu.org; Wed, 26 Oct 2022 21:08:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:51478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onrNa-0006Dj-Ay for submit@debbugs.gnu.org; Wed, 26 Oct 2022 21:08:19 -0400 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 1onrNZ-0006J9-3s for guix-patches@gnu.org; Wed, 26 Oct 2022 21:08:17 -0400 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1onrNR-00042i-GS for guix-patches@gnu.org; Wed, 26 Oct 2022 21:08:16 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4MySGR3N8yz9sRM for ; Thu, 27 Oct 2022 03:07:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1666832879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=LWCz2C2skgnYLcxg6Ek8F/EqlfcqOpqu894YsrXYSHE=; b=TvoOHw6vcTO5PzA0JwfB//pw/pa67eAC+uTyT0t6dqa5C7Zs8aStS3QkbJzYQNJKz+bQzE JrtYBa9HxxaVWI1K8j2gdkhDlED46Sxr0KSwviLRPIYspsSuKBJ9O+vfyW92mQPo5+oY0a bsQFxPrk9RgxdpcU+Q8EagOR3nsjdncHTIz9lze2xpKwUhVM2ejuzbbWwsT/tvnVr7S4Ca z5RsveI4aOMW6j3CQALD136l1s8/UvB1AEOIK8H45kULxwtATPUP/cJVfstBRVQ6PArux0 JgoslTR+0XfbiLZQMhG51ApGWjJAxPJbI1o9OdCSTt5/uueAeHvtLk4ChSzcwQ== From: Antero Mejr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1666832877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=LWCz2C2skgnYLcxg6Ek8F/EqlfcqOpqu894YsrXYSHE=; b=T0ix5Z7+V//Uy90EBhgHkuxcKyA/7ye54WxR75Z867lPPe3Ced3Tbu/HauFNXG/+pyAifH GlOwiUjYrlcwJi4CECsa+EGItR/bBllJvELlvaBcJ58C1jot4PhNrzFvvE2/uAvORxAQx5 YwZa8ni3lWWFd5XAyHe1T7KTQFGWiiQViwdGmcdaE6p3Q5gInMqIK4qX3+4nLxtJZdf6jh 47mQ7ojdy19KF/iQ2DngIYin4INs0LRTpTc2544rh040vBV7QokNVFDxUtMBWF56gKAtoE DnsF0pGjzKmTL/kV0HOUxgBd6xeWm+0pJn2LS3kqzbCsxuyagE2jDfDr3wZL7Q== To: guix-patches@gnu.org Subject: [PATCH] gnu: Add samplebrain. Date: Thu, 27 Oct 2022 01:07:49 +0000 Message-Id: <20221027010749.3291-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-META: 6jc571co1xjn8zk6o5f5zdunidntqpae X-MBO-RS-ID: d6cacc98f3371385b5f X-Rspamd-Queue-Id: 4MySGR3N8yz9sRM Received-SPF: pass client-ip=2001:67c:2050:0:465::103; envelope-from=antero@mailbox.org; helo=mout-p-103.mailbox.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_NONE=0.001, SPF_PASS=-0.001, T_PDS_PRO_TLD=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Antero Mejr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/music.scm (samplebrain): New variable. --- gnu/packages/music.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 72299f13f1..d1d56f149f 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -6899,6 +6899,37 @@ (define-public orca-music (home-page "https://100r.co/site/orca.html") (license license:expat)))) +(define-public samplebrain + (package + (name "samplebrain") + (version "0.18.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/then-try-this/samplebrain") + (commit (string-append version "_release")))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "14ynmnyg0mmrl7z7241yc5wxxsrjyqmzs1ds1kh8shkach8j05rx")))) + (build-system qt-build-system) + (arguments + (list #:tests? #f ;no tests + #:phases #~(modify-phases %standard-phases + (replace 'configure + (lambda _ + (substitute* "samplebrain.pro" + (("\\/usr") #$output)) + (invoke "qmake")))))) + (inputs (list fftw liblo libsndfile portaudio)) + (home-page "https://thentrythis.org/projects/samplebrain/") + (synopsis "Sample mashing synthesizer designed by Aphex Twin") + (description "Samplebrain chops samples up into a 'brain' of interconnected +small sections called blocks which are connected into a network by similarity. +It processes a target sample, chopping it up into blocks in the same way, and +tries to match each block with one in its brain to play in realtime.") + (license license:gpl2))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar -- 2.37.3 ------------=_1679420881-4464-1--