From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MJu4A5VTG2RvGQAASxT56A (envelope-from ) for ; Wed, 22 Mar 2023 20:14:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GGqsA5VTG2SJCAEAauVa8A (envelope-from ) for ; Wed, 22 Mar 2023 20:14:29 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C1E1E3CFF7 for ; Wed, 22 Mar 2023 20:14:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pf3uO-0004IE-JF; Wed, 22 Mar 2023 15:14:04 -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 1pf3uN-0004Hy-5M for bug-guix@gnu.org; Wed, 22 Mar 2023 15:14:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pf3uM-0004VD-TV for bug-guix@gnu.org; Wed, 22 Mar 2023 15:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pf3uM-000174-JG for bug-guix@gnu.org; Wed, 22 Mar 2023 15:14:02 -0400 Subject: bug#49753: musescore does not play sounds (Not a valid SNDFILE* pointer) Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 22 Mar 2023 19:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 49753 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Prikler Cc: Giovanni Biscuolo , 49753-done@debbugs.gnu.org Mail-Followup-To: 49753@debbugs.gnu.org, maxim.cournoyer@gmail.com, g@xelera.eu Received: via spool by 49753-done@debbugs.gnu.org id=D49753.16795124324249 (code D ref 49753); Wed, 22 Mar 2023 19:14:02 +0000 Received: (at 49753-done) by debbugs.gnu.org; 22 Mar 2023 19:13:52 +0000 Received: from localhost ([127.0.0.1]:36744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pf3uB-00016T-N6 for submit@debbugs.gnu.org; Wed, 22 Mar 2023 15:13:52 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:38744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pf3uA-00016H-0l for 49753-done@debbugs.gnu.org; Wed, 22 Mar 2023 15:13:50 -0400 Received: by mail-qt1-f170.google.com with SMTP id w25so1427111qtc.5 for <49753-done@debbugs.gnu.org>; Wed, 22 Mar 2023 12:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679512424; h=content-transfer-encoding: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=DolIaa62ZsXy10oh+AFQg3him0qF8K4jiiWar2TyMww=; b=Y9662rTFQh6yi/eevZYxqSl0nbHhWSBwwc711dk4XfozkGKh3hGnd5gdFYUDG/Ynqc HnSa8s8O+0v/SX5LPkqDeDoX0r01SYvNWgyyf8CH0Ehksm5H/MqW4mFSuLnxM72QcvOK 8SdAz4LZvFifuRz6H2NQpHqVbI+ywfQXD4MX0Ffnpq4dGiYtwttOAFlYyu2l33rmbhfw MnNpcuMmwFcnHWP6pcU66eYUlo6TG5yiWUFgA7mg1kuCHwGRWkvn/WFQvWpfsstljouG b3qSs28uNWQ0Q30zs+YMmbKLDvjgVk7ttps2EBLkreZTQOv8Cr/Na/UkM2UVxvoeyTbP 00cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679512424; h=content-transfer-encoding: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=DolIaa62ZsXy10oh+AFQg3him0qF8K4jiiWar2TyMww=; b=H0hUVSF66uaKu/sel6Dsvkxbawyk+FUfZpXIaSID906fFQBE3+v02XzDmP9dJKSVox ZHU/Ud/z8m5Pt23f/IlEwTJWNaMH94pnBPaqbEij6S0uZ4S3052uRsT2cf5u5DzUPS2N k2knI4a4rcmL/oerAtszWu4jd/ue8ml4aUidh/jJDZrdcMytr6nmJhtXmjq4uqw/y+Gl X9oLCTpT/RAaFPNgcuodtzJxHoLbQcdV8M4Vx+JvzDO8n3uqQrqt0lbs+HtwQfx8HYiz tjssFuTur0e16Ej/IPu624hAKc3MebEXP32VMy23KEuPZgft2zMFaRT5+zT5EwGr1RlH Irnw== X-Gm-Message-State: AO0yUKXHUlSXAaW2B2xoeeoARiX3WLbpkMcqgHnGaFZzR1xZ+G5zx67w ZH2AT+OlPlPz0MaT122Z88JbDAtGdlyVpw== X-Google-Smtp-Source: AK7set+nGv3vC/6Pm4x/J+KKLiw9w+/0/EnfNe2pi5/Lb5/LGxdlQefgqc7ne90a5Pl2I3OGBkRKEA== X-Received: by 2002:a05:622a:1a17:b0:3bf:c423:c384 with SMTP id f23-20020a05622a1a1700b003bfc423c384mr6245188qtb.15.1679512424066; Wed, 22 Mar 2023 12:13:44 -0700 (PDT) Received: from hurd ([2607:fad8:4:3::1001]) by smtp.gmail.com with ESMTPSA id e11-20020a05620a014b00b0074669eddb05sm3172301qkn.68.2023.03.22.12.13.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 12:13:43 -0700 (PDT) From: Maxim Cournoyer References: <877dhasuqz.fsf@xelera.eu> <8db3c98ce43cca86fb2baa914230a3cfd477b49d.camel@student.tugraz.at> <87y29qr34q.fsf@xelera.eu> <5fe72b15f20bf3ff1e57b18e06f195723beaa2fb.camel@student.tugraz.at> <87sfzyqtxm.fsf@xelera.eu> <259c6ddaba362c9e05f8cd86ab0fdc4469038988.camel@student.tugraz.at> Date: Wed, 22 Mar 2023 15:13:41 -0400 In-Reply-To: <259c6ddaba362c9e05f8cd86ab0fdc4469038988.camel@student.tugraz.at> (Leo Prikler's message of "Wed, 28 Jul 2021 19:31:11 +0200") Message-ID: <87mt44fvkq.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679512468; a=rsa-sha256; cv=none; b=GmM8QiDnv4Ygps4Pg0u2LNwNc6BAzl24C5H6/NWv8WktbRtl1lJAPP3xVA+0+GoBZt67Iy k0fjkNk5WQqZMvxkemDHVle/0UtiXBpxibJB8x4gyeNZywT7/k0KAoVfHPczJPCxNW0QBK pZKwQMMU16f4xfNib57Oy9Y8qxLoleHJUWQoiagXy5s4thPJYEhhpLxBbVip7hjEWEM1/j cAhp3uxRgT5ZQhR+kjIBPSqEmEBdxTRqxNk7IdMLysniYLX+J9tqGhpmKhnbPCIQc7YEub oCPDDrQsQMdlT9ej9x+CF7N7fjmZbA1zjIuwoY6b2iNvOUFnYTz7mdfBvp53MA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Y9662rTF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679512468; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DolIaa62ZsXy10oh+AFQg3him0qF8K4jiiWar2TyMww=; b=ZEQI6TdSVp5zcpGDSXzgHoD871w1AdSL9F+jXqhAHvqWTMmlNBeanCCJxpwdxLlufc81O1 miQ/scRXLs9L7tqz17dHWLmbFjcsPwJ8Oj1p0T/NpGDZ5G7xcBXRxuXWw/I1+U/WPm0TVO tZ9+imxOO1X8hofkdmw7wQW04wjm/uY1sS2wQFqzXDmZxy7EbIr8NNu2mPuslw7+jHPEW4 oHLEPuarEaN8LQwroWF+RSc2a2XBA8SJjPkQbWTv47Am7Q0zTKb9iA4MPmEl6rjIOeSyz3 Y9HUg9QgohSeYOyDz7AbpZlDZk6ltm3ivHgWYNmM9vJ4rfqWo1sqhX4ASa8xUA== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Y9662rTF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.65 X-Spam-Score: -0.65 X-Migadu-Queue-Id: C1E1E3CFF7 X-TUID: sqQ/L5wLGc8k Hi, Leo Prikler writes: > Hi, > > Am Mittwoch, den 28.07.2021, 18:33 +0200 schrieb Giovanni Biscuolo: >> > > So it seems that also fluidsynth is not able to load that >> > > SoundFont >> > > [1] >> > Ah, yes, I recall not being able to load that font with FluidSynth >> > as >> > well. Back then I thought it was an error in FluidSynth, but it >> > does >> > appear to be an issue with the SoundFont then if not even MuseScore >> > loads it. >>=20 >> Please are you reproducing the same error? >>=20 >> I tried installing musescore3 (v. 3.2.3) from Debian stable and AFAIU >> that SoundFont is loaded (with a lot of warnings): >>=20 >> --8<---------------cut here---------------start------------->8--- >>=20 >> Loading soundfont: /usr/share/mscore3- >> 3.2/sound/sf3/MuseScore_General.sf3 >> Loading soundfont: /home/giovanni/MuseScore3/SoundFonts/GeneralUser >> GS v1.471.sf2 >> SoundFont(/home/giovanni/MuseScore3/SoundFonts/GeneralUser GS >> v1.471.sf2) Sample(Grand Piano-D1) start(0) startloop(35640) >> endloop(70786) end(70787) smaller than SoundFont 2.04 spec chapter >> 7.10 recommendation >> [...] >> Loading soundfont: /usr/share/mscore3- >> 3.2/sound/sf3/MuseScore_General.sf3 >> SoundFont(/usr/share/mscore3-3.2/sound/sf3/MuseScore_General.sf3) >> Sample(Flute F#5) start(0) startloop(19435) endloop(29952) end(29955) >> smaller than SoundFont 2.04 spec chapter 7.10 recommendation >> [...] >>=20 >> --8<---------------cut here---------------end--------------->8--- >>=20 >> musescore installed from Debian plays sounds using >> MuseScore_General.sf3 > Ah, but that's Debian's MuseScore_General.sf3. Those two could be > different for all we know. Did you binary diff them or did you try > using the SoundFont from the Guix installation with Debian's MuseScore? > >> [...] >>=20 >> > > Could it be a bug in some library? >> > If so, then it's two different libraries, >>=20 >> AFAIU the error >>=20 >> --8<---------------cut here---------------start------------->8--- >>=20 >> Sample::decompressOggVorbis: open failed: Not a valid SNDFILE* >> pointer. >>=20 >> --8<---------------cut here---------------end--------------->8--- >>=20 >> /seems/ to come from libsndfile [1], an input for both fluidsynth and >> musescore > > Good point, it might be that libsndfile was compiled without Vorbis > support. However, there is also a nonzero chance that Fluidsynth or > Musescore use libsndfile incorrectly, for instance w.r.t. Vorbis > support [1]. Aside from the broken file hypothesis, that is... > >> > as MuseScore doesn't use FluidSynth for MIDI synthesis =E2=80=93 it's = more >> > likely that the font is simply broken. >>=20 >> AFAIU this is not the case > How so? > >> > It would be nice to investigate when that font first broke or if it >> > ever worked. >>=20 >> I'll try to do it in the coming days >>=20 >> [...] >>=20 >> Happy hacking! Gio' > > Don't stress too much about it and happy hacking :) musescore is now at 4.0.2, and I gave it a try and it can play sounds fine. Closing, let us know if you still are having issues! --=20 Thanks, Maxim