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

Future plans query - Support for MOD (mod/stm/s3m/it/xm/mtm/ult/669) #374

Open
christiansacks opened this issue Apr 13, 2022 · 10 comments
Open
Labels
new feature request Planned Feature or New Feature Request

Comments

@christiansacks
Copy link

Hi there,

I don't know if this is a good place to ask this... how "future" are the future plans for this feature? I'm desperate to get this included, so that my favourite streaming service that I use can use the file formats that I really would like to use, instead of having to convert them all to MP3.

Thank you for listening.

@JamesHeinrich
Copy link
Owner

I have no plans to expand support for MOD formats. I have done about as much as I can with the documentation I have available. I didn't think they were much used anymore.

@christiansacks
Copy link
Author

christiansacks commented Apr 14, 2022 via email

@JamesHeinrich
Copy link
Owner

It's all a matter of file format documentation.

Is there something specific that's not working? If there's a specific issue with a specific file that you want me to look at, please provide a sample file.

@christiansacks
Copy link
Author

christiansacks commented Apr 14, 2022 via email

@christiansacks
Copy link
Author

I can't attach that file type here, so a link: https://erb.pw/sundance.mod

@JamesHeinrich JamesHeinrich reopened this Apr 14, 2022
@christiansacks
Copy link
Author

christiansacks commented Apr 14, 2022

Other formats I'd wish to use;

STM/S3M: https://en.wikipedia.org/wiki/S3M_(file_format)
IT: https://en.wikipedia.org/wiki/Impulse_Tracker
XM: https://en.wikipedia.org/wiki/XM_(file_format)

All the above are able to play with things like ffmpeg/vlc/etc, and all are current formats that are used by tracker musicians partly because of the small sizes of the files that they produce, among many reasons.

Hope this helps.

@JamesHeinrich
Copy link
Owner

Those formats have all had roughed-in support in getID3 for many years (they're detected, but no in any detail).
I'm lacking proper file format documentation.
I managed to find some partial old documentation for the first sample file you sent:
http://www.textfiles.com/programming/FORMATS/modulesg.txt
https://web.archive.org/web/20100921225940/http://io.debian.net/~tar/debian/xmp/xmp-2.7.1/docs/formats/Ultimate_Soundtracker-format.txt
That was enough to get the file format recognized and extract song and track names, but I have not had any insight on how to calculate the track length.

JamesHeinrich added a commit that referenced this issue Apr 14, 2022
@JamesHeinrich JamesHeinrich added the new feature request Planned Feature or New Feature Request label Apr 14, 2022
@christiansacks
Copy link
Author

@christiansacks
Copy link
Author

christiansacks commented Apr 15, 2022

I have a bunch of test files if you want to try them all out, downloadable from https://erb.pw/silver.zip ... There's about 200 files of .mod .stm .s3m .xm formats.

According to ffmpeg, they're of type;

.STM = pcm_f32le application/octet-stream
.MOD = pcm_f32le audio/x-mod
.S3M = pcm_f32le audio/x-s3m
.XM = pcm_f32le audio/xm audio/x-mod

Hope this helps you out.

@JamesHeinrich
Copy link
Owner

I've taken another look at it but I still don't understand how to calculate the playtime of mod files in general. Until someone wants to volunteer some code or documentation that shows how to do that I likely can't do anything more, sorry.

JamesHeinrich added a commit that referenced this issue May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature request Planned Feature or New Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants