From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QKycK5yUAWE/GgAAgWs5BA (envelope-from ) for ; Wed, 28 Jul 2021 19:32:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QApSJ5yUAWEJZgAAB5/wlQ (envelope-from ) for ; Wed, 28 Jul 2021 17:32:12 +0000 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 A54E0B326 for ; Wed, 28 Jul 2021 19:32:11 +0200 (CEST) Received: from localhost ([::1]:50230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8nPe-0003Be-Og for larch@yhetil.org; Wed, 28 Jul 2021 13:32:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8nPX-0003BV-Q5 for bug-guix@gnu.org; Wed, 28 Jul 2021 13:32:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44245) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8nPW-0000BN-8A for bug-guix@gnu.org; Wed, 28 Jul 2021 13:32:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m8nPW-0001H0-1V for bug-guix@gnu.org; Wed, 28 Jul 2021 13:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49753: MuseScore's default SoundFont is broken (Was: Re: musescore does not play sounds (Not a valid SNDFILE* pointer)) Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 28 Jul 2021 17:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49753 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Giovanni Biscuolo Received: via spool by 49753-submit@debbugs.gnu.org id=B49753.16274934994863 (code B ref 49753); Wed, 28 Jul 2021 17:32:01 +0000 Received: (at 49753) by debbugs.gnu.org; 28 Jul 2021 17:31:39 +0000 Received: from localhost ([127.0.0.1]:55791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8nP8-0001GN-ON for submit@debbugs.gnu.org; Wed, 28 Jul 2021 13:31:39 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:50304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8nP5-0001GA-Vk for 49753@debbugs.gnu.org; Wed, 28 Jul 2021 13:31:37 -0400 Received: from [10.0.0.4] (80-121-26-175.adsl.highway.telekom.at [80.121.26.175]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4GZggm2NkNz1LBRt; Wed, 28 Jul 2021 19:31:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4GZggm2NkNz1LBRt DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1627493492; bh=cQlA88/LTxZqZENQK9aMg7e5Q5qIYJfLbEchtFqu3FA=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=Xc5lPJV1YFzj2OL7ZrOfSB7G5rXbwjod7i3uNfR2W6lJ/YxfHqN6ZxyRtY4drilgf GNRuvCUxsa/DjoR66HrJ8ET/lfeRs5sZfhz2UyUXvi1bIOrDXwBB7nb6+ogCts3oe7 OPJ+1ENOKldJQ+uuebtErpMEAC1BAffyztuCZasY= Message-ID: <259c6ddaba362c9e05f8cd86ab0fdc4469038988.camel@student.tugraz.at> From: Leo Prikler Date: Wed, 28 Jul 2021 19:31:11 +0200 In-Reply-To: <87sfzyqtxm.fsf@xelera.eu> References: <877dhasuqz.fsf@xelera.eu> <8db3c98ce43cca86fb2baa914230a3cfd477b49d.camel@student.tugraz.at> <87y29qr34q.fsf@xelera.eu> <5fe72b15f20bf3ff1e57b18e06f195723beaa2fb.camel@student.tugraz.at> <87sfzyqtxm.fsf@xelera.eu> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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: , Cc: 49753@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627493532; 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-cc: 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=cQlA88/LTxZqZENQK9aMg7e5Q5qIYJfLbEchtFqu3FA=; b=MpiKq4U0SYSA8gHZNda8Q/uiY9QhpToKgWW+ThB3WSZVQjQoR0G2RcZmtxRTZVshBypj/S wPW6tdrsRp/vXLgGU7IJoEA3C2b5yud7QIDZoNEnyL3OKU3Pxyv4XtySvUdbaR89+BHFri LGTXcb+cSkXusdkmsABhSOgOPG+T5zWljoPp6wp6FqnCnbvRrA5e7AHEQhVo72K0i3Lrkh hKXj8mgCA6TYKSYFrP9Bv5y+V+O1zpHsEl+4B3Y6q2YLgAefdihgv5BZyz72zZgYorGvzq diZwm4iZL0/uSAQq6UgBOaJvbGM42/4lxPZnD3P/GkYD/SbkYJeRd1Y6FvKpKA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627493532; a=rsa-sha256; cv=none; b=iYiK7Fi7iPBaswu0dXJ4IMqGhPCdpGwGDYGAPfep80ZsovwMXI0w+14yUCbZXf0R67a/SV kb2vF7gaRMkWfdTK2hL1NbcYWUNTQgvx3mQgjyEsC2WlfZBxB2EvjFqkdD3rTt/2NoSzDu i6dJfY+ssOWsnjH+/tc9khWkhvAO8zj4L5YLdGag+CplofwMRIQg8JPAHeUtCdKHaxqkys wktUfFVtG80ZT1X4bpYTiFuMjvRVRLPPJw8A2sQ7R5/vbzpVecu6ymXh4siaKK6lZel4ui VPUDqTBrIporHieUafw4NRQTV5YuKqncWPnluSJxW8rv1K/oBad1MZxcV0gC7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=Xc5lPJV1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=Xc5lPJV1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: A54E0B326 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: /r4NTCnQMu00 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. > > Please are you reproducing the same error? > > I tried installing musescore3 (v. 3.2.3) from Debian stable and AFAIU > that SoundFont is loaded (with a lot of warnings): > > --8<---------------cut here---------------start------------->8--- > > 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 > [...] > > --8<---------------cut here---------------end--------------->8--- > > 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? > [...] > > > > Could it be a bug in some library? > > If so, then it's two different libraries, > > AFAIU the error > > --8<---------------cut here---------------start------------->8--- > > Sample::decompressOggVorbis: open failed: Not a valid SNDFILE* > pointer. > > --8<---------------cut here---------------end--------------->8--- > > /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 – it's more > > likely that the font is simply broken. > > AFAIU this is not the case How so? > > It would be nice to investigate when that font first broke or if it > > ever worked. > > I'll try to do it in the coming days > > [...] > > Happy hacking! Gio' Don't stress too much about it and happy hacking :) [1] https://github.com/FluidSynth/fluidsynth/pull/888