Coder Social home page Coder Social logo

Comments (6)

derselbst avatar derselbst commented on June 8, 2024

That is news to me that ScummVM even used FluidSynth. Nice to know! I gave that demo a try. First problem is that I'm not sure what I'm supposed to hear, since I've never played Day of the Tentacle before. Does ScummVM use FluidSynth by default? Any ideas where it gets its instruments from (is there an embedded SoundFont in the program, or does it hook into the SoundFont loader API of FluidSynth?)

If you could supply any of the following, it would likely help quite a lot:
- A recording of a proper playback of Day of the Tentacle
- Any info on how ScummVM uses FluidSynth (how instruments get loaded)
- Captured MIDI output of ScummVM with DOTT

I could probably capture the MIDI via the ALSA sequencer myself, if need be.

Original comment by: elementgreen

from fluidsynth.

derselbst avatar derselbst commented on June 8, 2024

Original comment author: eriktorbjorn

Sorry, I should have provided more information.

While you're adding a game to ScummVM (there is a tutorial describing how to do that), or afterwards, you can select the Music Driver on the Audio tab of the settings dialog. You can also use the Options button to set the defaults.

Exactly what the Music Driver setting does depends on the game. For some games, it has no effect at all, for some it determines how to play the music, and for some it also determines which music to play. Day of the Tentacle has music written specifically for AdLib, which ScummVM emulates through the Adlib music driver. If you pick a native MIDI driver (e.g. ALSA or Windows MIDI), it plays the General MIDI music instead. If ScummVM is compiled with FluidSynth support, there is a FluidSynth driver. There is no embedded SoundFont; it uses the one pointed to by the SoundFont setting on the MIDI tab. The FluidSynth music driver is one of the few that use that setting, and I think it's the only one that uses the MIDI gain setting.

I'm afraid I don't know any way to record what the MIDI synth on my sound card does, but the Adlib music driver, while it won't sound as good as General MIDI, should give you a pretty good idea of how it's supposed to sound.

Original comment by: elementgreen

from fluidsynth.

derselbst avatar derselbst commented on June 8, 2024

Original comment author: berarma

Hi. I've been playing recently with ScummVM and Fluidsynth and they're great together.

I've attached the midi fragment where I think the problem is. I've recorded it selecting the alsa output and using arecordmidi with the midi thru port. I guess it's the sound that goes from a lower to a higher pitch when the LucasArts logo comes in. With FluidSynth it stops in the middle, while the adlib emulation and timidity go to a higher pitch. I haven't looked at the file, just listened, if I have the time I'll take a look and let you know what I might found.

Hope it helps,
best regards.

Original comment by: elementgreen

from fluidsynth.

derselbst avatar derselbst commented on June 8, 2024

Original comment author: berarma

This problem is gone with the implementation of RPN(0,0) Pitch Bend Range controller in changeset [131].

Original comment by: elementgreen

from fluidsynth.

derselbst avatar derselbst commented on June 8, 2024

Great to hear! Closing ticket.

Original comment by: elementgreen

from fluidsynth.

derselbst avatar derselbst commented on June 8, 2024
  • status set to closed
  • resolution set to fixed

Original comment by: elementgreen

from fluidsynth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.