11
Website News Archive / Re: Site switchover complete
« on: May 06, 2014, 23:16:33 »
That looks cool .
Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.
I can't seem to run this, am I missing a lib? Running from the command line gives:Code: [Select]Exception in thread "main" java.lang.UnsupportedClassVersionError: ds/modplayer/ModPlayer : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: ds.modplayer.ModPlayer. Program will exit.
Linux Mint 13 (Ubuntu based) x86_64 running 3.8.0-26-generic. I have both JRE6 and JRE7 installed (just updated to the latest vers.)
Frankly, when you're already about to implement own effects, you may want to rewrite the whole thing in a sane way, without having to render the whole song in a static buffer. A MOD player is fairly simple to program.In that way it's relatively easy to skip between parts in the song and export it all into a .wav file quickly; but yeah, I'm looking for better mechanisms for the payback, mainly to save memory and stuff.
Why limit it at all? There are mods well over the 10 minutes barrier.
Check e.g. the famous modfil11.txt or other documentation available at ModLand, though I didn't read through those documents, so cannot comment on their accuracy (which is a big problem with many documents about module formats).
Or try to examine the code of IBXM(a mod player, plays MOD, S3M and XM; the sourcecode is included in the jar file)
IBXM: http://code.google.com/p/micromod/downloads/list
For the playback time limit, in the ModArchive there are modules with 1 hour lenght
try: http://modarchive.org/index.php?request=view_by_moduleid&query=157663