M
Michael Wurm
I'm writing a Java-Midi-Karaoke player and for performance
reasons I had to rewrite some classes in javax.sound.midi.
Now I didn't look at the original source code and my classes
are compatible to those defined in the API specification,
they just have a few methods more for optimized use.
Now I didn't mangle around with rt.jar, but I use the
-Xbootclasspath option. This violates the license, but now
I want to publish the source code.
So, what are the options?
[ ] just publish. everyone will be happy, because it's so great.
[ ] like above, but I'm not happy anymore (because of Sun).
[ ] recode more stuff, which is already in the runtime
environment until I get to a point, where I can put the
whole thing into a different package.
[ ] jump out of the 13th floor
[ ] ...
Michael
####
For those, asking why I want to do all this:
It's worth it. My classes load MIDI-files 4 to 50 times faster,
depending on the file, they also load files that do not exactly
meet the MIDI-specification and they are optimized for
MIDI-Files with lyrics.
Some files took about 5 seconds to load on a P1@900 (and that's
inacceptable), now they load in 100ms.
I can't extend the original classes, because some have protected
constructors.
reasons I had to rewrite some classes in javax.sound.midi.
Now I didn't look at the original source code and my classes
are compatible to those defined in the API specification,
they just have a few methods more for optimized use.
Now I didn't mangle around with rt.jar, but I use the
-Xbootclasspath option. This violates the license, but now
I want to publish the source code.
So, what are the options?
[ ] just publish. everyone will be happy, because it's so great.
[ ] like above, but I'm not happy anymore (because of Sun).
[ ] recode more stuff, which is already in the runtime
environment until I get to a point, where I can put the
whole thing into a different package.
[ ] jump out of the 13th floor
[ ] ...
Michael
####
For those, asking why I want to do all this:
It's worth it. My classes load MIDI-files 4 to 50 times faster,
depending on the file, they also load files that do not exactly
meet the MIDI-specification and they are optimized for
MIDI-Files with lyrics.
Some files took about 5 seconds to load on a P1@900 (and that's
inacceptable), now they load in 100ms.
I can't extend the original classes, because some have protected
constructors.