GNU logs - #49753, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#49753: musescore does not play sounds (Not a valid SNDFILE* pointer)
Resent-From: Giovanni Biscuolo <g@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 28 Jul 2021 08:35:01 +0000
Resent-Message-ID: <handler.49753.B.162746126323875 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 49753
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 49753 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.162746126323875
          (code B ref -1); Wed, 28 Jul 2021 08:35:01 +0000
Received: (at submit) by debbugs.gnu.org; 28 Jul 2021 08:34:23 +0000
Received: from localhost ([127.0.0.1]:54590 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m8f1D-0006D1-2f
	for submit <at> debbugs.gnu.org; Wed, 28 Jul 2021 04:34:23 -0400
Received: from lists.gnu.org ([209.51.188.17]:56390)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <g@HIDDEN>) id 1m8f19-0006Cq-RL
 for submit <at> debbugs.gnu.org; Wed, 28 Jul 2021 04:34:21 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52582)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <g@HIDDEN>) id 1m8f19-0006aM-KH
 for bug-guix@HIDDEN; Wed, 28 Jul 2021 04:34:19 -0400
Received: from ns13.heimat.it ([46.4.214.66]:45760)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <g@HIDDEN>) id 1m8f17-00046j-D4
 for bug-guix@HIDDEN; Wed, 28 Jul 2021 04:34:19 -0400
Received: from localhost (ip6-localhost [127.0.0.1])
 by ns13.heimat.it (Postfix) with ESMTP id 354CF3021BA
 for <bug-guix@HIDDEN>; Wed, 28 Jul 2021 08:34:12 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it
Received: from ns13.heimat.it ([127.0.0.1])
 by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 76NEurIAnywS for <bug-guix@HIDDEN>;
 Wed, 28 Jul 2021 08:33:33 +0000 (UTC)
Received: from bourrache.mug.xelera.it (unknown [93.56.171.5])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by ns13.heimat.it (Postfix) with ESMTPSA id 43BA43021B9
 for <bug-guix@HIDDEN>; Wed, 28 Jul 2021 08:33:26 +0000 (UTC)
Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14])
 by bourrache.mug.xelera.it (Postfix) with SMTP id B7AAF1157B3D
 for <bug-guix@HIDDEN>; Wed, 28 Jul 2021 10:33:25 +0200 (CEST)
Received: (nullmailer pid 8902 invoked by uid 1000);
 Wed, 28 Jul 2021 08:33:25 -0000
From: Giovanni Biscuolo <g@HIDDEN>
Organization: Xelera.eu
Date: Wed, 28 Jul 2021 10:33:24 +0200
Message-ID: <877dhasuqz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: pass client-ip=46.4.214.66; envelope-from=g@HIDDEN;
 helo=ns13.heimat.it
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hello,

I'm using Guix on top of Debian 10, this version:

=2D-8<---------------cut here---------------start------------->8---

Generation 123	lug 26 2021 18:28:56	(current)
  guix 151c546
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 151c54609b74f27f6954768d72fdb67525b1f784

=2D-8<---------------cut here---------------end--------------->8---

If I run musescore from the command line, I get a lot of messages
(removed repeating lines with OMISSIS):

=2D-8<---------------cut here---------------start------------->8---

giovanni@roquette: musescore
Internal error: shortcut <file-part-export> not found
cannot find shortcut <file-part-export>
Initializing sequencer and audio driver=E2=80=A6
Loading SoundFonts=E2=80=A6
Initializing workspace=E2=80=A6
Creating main window=E2=80=A6
ZoomBox::setLogicalZoom(): Formatting logical zoom level as 100% (rounded f=
rom 1.000000)
Reading translations=E2=80=A6
Initializing main window=E2=80=A6
ZoomBox::setLogicalZoom(): Formatting logical zoom level as 100% (rounded f=
rom 1.000000)
qrc:/qml/palettes/PaletteTree.qml:772:5: QML Connections: Implicitly define=
d onFoo properties in Connections are deprecated. Use this syntax instead: =
function onFoo(<arguments>) { ... }
qrc:/qml/palettes/Palette.qml:766:13: QML Connections: Implicitly defined o=
nFoo properties in Connections are deprecated. Use this syntax instead: fun=
ction onFoo(<arguments>) { ... }
[OMISSIS - repeated 381 times]
qrc:/qml/palettes/PalettesWidgetHeader.qml:225:5: QML Connections: Implicit=
ly defined onFoo properties in Connections are deprecated. Use this syntax =
instead: function onFoo(<arguments>) { ... }
Restoring session=E2=80=A6
Loading scores=E2=80=A6
Sample::decompressOggVorbis: open failed: Not a valid SNDFILE* pointer.
[OMISSIS - repeated 163 times]
Initializing tours=E2=80=A6
qrc:/qml/palettes/Palette.qml:766:13: QML Connections: Implicitly defined o=
nFoo properties in Connections are deprecated. Use this syntax instead: fun=
ction onFoo(<arguments>) { ... }
[OMISSIS - repeated 342 times]
ScoreFont::draw: invalid sym 0

=2D-8<---------------cut here---------------end--------------->8---

So it seems that musescore is loading SoundFonts without an error but
later it fails opening them with "Sample::decompressOggVorbis: open
failed: Not a valid SNDFILE* pointer."

If I try to export I get this error on stdout:

=2D-8<---------------cut here---------------start------------->8---

Fluid:loadSoundFonts: already loaded
MasterSynthesizer::setState: unknown <>
open soundfile failed: File contains data in an unimplemented format.
Could not write to device
QMutex: destroying locked mutex

=2D-8<---------------cut here---------------end--------------->8---

It seems a bug with the soudfile (soundfont?).

Thanks! Gio'

=2D-=20
Giovanni Biscuolo

Xelera IT Infrastructures

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmEBFlQMHGdAeGVsZXJh
LmV1AAoJENN9DqfOzDkSAk0P/0JhJBlJY1Jr8Xl8fDy0QCqoi5ROe1mJk8ZEljGx
JqbkvXpmjaOw+QJnNOxpIF0oJOtW/MDKGC9C0aH0cEA5tAu5Bsib4pDWPa5AsjMk
kr1tmpp+ODfYKp7fEzpFNFq/LLVSYQfoYQA55465RhAB90V9E1on1HQbt+om0KG6
H58du/XUCAa6M0ea+yxCWQSNAu/rp2uqq37qR0HvJeXUSY8O8lj4mdoqcmC/0snU
W6P8sXSwt1KBtEsU8vuCrvzWl/qD5xJw3UQQOSzix5D+6UlzZJURIdJ9l09IbKQT
eITBDrvtc6qLvPSTlXPO13SyOATXHg+S9dkC7cQz7vtTqSnazBIYBKAFbnFIdL2P
ekkDNykMm/wBjwujUNMQJfM6WVKYqX0O9cRAGTEWQnefv8UwexDDqk0V1vsaOKeZ
oDG3DCYsngKylcDI2CmBryVnrH7yZ4nUbYHJLKZCsnORqYhq2fIZHGvnDF2eB1Xm
Gb/6UiLZ7+KK9zGhbw/gp8xmeLM8FDs+nj46de+vUs+Vm+Sa/J8qAKmoc21/6dxA
tD1QMqThSb/tdl9xtTKvbNQF0FzCTjd4g1NG04K9EqhKUcEb5wvF3mT+EkS4nT2e
gVJwJ0ZObUaDrBb49vTXTuLw3QSs9NsKLCwko+UiQD7BOrgWmu0f38ghZ7kYuCwS
mPPB
=nx4x
-----END PGP SIGNATURE-----
--=-=-=--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Giovanni Biscuolo <g@HIDDEN>
Subject: bug#49753: Acknowledgement (musescore does not play sounds (Not a
 valid SNDFILE* pointer))
Message-ID: <handler.49753.B.162746126323875.ack <at> debbugs.gnu.org>
References: <877dhasuqz.fsf@HIDDEN>
X-Gnu-PR-Message: ack 49753
X-Gnu-PR-Package: guix
Reply-To: 49753 <at> debbugs.gnu.org
Date: Wed, 28 Jul 2021 08:35:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 49753 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
49753: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49753
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#49753: musescore does not play sounds (Not a valid SNDFILE* pointer)
Resent-From: Leo Prikler <leo.prikler@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 28 Jul 2021 10:26:02 +0000
Resent-Message-ID: <handler.49753.B49753.16274679322847 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49753
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Giovanni Biscuolo <g@HIDDEN>, 49753 <at> debbugs.gnu.org
Received: via spool by 49753-submit <at> debbugs.gnu.org id=B49753.16274679322847
          (code B ref 49753); Wed, 28 Jul 2021 10:26:02 +0000
Received: (at 49753) by debbugs.gnu.org; 28 Jul 2021 10:25:32 +0000
Received: from localhost ([127.0.0.1]:54738 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m8gkm-0000jr-C6
	for submit <at> debbugs.gnu.org; Wed, 28 Jul 2021 06:25:32 -0400
Received: from mailrelay.tugraz.at ([129.27.2.202]:2061)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1m8gki-0000jd-JD
 for 49753 <at> debbugs.gnu.org; Wed, 28 Jul 2021 06:25:30 -0400
Received: from nijino.local (80-121-26-175.adsl.highway.telekom.at
 [80.121.26.175])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4GZVD54SzHz3xNm;
 Wed, 28 Jul 2021 12:25:25 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1627467925;
 bh=J6SlDGZpfaUlSnq4GUNIHPM+AWBU7FX43MLV0rUxKmk=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=fs2R1eBT72jyTUs/s+pKZp7rCRQj8R875TkxtU7YbskBW1fCCdQhLEtQKIiqTSvOE
 qfDLEngG24ULgZnjxDH73/VQbhZPQzzSKD2wpvNwCPtfebr5Ym9bDLhjnIytgl5aFA
 WxCma+ddxbUVhrJRDPHHx4gTPUIYhrbt9F2bYwf4=
Message-ID: <8db3c98ce43cca86fb2baa914230a3cfd477b49d.camel@HIDDEN>
From: Leo Prikler <leo.prikler@HIDDEN>
Date: Wed, 28 Jul 2021 12:25:24 +0200
In-Reply-To: <877dhasuqz.fsf@HIDDEN>
References: <877dhasuqz.fsf@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
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.116
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Am Mittwoch, den 28.07.2021, 10:33 +0200 schrieb Giovanni Biscuolo:
> So it seems that musescore is loading SoundFonts without an error but
> later it fails opening them with "Sample::decompressOggVorbis: open
> failed: Not a valid SNDFILE* pointer."

For the record, which SoundFont are you using here?  Last time I
checked, the one that was bundled with MuseScore itself ought to work,
but perhaps you need a little configuration magic to make it find that.

Regards,





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
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 <leo.prikler@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 28 Jul 2021 13:45:02 +0000
Resent-Message-ID: <handler.49753.B49753.162747988530043 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49753
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Giovanni Biscuolo <g@HIDDEN>
Cc: 49753 <at> debbugs.gnu.org
Received: via spool by 49753-submit <at> debbugs.gnu.org id=B49753.162747988530043
          (code B ref 49753); Wed, 28 Jul 2021 13:45:02 +0000
Received: (at 49753) by debbugs.gnu.org; 28 Jul 2021 13:44:45 +0000
Received: from localhost ([127.0.0.1]:54929 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m8jrZ-0007oU-ET
	for submit <at> debbugs.gnu.org; Wed, 28 Jul 2021 09:44:45 -0400
Received: from mailrelay.tugraz.at ([129.27.2.202]:20776)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1m8jrV-0007oI-Gc
 for 49753 <at> debbugs.gnu.org; Wed, 28 Jul 2021 09:44:43 -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 4GZZdx6x8zz1LXt0;
 Wed, 28 Jul 2021 15:44:37 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4GZZdx6x8zz1LXt0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1627479878;
 bh=eux+vWAGMatY0zyBDAZswf3a98BBHp/8U3nx7sSic3E=;
 h=Subject:From:To:Cc:Date:In-Reply-To:References:From;
 b=G7hgt13P/Pyu6JMaU1CL1kvYuAuHC+Cho88tvp8I1Z0n5XXSxz/8tEkQDDZJ9U6Gu
 /NzQ0VuMuMtLCnwS82194CMlRvStHUHO3hRkcb5GhUdtGlib4FxmYqXf2KJOlDsXtu
 cWobjEt1zFu3708vlwVscu4iZZfvaNIue2aieVQY=
Message-ID: <5fe72b15f20bf3ff1e57b18e06f195723beaa2fb.camel@HIDDEN>
From: Leo Prikler <leo.prikler@HIDDEN>
Date: Wed, 28 Jul 2021 15:44:12 +0200
In-Reply-To: <87y29qr34q.fsf@HIDDEN>
References: <877dhasuqz.fsf@HIDDEN>
 <8db3c98ce43cca86fb2baa914230a3cfd477b49d.camel@HIDDEN>
 <87y29qr34q.fsf@HIDDEN>
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-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Don't forget to keep the ML in the address line.

Am Mittwoch, den 28.07.2021, 15:15 +0200 schrieb Giovanni Biscuolo:
> > Am Mittwoch, den 28.07.2021, 10:33 +0200 schrieb Giovanni Biscuolo:
> > > So it seems that musescore is loading SoundFonts without an error
> > > but
> > > later it fails opening them with "Sample::decompressOggVorbis:
> > > open
> > > failed: Not a valid SNDFILE* pointer."
> > 
> > For the record, which SoundFont are you using here?
> 
> AFAIU the one shipped with our musescore package, starting musescore
> in debug mode I get:
> 
> --8<---------------cut here---------------start------------->8---
> 
> global share: </gnu/store/jc95nlf4y7yz8vhb6xgm8nafd6llb2vd-musescore-
> 3.6.2/share/mscore-3.6/>
> [...]
> Loading SoundFonts…
> 
> --8<---------------cut here---------------end--------------->8---
> 
> I guess the font that is loaded is the one provided in the package:
> /gnu/store/jc95nlf4y7yz8vhb6xgm8nafd6llb2vd-musescore-
> 3.6.2/share/mscore-3.6/sound/MuseScore_General.sf3
> 
> In fact if I check the synth configuration (View->Synthesiser) I see
> "MuseScore_General.sf3" is loaded.
> 
> I've tried to convert a sample midi of mine using fluidsynth, this
> way:
> 
> --8<---------------cut here---------------start------------->8---
> 
> giovanni@roquette: fluidsynth -nli -r 48000 -o synth.cpu-cores=2 -T
> wav -F bohemian.wav /gnu/store/jc95nlf4y7yz8vhb6xgm8nafd6llb2vd-
> musescore-3.6.2/share/mscore-3.6/sound/MuseScore_General.sf3
> bohemian.mid
> FluidSynth runtime version 2.1.8
> Copyright (C) 2000-2021 Peter Hanappe and others.
> Distributed under the LGPL license.
> SoundFont(R) is a registered trademark of E-mu Systems, Inc.
> 
> fluidsynth: warning: Failed to set thread to high priority
> fluidsynth: error: File contains data in an unimplemented format.
> fluidsynth: error: Failed to load sample 'Sine-Triangle-12000'
> fluidsynth: error: Unable to load all sample data
> fluidsynth: error: Failed to load SoundFont
> "/gnu/store/jc95nlf4y7yz8vhb6xgm8nafd6llb2vd-musescore-
> 3.6.2/share/mscore-3.6/sound/MuseScore_General.sf3"
> Failed to load the SoundFont
> /gnu/store/jc95nlf4y7yz8vhb6xgm8nafd6llb2vd-musescore-
> 3.6.2/share/mscore-3.6/sound/MuseScore_General.sf3
> fluidsynth: error: fluid_sfloader_load(): Failed to open
> '/gnu/store/9d4srpavq94ha5ial9047yrrz99wf7iq-fluidsynth-
> 2.1.8/share/soundfonts/default.sf2': File does not exist.
> fluidsynth: error: Unable to open file
> '/gnu/store/9d4srpavq94ha5ial9047yrrz99wf7iq-fluidsynth-
> 2.1.8/share/soundfonts/default.sf2'
> fluidsynth: error: Failed to load SoundFont
> "/gnu/store/9d4srpavq94ha5ial9047yrrz99wf7iq-fluidsynth-
> 2.1.8/share/soundfonts/default.sf2"
> Rendering audio to file 'bohemian.wav'..
> 
> --8<---------------cut here---------------end--------------->8---
> 
> 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.

> > Last time I checked, the one that was bundled with MuseScore itself
> > ought to work, but perhaps you need a little configuration magic to
> > make it find that.
> 
> I installed a different SoundFont in my ~/MuseScore3/SoundFonts and
> loaded it in my synth config ("View | Synthesizer") and I'm now able
> to play the sounds.
> 
> Could it be a bug in some library?
If so, then it's two different libraries, as MuseScore doesn't use
FluidSynth for MIDI synthesis – it's more likely that the font is
simply broken.  

It would be nice to investigate when that font first broke or if it
ever worked.  My personal hypothesis is that a font was a requirement
for building it, but that users used different fonts in practice and
thus never noticed.

Regards





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#49753: MuseScore's default SoundFont is broken (Was: Re: musescore does not play sounds (Not a valid SNDFILE* pointer))
Resent-From: Giovanni Biscuolo <g@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 28 Jul 2021 16:36:01 +0000
Resent-Message-ID: <handler.49753.B49753.162749010923669 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 49753
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Leo Prikler <leo.prikler@HIDDEN>
Cc: 49753 <at> debbugs.gnu.org
Received: via spool by 49753-submit <at> debbugs.gnu.org id=B49753.162749010923669
          (code B ref 49753); Wed, 28 Jul 2021 16:36:01 +0000
Received: (at 49753) by debbugs.gnu.org; 28 Jul 2021 16:35:09 +0000
Received: from localhost ([127.0.0.1]:55743 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m8mWT-00069h-0u
	for submit <at> debbugs.gnu.org; Wed, 28 Jul 2021 12:35:09 -0400
Received: from ns13.heimat.it ([46.4.214.66]:43170)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <g@HIDDEN>) id 1m8mWQ-000694-GY
 for 49753 <at> debbugs.gnu.org; Wed, 28 Jul 2021 12:35:07 -0400
Received: from localhost (ip6-localhost [127.0.0.1])
 by ns13.heimat.it (Postfix) with ESMTP id 2A84A3021BA;
 Wed, 28 Jul 2021 16:34:52 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it
Received: from ns13.heimat.it ([127.0.0.1])
 by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id zjEhQi7QzPdo; Wed, 28 Jul 2021 16:34:13 +0000 (UTC)
Received: from bourrache.mug.xelera.it (unknown [93.56.171.5])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by ns13.heimat.it (Postfix) with ESMTPSA id 71FC83021B9;
 Wed, 28 Jul 2021 16:34:05 +0000 (UTC)
Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14])
 by bourrache.mug.xelera.it (Postfix) with SMTP id EF328115A63D;
 Wed, 28 Jul 2021 18:34:04 +0200 (CEST)
Received: (nullmailer pid 28309 invoked by uid 1000);
 Wed, 28 Jul 2021 16:34:04 -0000
From: Giovanni Biscuolo <g@HIDDEN>
In-Reply-To: <5fe72b15f20bf3ff1e57b18e06f195723beaa2fb.camel@HIDDEN>
Organization: Xelera.eu
References: <877dhasuqz.fsf@HIDDEN>
 <8db3c98ce43cca86fb2baa914230a3cfd477b49d.camel@HIDDEN>
 <87y29qr34q.fsf@HIDDEN>
 <5fe72b15f20bf3ff1e57b18e06f195723beaa2fb.camel@HIDDEN>
Date: Wed, 28 Jul 2021 18:33:57 +0200
Message-ID: <87sfzyqtxm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hello Leo,

Leo Prikler <leo.prikler@HIDDEN> writes:

> Don't forget to keep the ML in the address line.

Sorry I forgot it.

[...]

>> 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):

=2D-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.4=
71.sf2
SoundFont(/home/giovanni/MuseScore3/SoundFonts/GeneralUser GS v1.471.sf2) S=
ample(Grand Piano-D1) start(0) startloop(35640) endloop(70786) end(70787) s=
maller 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(Fl=
ute F#5) start(0) startloop(19435) endloop(29952) end(29955) smaller than S=
oundFont 2.04 spec chapter 7.10 recommendation
[...]

=2D-8<---------------cut here---------------end--------------->8---

musescore installed from Debian plays sounds using MuseScore_General.sf3

[...]

>> Could it be a bug in some library?

> If so, then it's two different libraries,

AFAIU the error

=2D-8<---------------cut here---------------start------------->8---

Sample::decompressOggVorbis: open failed: Not a valid SNDFILE* pointer.

=2D-8<---------------cut here---------------end--------------->8---

/seems/ to come from libsndfile [1], an input for both fluidsynth and
musescore

> as MuseScore doesn't use FluidSynth for MIDI synthesis =E2=80=93 it's more
> likely that the font is simply broken.

AFAIU this is not the case

> 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'


[1] https://github.com/michaelwu/libsndfile/blob/master/src/sndfile.c
SFE_BAD_SNDFILE_PTR


=2D-=20
Giovanni Biscuolo

Xelera IT Infrastructures

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmEBhvUMHGdAeGVsZXJh
LmV1AAoJENN9DqfOzDkSqCAP/2cL+Fi47pY0FUnbx1Oh6sIPZF5PComWNsLiWCov
q7RJsXkQcqcT29EPh1680iTJSOQMaJdpRrt5PLCG6T14k4KLv/efJugqzw2R9H42
YZYsdd3IItM9Icj3HR8PG7e1tImp9G/Neoi/JRZ2+Ir95TMG5U9idWi+gL4aOaHF
DzNpVd/uzCm2J3YYrSIr/7JD/KDCmMMGwKWroRbuRdXyNBv9mHjIT3YdV+U1O/ik
2HgUKFUmdA0Vxqv3VsGCPHpRLSYZ4UGw3Ljp1ox+bST5/lk1LL0pZAg2xN8rolH7
FpYbJXowo1KWZ3/lDXmEyYgqyl+x/rphx4HfmgHSEVwZz3PoQfbaUHVFLI/Mjiwn
CSZQWscG0fkWbia9hR5YzbPsxBxdNBeIC9MTWjG5FaHxo8i5CLUFgnWrUwV4bif8
MqpQ/Bsk1DIKmccJQ/oEkT9/kME4tSJZmxfEsjAiwJNw07Uln8mxsqnEZ9PgZsfc
cZw/6dBIPQ9/f3rjK3/9hIbxQQWgzEwJN5r32TWKgbL1vcB2M2uEP8phfhpCP3e7
WwcnqR1ptyLlgYW9RUIIEfLwcsVV+CsXSv+SugKojopIoHpxgwM3JexfYN9IOhsZ
N0TMALXOr+zpQj8RwM+4C6IU5jt26hRmvrIoqI9VL0AnkNZ7OwdD8NHlFck/gHYd
nVNB
=Ymjx
-----END PGP SIGNATURE-----
--=-=-=--





Last modified: Wed, 28 Jul 2021 16:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.