modinfo

Started by Asle, May 15, 2011, 17:28:47

Previous topic - Next topic

Crown

OK. interesting.

I played more with Dpaint than I ever did with Sound/Noise/Protracker.  :)

Asle

OK, I've uploaded an early version of IT (all versions) support in ModInfo().
It sticks to samples (no instrument) as those are always present while instruments are not.
The size calculation is also probably wrong in a lot of cases as I don't know how to calculate the stored "compressed" sample sizes.

Anyway, I guess the next version will display the instruments like the comment. I'll draw a new box and fill those there.

Your thoughts ?
Sylvain

Axxy

#17
Some examples attached for you to peruse...

Although not attached, I Modinfo'd one .it module that changed the font in my text viewer which was weird, as it didn't happen to the others, but made it display slightly better than just text output!  :D

Seems to much data displayed to be honest, especially the Unused patterns etc.
Displays garbage in samples text.

Only sticking to display sample texts will unfortunately not display anything for those that chose to write in the instruments. Some mods do contain info in the Instruments, but the majority in Samples section, or the Comments section.

Still like how XMPlay displays it.

Asle

ouch ... ok, I was referring, of course, to the online ModInfo() :).
I didn't touch the prog (DOS based) at all :).

And yes, instruments should, somehow, be part of the display.
I just wanted to show something that is quite accurate already.

Try the online version now :)

Sylvain

Ijon_Tichy

Quote from: Asle on May 15, 2011, 17:28:47
DBM (doubtful I manage this one)

Why? Is the format that bad to deal with? I'd love to see DBM modinfo handled.

Another nice feature on user end would be a single link allowing download of all mods by a given author, but I guess this would be an impossible or at least a loathsome task in php...


Asle

Quote from: Ijon_Tichy on October 14, 2011, 12:07:50
Why? Is the format that bad to deal with? I'd love to see DBM modinfo handled.
As far as I could see last time I checked, yes. I certainly can give it another go.

Quote from: Ijon_Tichy on October 14, 2011, 12:07:50
Another nice feature on user end would be a single link allowing download of all mods by a given author, but I guess this would be an impossible or at least a loathsome task in php...
The technical part was never the pb for that. we could add a button "get all displayed" that would generate a big zip on the fly. No the problem was more politic than anything else.
However, now that we have a new server and no fear of bandwidth, well, it can be done. All 4 AMP team members, however, must agree ;) that's the hard part I guess.

Sylvain

Asle

Quote from: Asle on October 14, 2011, 17:04:41
Quote from: Ijon_Tichy on October 14, 2011, 12:07:50
Why? Is the format that bad to deal with? I'd love to see DBM modinfo handled.
As far as I could see last time I checked, yes. I certainly can give it another go.

I did and, after 6 hours of work, it's done. So, DBM is now fully supported. What a strange format, really. It relies on chunks, however, the point of having INST _and_ SMPL is strange, as there can be only one sample per instrument. Also some DBM file have a DSPE chunk which is undocumented.

Anyway, if anyone encounters a pb, please tell me. Remember that I'm automatically tracking size problems only, so, I won't know of any other problem.

Thanks Ijon for motivating me to do this one.

Sylvain

daxb


Asle

thanks for the links !

Ijon_Tichy

Quote from: Asle on October 15, 2011, 13:35:34I did and, after 6 hours of work, it's done. So, DBM is now fully supported.

That's awesome, thanks!

I missed it a bit on HippoPlayer back then - Kari Pekka Koljonen should have spent a few more hours on coding. ;)

daxb

Quote from: Ijon_Tichy on October 17, 2011, 00:30:35I missed it a bit on HippoPlayer back then - Kari Pekka Koljonen should have spent a few more hours on coding. ;)
Indeed! :)

Ijon_Tichy

Quote from: Asle on October 15, 2011, 13:35:34
the point of having INST _and_ SMPL is strange, as there can be only one sample per instrument. Also some DBM file have a DSPE chunk which is undocumented.
There can be only one sample per instrument, but several instruments per sample. :) So you load a sample into the project and then use it several times as different instruments with independent settings (loops, envelopes etc.). A very handy feature.

DSPE is probably DSP Echo, but this is only my guess.

Asle

Well, those were just while blog-ish remarks which won't affect the developed feature. I don't plan to go back there anymore ;) - unless of course something went amiss.
Still, thanks for helping clarify those.

Sylvain

Anarkhya

Don't remember if I mentionned that earlier but is there any way to make search engines aware of the modinfo content ?
AFAICS big G isn't, at least with this syntax [site:amp.dascene.net] [word]

Asle

well, since the display of the content is done live, there's no searching the entire archive.
A solution could be to do as Buzz did on Exotica and store in a DB all the texts. Searching there would then be possible.

Don't know if this is where it'll go. I'll bring that up to the other (dormant) AMP staff members ;)

Sylvain