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

🐛 [BUG] - Mixing Issue when playing MIDI files on Soundfont mode #348

Open
tomnoua opened this issue Jul 24, 2023 · 3 comments
Open

🐛 [BUG] - Mixing Issue when playing MIDI files on Soundfont mode #348

tomnoua opened this issue Jul 24, 2023 · 3 comments
Labels
bug missing-issue-template The user has removed the issue template or failed to complete it properly.

Comments

@tomnoua
Copy link

tomnoua commented Jul 24, 2023

Hardware and software

  • mt32-pi version: v0.13.1
  • Raspberry Pi model: Raspberry Pi 3 Model A_
  • HATs: None
  • USB devices: FastTrack Pro
  • MIDI host: i5 12700 using Windows 10 playing midi files with MIDI Player from Falcosoft via MIDI out

Bug description

I'm using an external version of the MT32-pi with a Raspi 3A and a PCM5102 dac. I play a midi file using Falcosoft's MIDI Player with the output set to the MIDI out of my MAudio Fasttrack Pro. This player allows you to load Soundfonts as well, so right away I noticed that using soundfonts, especially Arachno, with the MT32-PI, I have some mixing issues (some instruments sound louder than others).

The same midi file with the same soundfont but loaded into the MIDI player sounds correctly. Every instrument is properly mixed.

I'll attach the midi file (taken from Star Wars Dark Forces)

Steps to reproduce

  1. Put MT32-pi in Soundfont Mode and load Arachno
  2. Play midi file with MIDI Player from Falcosoft and set the output your MIDI OUT

Music should sound with some instruments louder than others.

Repeat but loading the soundfont on the MIDI player

  1. Set MIDI Player from Falcosoft to use BASS (sSoundfonts/vsti)
  2. Load Arachno SF
  3. Play midi file

Music should sound correctly.

Expected behavior

Music should sound the same using the MT32-pi as when you play it using the same SF but loaded in the MIDI Player.

Additional information

The issue varies if I change the SF. For example, Chaos seems to work properly but FluidR3 has a mixing issue only present when I play the midi file though the MT32-PI (in this case, the trumpet is the loudest instrument). Some midi files are OK and some present these issues that seem to go away when I play them by loading the soundfonts in the midi player.

I'll also two audio rips, one taken from the MT32-pi playing the file using Arachno SF and the other playing the same file with the same SF but loaded into the MIDI Player.
issue - SF instrument mix.zip

@tomnoua tomnoua added the bug label Jul 24, 2023
@dwhinham dwhinham added the missing-issue-template The user has removed the issue template or failed to complete it properly. label Jul 24, 2023
@tomnoua
Copy link
Author

tomnoua commented Jul 24, 2023

template fixed. sorry for that.

@tomnoua
Copy link
Author

tomnoua commented Jul 24, 2023

I have just checked the original game (Dark Forces) with my pentium 233 in dos using MT32pi in Soundfont Mode with Arachno SF2 and the issue happens here as well.

@tomnoua
Copy link
Author

tomnoua commented Jul 25, 2023

Solved! It was the setting for Reverb and Chorus that was afecting instruments mixing in some soundfonts. I turned them off and now it sounds as it should. I would recommend you turning them off by default in the general setting as it drastically affects the way midi files sound (for the worst I might add). It is very noticeable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug missing-issue-template The user has removed the issue template or failed to complete it properly.
Projects
None yet
Development

No branches or pull requests

2 participants