XmodX

XCore Project reviews, ideas, videos and proposals.
Doug
Junior Member
Posts: 7
Joined: Fri Jan 29, 2010 5:56 pm

XmodX

Post by Doug »

Version: 0.1
Status: Under development
License: BSD

A lightweight music player and music conversion tool for standalone use or embedding into your own projects. It will take Amiga style music formats (MOD, S3M, XM, IT) and optimise them into a compact format which is then compiled into your application along with some playback code. The ultimate aims will be to allow you to run it on unmodified XC-1 (or other hardware) and to compact the music and code down so that it there is enough of space to do other cool stuff.


User avatar
Andy
Respected Member
Posts: 279
Joined: Fri Dec 11, 2009 1:34 pm

Post by Andy »

You might want to take a look at these old projects for inspiration/code:

http://archive.xmoslinkers.org/node/240
http://archive.xmoslinkers.org/node/116
User avatar
jason
XCore Expert
Posts: 577
Joined: Tue Sep 08, 2009 5:15 pm

Post by jason »

User is on XCore if you have questions about the code - http://xcore.com/projects/xc-1-sid-emulator-demo
Doug
Junior Member
Posts: 7
Joined: Fri Jan 29, 2010 5:56 pm

Post by Doug »

I see I've just got Twittered so I'll post a quick progress report. This project is currently work in progress and is partially derived from an old project of mine called the SUB-SONIC Music Library (http://sourceforge.net/projects/sub-sonic/). The project is part music player, part compression experiment. Rather than creating a generic module player to play a file I am aiming to pre-process the input music and strip out all the unneeded data, compress the patterns, maybe the samples as well and output the data in a format for easy real-time playback.

So far I've adapted an old .MOD loader to put the data into memory, I've started to write an emitter class to generate XC code containing the data and I'm looking at compression schemes to reduce the data from 1K per pattern to something generally much smaller so I can pack complex songs into the available space.

Further progress reports will be forthcoming, thanks jason and Andy for the pointers to those old projects, I remember seeing them before and being quite impressed, I'm aiming to provide something that will hopefully have better audio quality :-)