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

(Audio) Add MIDI Out to ScummVM and px68k Bounty #6908

Open
anothername99 opened this issue Jun 22, 2018 · 9 comments
Open

(Audio) Add MIDI Out to ScummVM and px68k Bounty #6908

anothername99 opened this issue Jun 22, 2018 · 9 comments
Labels
bounty feature request New enhancement to RetroArch. midi

Comments

@anothername99
Copy link

anothername99 commented Jun 22, 2018

This is for both cores because very little code is likely necessary. You can use this Dosbox commit as a reference: libretro/dosbox-libretro@e6802ac

Bountysource link: https://www.bountysource.com/issues/60016014-bounty-add-midi-out-to-scummvm-and-px68k

@RobLoach RobLoach changed the title (Bounty) Add MIDI Out to ScummVM and px68k (Audio) Add MIDI Out to ScummVM and px68k Bounty Jul 2, 2018
@RobLoach RobLoach added bounty feature request New enhancement to RetroArch. labels Jul 2, 2018
@ToniBC
Copy link

ToniBC commented Sep 19, 2021

Other emulators such as Dosbox Pure, Scummvm and some others use Fluidsynth for the Midi, that is, the code for that is already there and implementing it does not have to be complicated, with that it would solve the problems of the MIDI of this core. Obviously using Soundfonts.

@LibretroAdmin
Copy link
Contributor

I believe MIDI support has been implemented for PX68K core now? Is it sufficient?

@ToniBC
Copy link

ToniBC commented Sep 4, 2022

If it's already implemented, I'll test it to see. It's a simple solution, but the best would be to use the same as Scummvm or Dosbox, the Fluidsync directly in the core.

@ectorhga
Copy link

ectorhga commented Sep 8, 2022

Oh, wow! I just stumbled over this here. MIDI support for this core sounds amazing! I'll try that, too. Any hints on how I have to set this up?
Do I need MUNT in the background and pass the MIDI signals through ALSA ports?

@MrBlastman
Copy link

MrBlastman commented Sep 30, 2022

This is not working flawlessly. In the current implementation it is not setting sound channels properly when GS devices such as the SC-55 are set to GS mode for games such as Akumajou Dracula--which require GS mode. They sound broken without passing this data to the device. I can confirm this is a problem because the XM6 emulator passes this information perfectly to the SC-55, whereas the libretro core does not, even when the options are set to "GS" mode inside the options menu. It is as if it is ignoring this completely--but there is a tremendous difference between GS and GM modes!

Edit:

I can also confirm this is broken for LA-Synth as well. My MT-32 will not set properly when the game launches, nor are instrument patches uploaded to the device on launch as well. It is as if the core is completely ignoring the LA/GM/GS/XG option settings.

In older emulators such as XM6, when these device types are selected then the emulator changes how it interfaces with the MIDI device. This is not happening in px68k.

I can record a video of the audio differences if necessary. I can assure you they are quite remarkable.

@riggles1
Copy link

riggles1 commented Mar 5, 2023

This is not working flawlessly. In the current implementation it is not setting sound channels properly when GS devices such as

I can't get it to work either, it's all turning into pianos. That's what's happening on your end as well?

@biffrapper
Copy link

This is not working flawlessly. In the current implementation it is not setting sound channels properly when GS devices such as

I can't get it to work either, it's all turning into pianos. That's what's happening on your end as well?

Yep, that is exactly what is happening. It is not properly initing instruments/GS.

@Kelvfimer
Copy link

Kelvfimer commented Apr 1, 2024

I confirm that the Midi support is a bit glitchy in all games.

Besides if you play Wolfteam games (i.e. Arcus Odissey or Sol-Feace) in midi mode (press 登 key when bootting that in the emu is mapped to scroll lock key) using MT-32 and SC-55 the games doesn't recognize SC-55.

On the other hand, I may say that using MT-32 munt, SC55 ZZdenis sf2 and a custom SC-55.cfg in timidity I had almost similar midi music as the original X68000 for Castlevania.

So pls can anybody implement proper Midi Support :) thx!!

@Kelvfimer
Copy link

BTW, I opened a feature request in MAME libretro for MIDI support, regular MAME has MIDI support but libretro one nope. It's good to have several options. The only thing needed is somebody with knowledge to make the MIDI Wrapper as the one done in PC68k libretro.

libretro/mame#477

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty feature request New enhancement to RetroArch. midi
Projects
None yet
Development

No branches or pull requests

9 participants