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

XMF format support. Issue #5 #6

Draft
wants to merge 7 commits into
base: devel
Choose a base branch
from
Draft

XMF format support. Issue #5 #6

wants to merge 7 commits into from

Conversation

pedrolcl
Copy link
Owner

No description provided.

@pedrolcl pedrolcl linked an issue Apr 29, 2023 that may be closed by this pull request
@pedrolcl pedrolcl marked this pull request as draft May 7, 2023 17:56
@pedrolcl pedrolcl self-assigned this May 7, 2023
@pedrolcl pedrolcl changed the base branch from master to devel March 7, 2024 21:30
@rsp4jack
Copy link

Any progress on it? There is another Leadsol.mxmf in the vectors directory.

I think it is ready to review, as it works well.

@pedrolcl
Copy link
Owner Author

pedrolcl commented Nov 24, 2024

Any progress on it? There is another Leadsol.mxmf in the vectors directory.

Leadsol.mxmf and testmxmf.mxmf are exactly the same file. And mxmf is the mobile version (lite) of XMF.

If you want more examples, here is a huge stash of phone tones that include more mxmf files, and none of them work. Look for the ones by the manufacturers Danger, Nokia, and Samsung: http://onj3.andrelouis.com/phonetones/

Another example with the name "Dancehall.mxmf" was included in the examples of the "Nokia Audio Suite 2.0", that is not available anymore since the Nokia forum was closed.

But anyway, you may see the pattern: only phone tones are available, and there is no example of the XMF (non mobile) format, and most of the mxmf available examples do not work.

@rsp4jack
Copy link

rsp4jack commented Jan 1, 2025

Another example with the name "Dancehall.mxmf" was included in the examples of the "Nokia Audio Suite 2.0", that is not available anymore since the Nokia forum was closed.

http://onj3.andrelouis.com/phonetones/Software%20and%20Soundbanks/Software/Nokia/Nokia%20Audio%20Suite%202.zip

Actually, EAS can play Dancehall.mxmf, and you can hear it:

dancehall.mp4

and none of them work.

I rescued commented loggings and found some details:

Danger:
Positive gain [6553600] in DLS wsmp ignored, set to 0dB
Unsupported DLS sample format 0055
Error converting XMF DLS data: -15
Failed to prepare EAS data and stream handles

Nokia:
No SMF data found in XMF file
No SMF data found in XMF file
CheckFileType returned error -17
Failed to open file

Samsung:
DLS data must precede SMF data in Mobile XMF file
DLS file contains invalid #articulations [0]
Error converting XMF DLS data: -17
Failed to prepare EAS data and stream handles

EAS's XMF parser does not support:

  • ZLIB unpacker (which is not required by MXMF specification, but widely used in Nokia's MXMFs)

EAS's DLS parser does not support:

  • WAVE_FORMAT_MPEGLAYER3 sample format (used in Danger's)

DLS in Samsung's does not seem to have articulations, and EAS complains about that.

BTW I think logging really should be enabled and put in use, as error codes contain very limited information and almost useless in this case. I could create a PR for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

XMF format support
2 participants