[0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Moderator: Raze Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
Kinsie
Posts: 7402
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33

[0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Post by Kinsie »

1.) Fluidsynth seems insistent on using the default soundfont instead of my nice custom SC-55 one.
2.) Fluidsynth MIDI playback seems kinda buggy in general. Here's a clip from STALKER.MID (the E1L1 theme) to demonstrate, although it's easy enough to reproduce by just waiting around on the main menu for about ten seconds until GRABBAG.MID hits the little synth solo riff.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49188
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Post by Graf Zahl »

Can you cross-check these MIDIs in GZDoom? The player should be the same. I've been using DN3D MIDIs for Doom level since all eternity and cannot remember ever having issues with them.
User avatar
Kinsie
Posts: 7402
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33

Re: [0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Post by Kinsie »

I extracted STALKER.MID from DUKE3D.GRP, renamed it to D_RUNNIN.MID and quickly created a folder mod to run it in GZDoom g4.3.3. It played perfectly in Fluidsynth with my nice soundfont and not a note out of place.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49188
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Post by Graf Zahl »

Now that is odd. I wonder if it may be caused by the need to compile Build sources with chars as unsigned - because that's really the only major difference. The entire music system is nearly a 1:1 copy of GZDoom, just with the MIDI synths with incompatible licenses being removed.
User avatar
mjr4077au
Posts: 830
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia

Re: [0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Post by mjr4077au »

Something to do with Duke's MIDI format, perhaps? http://www.vgmpf.com/Wiki/index.php?title=EMIDI
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49188
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Post by Graf Zahl »

No. ZDoom's synth can handle EMIDI just fine. I'll have to compare both sets of files. Like I said, my guess is that somehow the unsigned chars from Build filter down to code that cannot handle them because it's the only difference between those two.
User avatar
Kinsie
Posts: 7402
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33

Re: [0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Post by Kinsie »

This appears to be fixed as of 0.4.0.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49188
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Post by Graf Zahl »

Strange. I wonder what went wrong with Nash's build.
User avatar
Nash
 
 
Posts: 17468
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: [0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Post by Nash »

I'm wondering the same thing. All I did was a straight CMake -> build with VS 2019. Release build.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49188
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Post by Graf Zahl »

What compiler version do you have?
User avatar
Nash
 
 
Posts: 17468
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: [0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Post by Nash »

How/where do I check that? Sorry, I'm not really knowledgeable in this stuff.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49188
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Post by Graf Zahl »

In the about window it should give some info. I know that last autumn there was one compiler version that had code generation issues, let's hope it was just that.
User avatar
Nash
 
 
Posts: 17468
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: [0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Post by Nash »

Code: Select all

Microsoft Visual Studio Community 2019
Version 16.4.4
VisualStudio.16.Release/16.4.4+29728.190
Microsoft .NET Framework
Version 4.8.03752

Installed Version: Community

Visual C++ 2019   00435-60000-00000-AA549
Microsoft Visual C++ 2019

ASP.NET and Web Tools 2019   16.4.460.23317
ASP.NET and Web Tools 2019

Azure App Service Tools v3.0.0   16.4.460.23317
Azure App Service Tools v3.0.0

C# Tools   3.4.1-beta4-19614-01+165046097562cfe65b09c2e9a9d8f7cd88526f2c
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

IntelliCode Extension   1.0
IntelliCode Visual Studio Extension Detailed Info

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

NuGet Package Manager   5.4.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

Visual Basic Tools   3.4.1-beta4-19614-01+165046097562cfe65b09c2e9a9d8f7cd88526f2c
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools 10.4 for F# 4.6   16.4.0-beta.19556.5+e7597deb7042710a7142bdccabd6f92b0840d354
Microsoft Visual F# Tools 10.4 for F# 4.6

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake

Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake

Visual Studio Tools for Unity   4.4.2.0
Visual Studio Tools for Unity
I hope this is useful.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49188
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.3.4-11-g5d8f00814] [Duke3D] Fluidsynth Issues

Post by Graf Zahl »

16.4.4 is up tp date. Weird.

Return to “Closed Bugs [Raze]”