This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8680 - License free mod player codec
Attached to Project:
Rockbox
Opened by Rainer Sinsch (myth) - Monday, 03 March 2008, 21:51 GMT+2
Last edited by Thom Johansen (preglow) - Wednesday, 21 May 2008, 13:20 GMT+2
Opened by Rainer Sinsch (myth) - Monday, 03 March 2008, 21:51 GMT+2
Last edited by Thom Johansen (preglow) - Wednesday, 21 May 2008, 13:20 GMT+2
|
DetailsHere is the new license free mod player codec. This one is intended to supersede http://www.rockbox.org/tracker/task/5241.
+ File should be coding guideline conform now + Bugfixes in the finetuning calculation |
This task depends upon
Closed by Thom Johansen (preglow)
Wednesday, 21 May 2008, 13:20 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed. Please report existing issues in a new Flyspray entry.
Wednesday, 21 May 2008, 13:20 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed. Please report existing issues in a new Flyspray entry.
1) As has been mentioned before (in
FS#5241), the code isn't following the Rockbox contribution guidelines - mainly the use of TAB characters and the 80-column line limit.2) As mentioned in the comment at the top of firmware/export/id3.h, new codecs MUST be added at the end of the list, to avoid breaking all existing WPSes.
+ Changed the loading routine so that it takes the mod file directly from the rockboxbuffer. This makes playing of large .mod files possible at the risk of hanging when more than 28MB mod files are in the playlist.
I noticed because it just stopped compiling in the metadata/[codec] part.
Oops, only saw the page refreshed now that I was adding the comment and noticed that linuxstb already said that...
FS#5241, it plays it a lot worse. That is, it doesn't progress through the file. I have to manually progress the file every few seconds, if I want it to get past a section of music. If someone is willing to do some debugging on this patch, I figured this file (80megamix) could be helpful. If it's a problem, this MOD is by goto80, and *should* be available on his website, but I didn't want to bother searching for it. And, it looks like I can attach files here. I had already uploaded the MOD, so I didn't bother attaching it. Besides, I figured you probably didn't want that file sitting on the Rockbox servers/bug tracker/this thing.Thanks again, and I look forward to this being committed (eventually/soonish).
+ fixed arpeggio effect
+ fixed e6-effect (pattern loop) => 80megamix.mod doesn't hang anymore
+ lowered the internal calculation volume so that 80megamix.mod doesn't clip internally
A bit shameful that it doesn't play S3M files, though, but excellent job getting the codec up!
FS#2634. (http://www.rockbox.org/tracker/task/2634)Maybe the attached file will provide some inspiration... :)
FS#2634).The second thing is the already mentioned infinite looping which I find a bit annoying unfortunately. It would really be nice to just set up a playlist and let it play, hope you'll find the time to "fix" it.
Then I have one .mod which causes "undefined instructions" at changing addresses when I skip to it (reproducibly) and when I start the playlist with it, I'll just get some sound garbage. It might feature some unusual effects and the old codec also didn't play it but it was at least nice enough to just skip it (the file plays fine on PC though, tried with DeliPlayer and Foobar (dumb codec plugin) directly from the "disk"). I'm not sure how to hand that file over to you: I'd rather like to send it off task if that's ok for you (e-mail address seems to be no problem).
Next point is the playing time and track time handling in the WPS (at least, haven't checked elsewhere). With this patch I'll get the current pattern shown as current playing time and total track time is always "2:00". The old patch was similar but at least showed final pattern number as total track time. I'd really like it to show real times here if that's possible in any way (I'd *imagine* it could since it has to buffer the complete track at once anyways?). At first glance it seems only a cosmetic thing but it also confuses "caption backlight" if that's set - of course this could also be fixed later...
Finally: a few of my mods don't sound right, it seems like some delay (or other timing) effects are not interpreted right. I'm not sure if the old codec dealt better with them, but thought I let you know. Give me a sign if you want examples, maybe it would be easiest if you find the time and ask me in IRC - I'm around quite often and most of the times not far from keyboard when joined at all).
And that's an excellent tune, btw. =)
FS#5241, so I made this one totally free for rockbox (I am willing to change the license to whatever is requested). Of course I am also seeingFS#8806now, which seems to be a reasonable MikMod Port for playing a wider range of tracked formats.Maybe it is time someone decides which path to follow. Of course I am willing to correct the bugs on this codec and improve playback quality - but does it make sense where
FS#8806is available now?Comments about this are welcome.