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

Dosbox-X x86 SDL2 incorrect MIDI sound through Fluidsynth #4696

Open
2 tasks done
pablokks opened this issue Dec 21, 2023 · 4 comments
Open
2 tasks done

Dosbox-X x86 SDL2 incorrect MIDI sound through Fluidsynth #4696

pablokks opened this issue Dec 21, 2023 · 4 comments
Labels

Comments

@pablokks
Copy link

pablokks commented Dec 21, 2023

Describe the bug

I like using SDL2 x86 version of Dosbox-X cause it supports joystick output (in SDL1s I see joystick being disabled in key mapper) and glide wrappers like nGlide (my understating is that only x86 versions supports it). However MIDI soundfonts through Fluidsynth sound incorrect in this particular build. They sound correct in SDL1 x64, SDL1 x86 and SDL2 x64 but for whatever reason in SDL2 x86 they sound out of place and I have tested couple of different soundfonts. It would be nice to not need to juggle between different builds but currently I cannot use SDL2 x86 with games with MIDI soundtrack cause it just sounds bad. Appreciate the help.

Steps to reproduce the behaviour

  1. Run SDL2 x86
  2. Set Fluidsynth as MIDI device
  3. Create a path to soundfont
  4. Run a game with MIDI set up (e.g. Doom)

Expected behavior

No response

What operating system(s) this bug have occurred on?

Windows 10

What version(s) of DOSBox-X have this bug?

2023.10.06 x86 SDL2

Used configuration

No response

Output log

No response

Additional information

No response

Have you checked that no similar bug report(s) exist?

  • I have searched and didn't find any similar bug report.

Code of Conduct & Contributing Guidelines

  • I agree to follow the code of conduct and the contributing guidelines.
@pablokks pablokks added the bug label Dec 21, 2023
@maron2000
Copy link
Contributor

MinGW SDL2 32-bit seems to work better.

@pablokks
Copy link
Author

pablokks commented Dec 21, 2023

I totally forgot about those and yes I can report that all MinGW, including SDL2 32-bit, seem to be working fine with soundfonts. So it's just standard SDL2 32-bit that has issue, so for now I will be using MinGW SDL2 x86, although forgive my ignorance I am not sure what MinGW provides.

@Torinde
Copy link
Contributor

Torinde commented Dec 21, 2023

INSTALL.md recommends as default Visual Studio and SDL1, while recently there are many issues where the solution is to use MinGW or SDL2. Maybe that should be changed?

@maron2000
Copy link
Contributor

Another workaround is to use external midi synth such as VirtualMidiSynth.
With this, VS x86 SDL2 can also be an option.
There are sometimes compiler/SDL independent bugs so it's difficult to recommend which one as standard, but it is true that many bugs peculiar to MinGW version got fixed recently.

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

3 participants