Re: [NTLK] Regarding ModPlayer

From: Jim Witte (jswitte_at_bloomington.in.us)
Date: Fri Sep 03 2004 - 12:05:48 PDT


> But please, please add support for more channels; the best Mods
> available
> today are either 16 or 32 channel XM/S3M/IT. Using the ModPlug
> Tracker, the
> format can be converted to a 32 channel Mod without any loss in
> quality. I'm
> not much of a programmer, but I don't think it would be a great deal; I

   I got permission from Roger a while back to dowload his orginal
source, the core of which is in assembly (for the PC!) I haven't
looked at the code much at all, but my feeling is that the hardest part
wouldn't be adding the loops, but the code to decipher the data format
in the Newton package, especially if not all 4-32 channels have to be
in the stream at once (where your could have only 4 at one point in
time, but all 32 at some later time, and the software is left to figure
out the offsets)

     I'll look into converting the assembly source to an MPW file, and
then see if adding more channels would be feasible. I'm thinking
eventually of finding a C engine for MOD decoding, and turning the
thing into a codec class like the MP3 player - this would increase the
efficiency (as you'd no longer have a C++ routine stuffing bytes into a
samples array, then calling back to the NS environment, but have a C++
class stuffing bytes directly to the OS when asked), and it would mean
that windows could be dragged around while MODs are playing.

Jim Witte
jswitte_at_bloomington.in.us
Indiana University CS

-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
Official Newton FAQ: http://www.chuma.org/newton/faq/
WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/


This archive was generated by hypermail 2.1.5 : Mon Sep 06 2004 - 23:00:01 PDT