0
0

FMOD does not open some MIDI files. FMOD gets full processor time.
This files are opened with other MIDI players without any problems, e.g. Windows Media Player.
This files does not played with FluidSynth also. You can get it from FluidSynth tracker #53 [url:213i9sx1]http://fluidsynth.resonance.org/trac/ticket/53[/url:213i9sx1]

  • You must to post comments
0
0

[quote="cemehehko":3uprfllw]FMOD does not open some MIDI files. FMOD gets full processor time.
This files are opened with other MIDI players without any problems, e.g. Windows Media Player.
This files does not played with FluidSynth also. You can get it from FluidSynth tracker #53 [url:3uprfllw]http://fluidsynth.resonance.org/trac/ticket/53[/url:3uprfllw][/quote:3uprfllw]

1.mid, attached in that bug report? Works for me…

[edit]
It does fail to loop though… plays once then stops

  • You must to post comments
0
0

Yes, file in ticket is an other file. It plays corretly.

Exscuse me.

This file [url:3jv4xl95]http://depositfiles.com/files/8e41bv6m7[/url:3jv4xl95] does not plays.

FMOD 4.26.06(stable) faults
FMOD 4.27.07(devel) faults
What is your version and what is your code.

[code:3jv4xl95]
FMOD_RESULT result;
FMOD_CREATESOUNDEXINFO exinfo;
FMOD_MODE mode = FMOD_2D | FMOD_OPENUSER;

    mode |= FMOD_LOOP_NORMAL;
    mode |= FMOD_SOFTWARE;

    memset(&exinfo, 0, sizeof(FMOD_CREATESOUNDEXINFO));
    exinfo.cbsize           = sizeof(FMOD_CREATESOUNDEXINFO);
    exinfo.length           = 0;
    exinfo.numchannels      = 2;
    exinfo.defaultfrequency = 48000;
    exinfo.format           = FMOD_SOUND_FORMAT_PCMFLOAT;
    //exinfo.dlsname="gm.dls";
    //exinfo.dlsname="ugm.dls";

    qDebug()<<"before createStream";
result = locSystem->createStream(fileName.toLocal8Bit(), FMOD_2D|FMOD_SOFTWARE|FMOD_OPENONLY | FMOD_ACCURATETIME, &exinfo, &sound);
//result = locSystem->createSound(fileName.toLocal8Bit(), FMOD_2D|FMOD_SOFTWARE|FMOD_CREATESAMPLE, &exinfo, &sound);
    qDebug()<<"after createStream";

[/code:3jv4xl95]

I see "before createStream" message and don’t see "after..". Program hangs up with 100% processor usage.

  • You must to post comments
0
0

Yet another file with probable for FMOD.
[url:glyadobz]http://depositfiles.com/files/0fx0kqoci[/url:glyadobz]

  • You must to post comments
0
0

These files are a bit non-standard, some of the data is a bit weird internally. I have put a couple of fixes in, basically defensive code, this totally fixes one of the files, the second one will work also, however the file length is messed up. Considering the file has malformed data, it’s the best solution I can see at the moment.

These fixes will be in our next release.

EDIT:
Okay, I can do one better, I have both MIDI files playing correctly now (with the correct length). The data is still malformed, but I found a nicer way to handle the malformation that allows the file to play out better.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.