CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 108 users online: 2 members, 79 guests and 27 bots.
Members: None.
Bots: VoilaBot (2), VoilaBot (3), Yahoo! Slurp (1), Googlebot (19), Ask Jeeves (1), MSN/Bing (1).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
Return of the mobileTunes 3 Converter Upgrades
Published by KermMartian on July 6, 2010 at 1:01:09 AM CST | Discuss this article (71)

A comparison that a fellow community member drew between a project of his and Cemetech's longstanding, erstwhile converter to turn MIDI music files into mobileTunes 3.0-compatible files for playing on your calculator recently prompted me to look at that project once again. Over the past 36 hours, I greatly improved the converter's layer-merging algorithm, added a complex compression algorithm that I wrote from scratch that works with the existing mobileTunes 3.0 without any modification, and simplified the conversion routine. It now boils down to three simple steps:

Step 1: Select a MIDI file.
Step 2: Choose tracks from file to include (if it is a Type 1 MIDI file, as 95% of the files on the internet are). Preview individual tracks to pick the best ones and most representative ones to use.
Step 3: The converter will automatically dissect the chosen tracks and attempt to re-merge them into a maximum of four channels. Next, it will use a new form of the Longest Repeated Substring family of algorithms I wrote to try to compress the song, and return instantly-compilable ASM of the compressed and uncompressed song, ready for playing in mobileTunes 3.

Needless to say, not every song generates great-sounding on-calc music, but the converter strives to achieve the best possible results with no more than a few seconds of effort from the end-user. To fine-tune songs, you can easily try a different subset of the tracks in the original MIDI file and re-generate the compilable ASM.

The mobileTunes 3.0 converter, which I first wrote about five and a half years ago when I was still in high school, can understand and decode any Type 0 or Type 1 MIDI file, with any number of tracks. At one point, most available files were Type 0, but as a rough estimate from observation now puts the share of more complex, multi-track Type 1 files at 95%, the converter's ability to flawlessly handle such files greatly expands what would otherwise be a severe limitation on which songs could be used without tedious modifications of the songs before conversion. The layer-merging algorithm ensures that the result will be as true as possible to the original; one particular Zelda theme song I tried was properly merged from 40 tracks down to 4 channels of quadraphonic sound by the converter with zero notes lost. The format generated for assembly allows easy insertion of metadata, and offers a single value to change to speed up or slow down the resulting song as desired.

Feel free to head to the converter, give it a try, and post bug reports in the attached topic. Be patient with songs; if one doesn't work well, try a different set of tracks from it, or a different file. The best performance from the player is usually achieved when percussion tracks are omitted.

mobileTunes 3 Converter



Permalink
News Archives Index
2003 2003 [View All]

» January (1)
» March (5)
» April (3)
» May (3)
» June (4)
» July (2)
» August (1)
» September (4)
» December (1)
2004 2004 [View All]

» January (3)
» February (4)
» March (4)
» April (3)
» May (5)
» June (9)
» July (5)
» August (2)
» September (7)
» October (5)
» November (2)
» December (3)
2005 2005 [View All]

» January (8)
» February (4)
» March (4)
» April (15)
» May (21)
» June (20)
» July (6)
» August (8)
» September (10)
» October (12)
» November (12)
» December (8)
2006 2006 [View All]

» January (7)
» February (4)
» March (5)
» April (3)
» May (4)
» June (4)
» July (13)
» August (6)
» September (7)
» October (10)
» November (6)
» December (9)
2007 2007 [View All]

» January (5)
» February (6)
» March (6)
» April (5)
» May (2)
» June (8)
» September (5)
» October (1)
» November (1)
2008 2008 [View All]

» January (2)
» March (3)
» April (2)
» May (3)
» June (3)
» July (1)
» September (1)
» November (1)
2009 2009 [View All]

» January (3)
» February (2)
» March (2)
» April (3)
» May (2)
» June (1)
» July (3)
» August (1)
» September (4)
» October (2)
» December (2)
2010 2010 [View All]

» January (6)
» February (2)
» March (1)
» April (4)
» May (6)
» June (7)
» July (6)
» August (8)
» September (6)
» October (3)
» November (4)
» December (3)
2011 2011 [View All]

» January (7)
» February (5)
» March (8)
» April (3)
» May (4)
» June (4)
» July (1)
» August (6)
» September (3)
» October (4)
» November (7)
» December (6)
2012 2012 [View All]

» January (4)
» February (5)
» March (2)
» April (4)
» May (4)
» June (3)
» July (2)
» August (3)
» September (9)
» October (6)
» November (8)
» December (3)
2013 2013 [View All]

» January (8)
» February (8)
» March (14)
» April (6)
» May (1)

© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.030443 seconds.