Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluidsynth fails to load a valid DLS file #1426

Open
spessasus opened this issue Nov 9, 2024 · 2 comments
Open

Fluidsynth fails to load a valid DLS file #1426

spessasus opened this issue Nov 9, 2024 · 2 comments
Labels

Comments

@spessasus
Copy link
Contributor

spessasus commented Nov 9, 2024

FluidSynth version

FluidSynth runtime version 2.4.0
Copyright (C) 2000-2024 Peter Hanappe and others.
Distributed under the LGPL license.
SoundFont(R) is a registered trademark of Creative Technology Ltd.

FluidSynth executable version 2.4.0
Sample type=double

Describe the bug

The provided DLS file does not load correctly:

fluidsynth: error: Not a SoundFont file
fluidsynth: error: ipatch_dls_reader_new() failed with error: 'DLS Reader error: Invalid data (ofs=14188, traceback ['fmt ' ofs=0x14186, size=18 <= 'wave' ofs=0x1417A, size=328 <= 'wvpl' ofs=0x1416E, size=112350 <= 'DLS ' ofs=0x0, size=194774])'
fluidsynth: error: Failed to load SoundFont "/home/spessasus/the_good_stuff/soundfonts/downloadable_sounds/Nokia_S30.dls"
Failed to load the SoundFont /home/spessasus/the_good_stuff/soundfonts/downloadable_sounds/Nokia_S30.dls
Type 'help' for help topics.

Expected behavior

The file should load. I know that this is a valid file since it opens in:

  • SynthFont Viena
  • Winamp in the MIDI Decoder configuration
  • Awave Studio
  • SpessaSynth

Steps to reproduce

  1. Grab this: Nokia_S30.dls.zip NOTE: Remove .zip, this is just the raw DLS file.
  2. fluidsynth Nokia_S30.dls
  3. See the error

Additional context

no

@spessasus spessasus added the bug label Nov 9, 2024
@spessasus spessasus changed the title FLuidsynth fails to load a valid DLS file Fluidsynth fails to load a valid DLS file Nov 9, 2024
@spessasus
Copy link
Contributor Author

Additional note: Viena produces corrupted audio data due to WAVE chunks in this list using A-law algorhitm. Winamp does not have this issue.

@spessasus
Copy link
Contributor Author

Swami also fails with the same error as fluid. It may be libinstpatch's fault?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant