Attnam / ivan

Iter Vehemens ad Necem - a continuation of the graphical roguelike by members of http://attnam.com
GNU General Public License v2.0
304 stars 42 forks source link

Various music issues #187

Open serin-delaunay opened 8 years ago

serin-delaunay commented 8 years ago
AquariusPower commented 6 years ago

On linux, midi music never works initially. I have to restart the game many times before it will work but sometimes I just giveup.

if I play the midi from command line using aplaymidi (alsa), it will always work well. So I guess, there is some problem on the midi player of the game.

PS.: To control fluidsynth (that enables midi music) I use QSynth.

ryfactor commented 6 years ago

@AquariusPower Did you change the Midi output device in the configuration menu?

AquariusPower commented 6 years ago

yes I did, but after more tests, I now believe the problem is actually in fluidsynth/QSynth and not on ivan. As it is working quite well after many ivan restarts, and every time is working (today at least).

what I stopped doing was clicking the panic button on QSynth whenever anything weird happens to the music (like volume lowered, may be interference of pulseaudio ladspa plugin to normalize audio volume).

also, if I start QSynth after ivan it would bug, I wont even try now... may break again. or if the machine is under heavy load ( like writing to pendrive LOL :/ ), QSynth may bug out too.

In short, may be there is nothing that can be done on ivan, it actually seems a OS/QSynth issue.

AquariusPower commented 6 years ago

on linux at least, I've found that, when music changes, the instruments are not updated, what is fun but some musics get a bit weird sometimes, so I saved one preset for each music and I change it til it matches the good instruments (on fluidsynth) :). I think the in-game music changing "reset?" step has something to do with this problem.