FS#9042 - MOD codec: SoundTracker variant MOD files will not play

Attached to Project: Rockbox
Opened by Linton Dawe (Linton) - Monday, 26 May 2008, 17:18 GMT
Last edited by Robert Kukla (roolku) - Monday, 26 May 2008, 23:02 GMT
Task Type Bugs
Category Codecs
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I have found some MOD files which do not play back correctly in Rockbox using the new codec in SVN.

Examples are provided in the zip. They play fine in WinAmp and VLC.

When playback is attempted, the song is played in a scrambled manner - some resemblance to the patterns in the song is audible, but the samples are all noise (exact sound of this noise seems to vary based on what has previously been played back in the current session). In some cases, eg. with file Angie_S, when you try to skip to another song, the playback system sticks - whether or not the next song is a MOD file, no audio is played, and the progress bar sticks at 0:00. If you press STOP then the playback system recovers.

Sometimes, after pressing skip, the WPS for the next MOD shows -511500286 kbps, and a track length of -7934:-8. In these cases I found that running the midiplay plugin would reset the playback system - STOP didn't work. I think this occurs only after playing several MODs - I was able to reproduce this by playing Banana, skipping to Locomotn, then Walkman3 (in the same directory). It is also possible to get the player to lock up completely (requiring a hard reset) if you play this file sequence and then leave the final track (dispaying the negative duration) paused for a few minutes.

The problem files are all identified as SoundTracker by WinAmp, except one (AxelF) which is shown as Ultimate Soundtracker. They all use 4 channels and 15 samples. They do NOT have a magic number (format identifier) at decimal 1080 into the file (eg "M.K." etc). I haven't been able to find any files like this which play correctly in Rockbox.

Tested on a gigabeat F60 with r17622. (340.6 KiB)
This task depends upon

Closed by  Robert Kukla (roolku)
Monday, 26 May 2008, 23:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in r17635
Comment by Bertrik Sikken (bertrik) - Monday, 26 May 2008, 18:37 GMT
Hmmm, all of your files are identified as "data" by the linux file utility, while all of my own .mods are correctly identified by file. Also, none of them can be played in ubuntu, while all of my own can. So it seems more likely that there's something weird about the files themselves. Still it would be nice to have them play correctly in rockbox.