From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OP31KWhfAWHNNQEAgWs5BA (envelope-from ) for ; Wed, 28 Jul 2021 15:45:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aOBVJWhfAWHvRQAAB5/wlQ (envelope-from ) for ; Wed, 28 Jul 2021 13:45: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 B9AE32ACFE for ; Wed, 28 Jul 2021 15:45:11 +0200 (CEST) Received: from localhost ([::1]:38822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8jry-0003Fo-J6 for larch@yhetil.org; Wed, 28 Jul 2021 09:45:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8jrq-0003FK-Q5 for bug-guix@gnu.org; Wed, 28 Jul 2021 09:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43383) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8jrq-0003uL-Ig for bug-guix@gnu.org; Wed, 28 Jul 2021 09:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m8jrq-0007pE-GF for bug-guix@gnu.org; Wed, 28 Jul 2021 09:45: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 13:45:02 +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.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 ) id 1m8jrZ-0007oU-ET for submit@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 ) id 1m8jrV-0007oI-Gc for 49753@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@student.tugraz.at> From: Leo Prikler Date: Wed, 28 Jul 2021 15:44:12 +0200 In-Reply-To: <87y29qr34q.fsf@xelera.eu> References: <877dhasuqz.fsf@xelera.eu> <8db3c98ce43cca86fb2baa914230a3cfd477b49d.camel@student.tugraz.at> <87y29qr34q.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=1627479912; 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=eux+vWAGMatY0zyBDAZswf3a98BBHp/8U3nx7sSic3E=; b=b0WIuLHXQlmivCOdcASitcBwo5KiwXUMbQBwIKC6RLLviQJyflqB4IykXILG0CdkeSivAl 7E6cP19MAO9UwZ1yY0EPb2CQe/Fqvwqlk0oFPFX8xagt4OKwb4I/pijPSHzayYR8FJ4pcC z+XvxajNiWJA7gCLrvwdA2FTm07hu6JBhtqIFJwrVh1GcLse56Cs156U+nbG1qUTFgkbLS otjyJqBdTFFflIIPqA55WWcUS5f/mTCYqpxcw6wecGmOBgV4o1Mb8xAvL+NG7Lg5k4HBOj kbQFhdVlxndFuBNQXAqgbSBsZ2GQCcUi78Cf1c0b7DNHvmsvEC6HJ2MzaXGa/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627479912; a=rsa-sha256; cv=none; b=LoZjvjcl6JhYk5ctDgXq7QvmgwZUhH+awVHFQvvRh00Vkcwv0Xc4FpW7xuZZD8/WAWRp9/ ii6zMxuE8QSL4PL/6un1E6+EGZ7QkoCmi2Lm5ojV2xEXRizNnvqIEiiZtDZFmx5zrE0Qkb 1rypaI14rMxRdddpZ254/NDXNRIG6fEfwi3LTUCRqvvbOZRw3E/bmmpuH/lyMAqKQWhGkb drdfw2d3d2R7lHuRy/ayZ4XZ2VAy4ePlqbwHR3AH7pTGEsWuS9B3MbMtineHaZzTA+Zusg w0/jBkCBAFQ4DWHWbYhqpxIlYTO6kPYeHR0+qMdpWWn6R0htFyPNWTSmyQhGdQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=G7hgt13P; 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=G7hgt13P; 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: B9AE32ACFE X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ph4WYr8+2cSY 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: 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