Doom with Midi Sound (Sound Canvas)
- NightShadowPT
- Posts: 224
- Joined: Mon May 25, 2020 9:56 am
- Has thanked: 5 times
- Been thanked: 12 times
Doom with Midi Sound (Sound Canvas)
Hi,
Has anyone been able to successfully get a Roland Sound Canvas to work with Doom?
The game runs fine, but I only get sound effects from the Sound Blaster.
And before you ask, Yes, I have run the setup and selected Sound Canvas as a music card.
Has anyone been able to successfully get a Roland Sound Canvas to work with Doom?
The game runs fine, but I only get sound effects from the Sound Blaster.
And before you ask, Yes, I have run the setup and selected Sound Canvas as a music card.
-
- Posts: 93
- Joined: Mon May 25, 2020 8:23 pm
- Been thanked: 4 times
- NightShadowPT
- Posts: 224
- Joined: Mon May 25, 2020 9:56 am
- Has thanked: 5 times
- Been thanked: 12 times
Re: Doom with Midi Sound (Sound Canvas)
A Roland UM-ONE connected to a Roland SC-88 Pro.
It works flawlessly with other games, but I can't get a note out of Doom...
- NightShadowPT
- Posts: 224
- Joined: Mon May 25, 2020 9:56 am
- Has thanked: 5 times
- Been thanked: 12 times
Re: Doom with Midi Sound (Sound Canvas)
This may explain it...
Are there any alternatives/solutions?
Cheers
Re: Doom with Midi Sound (Sound Canvas)
Anything I am doing wrong? When I select ˋchange soundfontsˋ all I get is no files and I cannot navigate to search for .sf2 files. All my .sf2 are in the linux\soundfonts dir. I also did run the midilink update script run. Is the menu item reserved for future use? Would be nice as until now I use scripts to switch the midilink.ini contents when i want to switch soundfonts. This also means i have to exits the core each time i want to switch.
- NightShadowPT
- Posts: 224
- Joined: Mon May 25, 2020 9:56 am
- Has thanked: 5 times
- Been thanked: 12 times
Re: Doom with Midi Sound (Sound Canvas)
Unfortunately I don't think that´s going to fix Midi with Doom...NegSol wrote: ↑Sun Jul 05, 2020 9:07 pm Never mind - Sorgelig is on it already
viewtopic.php?f=27&t=697
It seems to be a different problem because it doesn't work even with a real Sound Canvas as the problem is with SoftMPU and 32bit extenders.
- NightShadowPT
- Posts: 224
- Joined: Mon May 25, 2020 9:56 am
- Has thanked: 5 times
- Been thanked: 12 times
Re: Doom with Midi Sound (Sound Canvas)
NightShadowPT wrote: ↑Mon Jul 06, 2020 1:14 pmUnfortunately I don't think that´s going to fix Midi with Doom...NegSol wrote: ↑Sun Jul 05, 2020 9:07 pm Never mind - Sorgelig is on it already
viewtopic.php?f=27&t=697
It seems to be a different problem because it doesn't work even with a real Sound Canvas as the problem is with SoftMPU and 32bit extenders.
Short of having an MPU-401 implemented in the core, I don't think it will ever work on MiSTer.
-
- Top Contributor
- Posts: 1311
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 634 times
- Been thanked: 308 times
Re: Doom with Midi Sound (Sound Canvas)
When using a Roland UM One, do you have to use the UART USB port on the DE10 Nano, or can you use any normal USB port? I haven't tried this yet and I noticed the UART USB port on the DE10 and wondered if that was required for UART related stuff. Thanks.
Re: Doom with Midi Sound (Sound Canvas)
I think Sorgelig is working on an actual solution:
https://github.com/MiSTer-devel/ao486_M ... bc0ee63a7f
If a "real" MPU-401 is implemented on 330h instead of redirecting the MIDI traffic to the serial port, there is no need for SoftMPU and games in protected mode or even Win9X software will be able to use MIDI. The "dumb" mode should work great with Sound Canvas and General MIDI, and some MT-32 games that don't require intelligent mode.
https://github.com/MiSTer-devel/ao486_M ... bc0ee63a7f
If a "real" MPU-401 is implemented on 330h instead of redirecting the MIDI traffic to the serial port, there is no need for SoftMPU and games in protected mode or even Win9X software will be able to use MIDI. The "dumb" mode should work great with Sound Canvas and General MIDI, and some MT-32 games that don't require intelligent mode.
-
- Top Contributor
- Posts: 1311
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 634 times
- Been thanked: 308 times
Re: Doom with Midi Sound (Sound Canvas)
Awesome! I was hoping for this. I posted about HardMPU a few times and it supports both modes and is open source. This could be used to learn how to implement it. My question still stands though. Currently, can you use a normal USB port with the Roland UM One or do you have to use the UART USB port on the DE10 Nano?
Re: Doom with Midi Sound (Sound Canvas)
Sorry, I've never tried, but I found this:thorr wrote: ↑Tue Aug 04, 2020 12:01 am Awesome! I was hoping for this. I posted about HardMPU a few times and it supports both modes and is open source. This could be used to learn how to implement it. My question still stands though. Currently, can you use a normal USB port with the Roland UM One or do you have to use the UART USB port on the DE10 Nano?
https://github.com/MiSTer-devel/Main_Mi ... o486-Cores
Re: Doom with Midi Sound (Sound Canvas)
I'm guessing by the looks of the video that you use actual hardware with a MIDI to USB adapter to interface with the DE-10 Nano?
Please tell me you're not using the actual hardware and that it is possible to achieve that sound output from games like doom just through the DE-10 Nano alone...
Edit: found my answer, I guess it is possible w/out MIDI hardware (still would like to know if you're using no external MIDI hardware [or 'softmpu'] in that vid]):
https://www.youtube.com/watch?v=TlRKV6cUvf4
Re: Doom with Midi Sound (Sound Canvas)
Great news!
I tested Doom an Doom 2 with the old Cache 29 core. While the speed is really good I always got random firing of the weapon. Mostly it occurs when pressing two keys at the same time (like strafe toggle alt + left or space + strafe right key). It is kind of an annoyance in early level but should be a show stopper once you get the rocket (I know you can get it via cheat or secret early in the game).
Anyone know of a trick here to avoid the misfiring? Maybe change keyboard buffering settings?
Re: Doom with Midi Sound (Sound Canvas)
You're such a beast!
Can't wait to use my MT32 and SC55 without SoftMPU.
-
- Top Contributor
- Posts: 531
- Joined: Tue May 26, 2020 5:06 am
- Has thanked: 87 times
- Been thanked: 211 times
Re: Doom with Midi Sound (Sound Canvas)
Yes I'm using actual hardware, but you can get good results with FluidSynth too --> https://youtu.be/jU79Zf4sOCQ
- Caldor
- Top Contributor
- Posts: 930
- Joined: Sat Jul 25, 2020 11:20 am
- Has thanked: 112 times
- Been thanked: 111 times
Re: Doom with Midi Sound (Sound Canvas)
I still do not understand what this means tbh. Do you have special hardware connector to the MiSTer to make this work? With the AO486 now having hardware MPU instead of software MPU to make use of that hardware? It uses UART to use the hardware connected to another computer or system in the network?bbond007 wrote: ↑Tue Aug 04, 2020 8:02 amYes I'm using actual hardware, but you can get good results with FluidSynth too --> https://youtu.be/jU79Zf4sOCQ
Re: Doom with Midi Sound (Sound Canvas)
For example Roland Um One MK2 to connect the Mister via USB to SC55 or MT32 etc.Caldor wrote: ↑Tue Aug 04, 2020 9:20 amI still do not understand what this means tbh. Do you have special hardware connector to the MiSTer to make this work? With the AO486 now having hardware MPU instead of software MPU to make use of that hardware? It uses UART to use the hardware connected to another computer or system in the network?bbond007 wrote: ↑Tue Aug 04, 2020 8:02 amYes I'm using actual hardware, but you can get good results with FluidSynth too --> https://youtu.be/jU79Zf4sOCQ
Or you can already use munt or another synthsoftware on another device like a raspberry pi.
- Caldor
- Top Contributor
- Posts: 930
- Joined: Sat Jul 25, 2020 11:20 am
- Has thanked: 112 times
- Been thanked: 111 times
Re: Doom with Midi Sound (Sound Canvas)
Oh... that is good to know. Could be interesting to setup a Pi to be used as MPU for the MiSTer. I even just got two Pi Zeros, so maybe I should try with one of those. But... first I want to do more tests with games and software on the newest cores. I think I can make a better Windows 98SE install that will hopefully install without errors.Cebion wrote: ↑Tue Aug 04, 2020 9:31 amFor example Roland Um One MK2 to connect the Mister via USB to SC55 or MT32 etc.Caldor wrote: ↑Tue Aug 04, 2020 9:20 amI still do not understand what this means tbh. Do you have special hardware connector to the MiSTer to make this work? With the AO486 now having hardware MPU instead of software MPU to make use of that hardware? It uses UART to use the hardware connected to another computer or system in the network?bbond007 wrote: ↑Tue Aug 04, 2020 8:02 am
Yes I'm using actual hardware, but you can get good results with FluidSynth too --> https://youtu.be/jU79Zf4sOCQ
Or you can already use munt or another synthsoftware on another device like a raspberry pi.
- SuperBabyHix
- Posts: 152
- Joined: Sun May 24, 2020 8:26 pm
- Has thanked: 45 times
- Been thanked: 36 times
Re: Doom with Midi Sound (Sound Canvas)
Bbond, correct me if I am wrong, but this is a non-intelligent MPU (UART) much like that found on popular Sound Blaster and clone cards back in the day. For games that require intelligent mode you will still have to use SoftMPU. If I remember correctly, that was why SoftMPU was created in the first place. I can't say that this is every game that requires intelligent mode, but it's definitely a good number of them: https://github.com/bjt42/softmpu/wiki/C ... Mode-Games
That being said, this is a great improvement. Thank you to all the devs.
That being said, this is a great improvement. Thank you to all the devs.
-
- Top Contributor
- Posts: 1311
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 634 times
- Been thanked: 308 times
Re: Doom with Midi Sound (Sound Canvas)
YES!!!!! I have the same model Sound Canvas and am looking forward to trying this. This is a dream come true. I hope intelligent mode is not far behind.
Can Munt on the Linux half of the Mister be used with this? How's the performance of that? Maybe we need a Roland MT-32 in FPGA as well, lol.
-
- Top Contributor
- Posts: 531
- Joined: Tue May 26, 2020 5:06 am
- Has thanked: 87 times
- Been thanked: 211 times
Re: Doom with Midi Sound (Sound Canvas)
Yes, although Doom uses General Midi.
Exact same as it was with SoftMPU.
Sure, but I think you'd need to use two MiSTer setups connected via UDP or other method. The FPGA very pretty full already with ao486.
Re: Doom with Midi Sound (Sound Canvas)
After many trials, finally was able to get the same sounds that the eminent 'bbond007' had demonstrated in the FluidSynth Doom youtube link above.Caldor wrote: ↑Tue Aug 04, 2020 9:20 amI still do not understand what this means tbh. Do you have special hardware connector to the MiSTer to make this work? With the AO486 now having hardware MPU instead of software MPU to make use of that hardware? It uses UART to use the hardware connected to another computer or system in the network?bbond007 wrote: ↑Tue Aug 04, 2020 8:02 amYes I'm using actual hardware, but you can get good results with FluidSynth too --> https://youtu.be/jU79Zf4sOCQ
It seems that after uploading the ao486 rbf/binary within the latest 'ao486_Cache41_9c63fe4.zip' file into the DE-10 Nano, as well as its accompanying bios/mister files, the settings that I SWEAR did not work in any of the previous beta builds 'bbond007' has posted... NOW (inexplicably) WORK!!
Here's the MS-DOS 6.22 VHD setup that worked for me, for anyone that was as curious as I to see how to get a working configuration that will allow you to achieve similar results:
DOWNLOADS:
=====================================
[Mr. Fusion - for the scripts! (i.e to run 'media\fat\scripts\soundfont_install.sh' in MiSTer for downloading and then placing 'Roland CM-32 ROMS' in '\media\fat\linux\mt32-rom-data' instead of the 'MT-32 ROMS' it defaults to, for fun... even though they sound the same to me)]
https://github.com/MiSTer-devel/mr-fusion
['ao486_Cache41_9c63fe4.zip' from viewtopic.php?p=5058#p5058]
download/file.php?id=587
[Microsoft MS-DOS 6.22 Plus Enhanced Tools (3.5-1.44mb)]
https://winworldpc.com/product/ms-dos/622
[CuteMouse v2.1 beta 4]
http://cutemouse.sourceforge.net/downlo ... se21b4.zip
[Sound Blaster 2.0 Bundle (1994) (3.5-720k)]<--- NOT NEEDED, SINCE the 'ao486_Cache38_09fcf84.zip' Aug. 7th, 2020 posting
(Note: FOR DARKSUN, INSTALLING THIS IS NOT NECESSARY, BUT YOU WILL HAVE TO SELECT 'Sound Blaster Regular' FOR BOTH MUSIC & SOUND FX AS WELL AS SELECT 'NO' WHEN PROMPTED TO USE DEFAULT SETTINGS [I.E. USE 'IRQ: 5' INSTEAD OF THE DEFAULT SETTING OF 'IRQ: 7'])
https://winworldpc.com/product/sound-bl ... blaster-20
[SoftMPU]<--- NOT NEEDED, SINCE the ''ao486_Cache41_9c63fe4.zip' Aug. 7th, 2020 posting
(Note: FOR MONKEY ISLAND 2, IN ORDER TO HEAR MIDI MUSIC WITHOUT EXTERNAL MIDI HARDWARE - INSTALLING THIS IS NECESSARY, AS WELL AS CHANGING TO 'Uartmode : MIDI : Local / MUNT')
https://github.com/bjt42/softmpu/archive/v1.91.zip
[QEMM 8.03]<--- HELPS TO MAKE GAMES LIKE DARKSUN RUN
https://winworldpc.com/product/qemm/8x
[Ultimate DOOM]
https://www.gog.com/game/the_ultimate_doom
AUTOEXEC.BAT (the LAST LINE is OPTIONAL, BUT NEEDED FOR CERTAIN GAMES LIKE SQ3, MONKEY ISLAND 2, LSL1, X-SIERRA, etc.):
=====================================
Code: Select all
C:\QEMM\LOADHI /R:1 /RES=29120 /SQT=D000-D3FF C:\DOS\SMARTDRV.EXE /X
@ECHO OFF
PROMPT $p$g
PATH C:\QEMM;C:\DOS
SET TEMP=C:\DOS
C:\QEMM\LOADHI /R:2 /LO C:\DOS\CTMOUSE.EXE
SOFTMPU.EXE /SB:220 /IRQ:5 /MPU:330
CONFIG.SYS:
=====================================
Code: Select all
device=c:\qemm\dosdata.sys
DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\QEMM\QEMM386.SYS RAM X=A000-C7FF ARAM=D000-DFFF R:0
device=c:\qemm\dos-up.sys @c:\qemm\dos-up.dat
DEVICE=C:\QEMM\LOADHI.SYS /R:2 /RES=2912 /SQT=FC00-FCFF /SIZE=11520 C:\QEMM\QDPMI.SYS SWAPFILE=DPMI.SWP SWAPSIZE=1024
DOS=HIGH
FILES=40
SHELL=C:\QEMM\LOADHI.COM /R:1 /RES=3008 /SQT=D000-D5FF C:\COMMAND.COM C:\ /P
MiSTer SETTINGS:
=====================================
FluidSynth soundfont settings as defined in '\media\fat\linux\MidiLink.INI':
FSYNTH_SOUNDFONT = /media/fat/linux/SOUNDFONT/sc-55.sf2
(Also, 'Roland MT-32 ROMS' in '\media\fat\linux\mt32-rom-data' instead of the 'CM-32 ROMS' it defaults to)
MiSTer 'ao486_Cache38_09fcf84' CORE SETTINGS:
=====================================
16/24BIT MODE: BGR [default]
16BIT FORMAT: 1555 [default]
FM MODE: OPL3 [not default]
RAM SIZE: 256MB [default]
SPEED: 100Mhz [default]
UART SPEED: Normal [default]
Uartmode : MIDI : Local / FSYNTH
UART BAUD SPEED : ao486 : 38400 BPS
MISC. RESOURCES:
=====================================
https://github.com/MiSTer-devel/mr-fusion
https://github.com/MiSTer-devel/Main_Mi ... o486-Cores
https://github.com/MiSTer-devel/MidiLink_MiSTer
Note that you can setup MiSTer using Mr. Fusion to run the 'media\fat\scripts\soundfont_install.sh' script that was mentioned in below referenced video:
https://youtu.be/uY_SNwtX7gM
DOOM SETTINGS:
=====================================
Music Sound Card: General MIDI [default port 330]
SoundFX Card: Sound Blaster [default settings as well]
END RESULTS (KIND OF?):
=====================================
https://youtu.be/jU79Zf4sOCQ
Re: Doom with Midi Sound (Sound Canvas)
Hi guys,
Have you seen this bare metal MT-32 emulator (via Munt) using a RPi :
https://github.com/dwhinham/mt32-pi
There is a nice RPi hat, which I have one on order:
https://www.arananet.net/pedidos/produc ... berry-pi3/
Also ordered a USB MIDI interface, so hopefully in a couple of weeks I can test.
Have you seen this bare metal MT-32 emulator (via Munt) using a RPi :
https://github.com/dwhinham/mt32-pi
There is a nice RPi hat, which I have one on order:
https://www.arananet.net/pedidos/produc ... berry-pi3/
Also ordered a USB MIDI interface, so hopefully in a couple of weeks I can test.
-
- Top Contributor
- Posts: 1311
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 634 times
- Been thanked: 308 times
Re: Doom with Midi Sound (Sound Canvas)
That is way cool! I haven't done much testing with Munt on the Mister directly. I have only run the ScummVM script and the MT32 audio was a little choppy at times, but that was also running the Monkey Island game at the same time. Is Munt choppy all on its own, making the above RPi thing worth doing?Higgy wrote: ↑Wed Aug 05, 2020 9:25 pm Hi guys,
Have you seen this bare metal MT-32 emulator (via Munt) using a RPi :
https://github.com/dwhinham/mt32-pi
There is a nice RPi hat, which I have one on order:
https://www.arananet.net/pedidos/produc ... berry-pi3/
Also ordered a USB MIDI interface, so hopefully in a couple of weeks I can test.
- SuperBabyHix
- Posts: 152
- Joined: Sun May 24, 2020 8:26 pm
- Has thanked: 45 times
- Been thanked: 36 times
Re: Doom with Midi Sound (Sound Canvas)
In my experience Munt has gotten choppy even with ao486. The Pi Mt-32 looks really slick, especially with the LCD display. I have a Pi gathering dust so I may have to add that to my growing list of projects. That being said, I almost always have my desktop PC running since I use it as a makeshift audio mixer/switcher. Because of that I run Munt on my desktop and route the Mister's midi over UDP using bbond007's UDPMIDI utility: https://www.atari-forum.com/viewtopic.p ... 70#p400070
There is also a guide that bbond wrote on doing the UDP midilink on a Pi:
viewtopic.php?t=375
There is also a guide that bbond wrote on doing the UDP midilink on a Pi:
viewtopic.php?t=375
-
- Top Contributor
- Posts: 1311
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 634 times
- Been thanked: 308 times
Re: Doom with Midi Sound (Sound Canvas)
Thanks! I wonder if the Pi project and hat would work on a Pi 4. That would have even more power in case it helps. Edit: reading the github page, the project works on a Pi 4. The hat is out of stock on the pre-order, but it wouldn't be hard to build one. Of course, just using the wireless option works too if you only want to use it with the Mister.