i have cmake, mingw and vs2005 build environments that can target win98, but compiling even the oldest ver 1 build of fluidsynth i could find on sourceforge was a no-go. it would require fairly recent build tools manipulated to target win98 which i don't know is even possible anymore.
until recently, there weren't even winxp or non-sse2 precompiled binaries of any fluidsynth builds. a little bird had to go and request them.
With the glib libraries I link to in the previous post, I could successfully use the fluidsynth library that is provided with DosboxECE. It may just be a targeted build for libglib that is needed.
I've done a little more playing around with it too. DirectDraw and OpenGL don't seem to work for me, just surface render. MT-32 and Fluidsynth both work using the older glib.
Edit: This post is referencing using DosboxECE on Windows 98 Second Edition.
fluidsynth is a black, black hole. i just wasted another afternoon trying to get v1.1.2/11 to compile under mingw and vs2005. for starters, glib-2.16 is the minimum required version which is too new for win98. that's not so much a problem as the dsound.h header it wants. i've tried both directx 8 & 9 sdk headers modified for mingw, but apparently they're not new enough or who knows. for a solely command-line utility, fluidsynth has some asinine requirements.
dosbox ece actually compiles just fine for win98 without fluidsynth. i think i got it successfully built under mingw with all the remaining patches intact. attached is a binary for anyone who wants to investigate. it's useless to me unless it has some form of gm wavetable patch.
Hello, I use Dosbox-ECE (latest version) to play Screamer 2 and when I launch it the sound is noisy.
At start I have error messages about jack server and alsa....
1DOSBox version ECE 2Copyright 2002-2021 DOSBox Team, published under GNU GPL. 3--- 4CONFIG: Loading primary settings from config file dosbox-test.conf 5Memory sizes above 31 MB are NOT recommended. 6Stick with the default values unless you are absolutely certain. 7ALSA:Can't subscribe to MIDI port (65:0) nor (17:0) 8MT32: Control ROM file not found 9ALSA lib pcm_dsnoop.c:566:(snd_pcm_dsnoop_open) unable to open slave 10ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave 11ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear 12ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe 13ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side 14Cannot connect to server socket err = No such file or directory 15Cannot connect to server request channel 16jack server is not running or cannot be started 17JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock 18JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock 19Cannot connect to server socket err = No such file or directory 20Cannot connect to server request channel 21jack server is not running or cannot be started 22JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock 23JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock 24ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp 25ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp 26ALSA lib pcm_a52.c:1001:(_snd_pcm_a52_open) a52 is only for playback 27ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card 28ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card' 29ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card 30ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card' 31ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave 32Cannot connect to server socket err = No such file or directory 33Cannot connect to server request channel 34jack server is not running or cannot be started 35JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock 36JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock 37MIDI:fluidsynth: no soundfont loaded 38MIDI: Opened device:fluidsynth 39fluidsynth: warning: Failed to set thread to high priority 40Glide:LFB access: read-write 41INFO: This app is looking for CD-ROM drives, but no path was specified 42INFO: Set the SDL12COMPAT_FAKE_CDROM_PATH environment variable to a directory 43INFO: of MP3 files named trackXX.mp3 where XX is a track number in two digits 44INFO: from 01 to 99 45Glide:Activated 46Glide:Resolution:640x480, LFB at 0x60000000 (physical) / 0x60000000 (linear)
I don't use jack server nor alsa but Pulseaudio.
If I disable midi, no more noisy sound. I can not reproduce this issue with dosbox svn (compiled on my system).
my config:
OS: Manjaro 22.0.5 Sikaris
Kernel: x86_64 Linux 6.2.7-2-MANJARO
CPU: AMD Ryzen 9 5900HX with Radeon Graphics @ 16x 3.3GHz
GPU: AMD Radeon RX 6600M (navi23, LLVM 15.0.7, DRM 3.49, 6.2.7-2-MANJARO)
Video drivers: Mesa 22.3.5
legluondunetwrote on 2023-03-25, 13:50:Hello, I use Dosbox-ECE (latest version) to play Screamer 2 and when I launch it the sound is noisy. […] Show full quote
Hello, I use Dosbox-ECE (latest version) to play Screamer 2 and when I launch it the sound is noisy.
At start I have error messages about jack server and alsa....
1DOSBox version ECE 2Copyright 2002-2021 DOSBox Team, published under GNU GPL. 3--- 4CONFIG: Loading primary settings from config file dosbox-test.conf
...
What are the contents of your dosbox-test.conf? (specifically the midi section) Pulsaudio is a mixer that outputs to ALSA. So it is technically used.
Totally guessing without context, but I'd bet he issue is around Fluidsynth. I have had similar issues before. But need to see your config file setup.
Thanks, I will make some tests.
Another things:
It could be interesting to post dosbox-ece code and releases on Github.
I found this Github page but it is not updated since july 2022: https://github.com/realnc/dosbox-ece
AppImage will be a very interesting package format too for Linux users.
I found this Github page but it is not updated since july 2022: https://github.com/realnc/dosbox-ece
AppImage will be a very interesting package format too for Linux users.