From mark at klomp.org Wed Apr 30 13:13:33 2008 From: mark at klomp.org (Mark Wielaard) Date: Wed, 30 Apr 2008 22:13:33 +0200 Subject: [Audio-engine-dev] Gervill integrated into IcedTea Message-ID: <1209586413.3996.24.camel@dijkstra.wildebeest.org> Hi, Gervill [1] is a software sound synthesizer, written by Karl Helgason, which was created as a proposal for the Audio Synthesis Engine Project [2] and it was recently accepted as one of the projects for the Innovators' Challenge [3]. Since this is one of the major pieces missing, because it is fun to play with sounds and to give the code a little more exposure I integrated it into IcedTea. I took the version from Gervill CVS which is already assigned to Sun and distributed under the GPL + Classpath exception (README.txt, CHANGES.txt and LICENSE also included of course). This provides the following new service providers javax.sound.sampled.spi.AudioFileReader: com.sun.media.sound.WaveFloatFileReader com.sun.media.sound.SoftMidiAudioFileReader javax.sound.midi.spi.MidiDeviceProvider: com.sun.media.sound.SoftProvider javax.sound.midi.spi.SoundbankReader: com.sun.media.sound.SF2SoundbankReader com.sun.media.sound.DLSSoundbankReader com.sun.media.sound.PATSoundbankReader com.sun.media.sound.AudioFileSoundbankReader com.sun.media.sound.JARSoundbankReader It is added as an overlay for the code under openjdk/jdk/src/share/classes/com/sun/media/sound/ and a patch against the service provider files in patches/icedtea-gervill.patch. 2008-04-30 Mark Wielaard * Makefile.am (ICEDTEA_PATCHES): Add patches/icedtea-gervill.patch. * Makefile.in: Regenerated. * patches/icedtea-gervill.patch: New patch. * overlays/openjdk/jdk/src/share/classes/com/sun/media/sound/*: New Gervill files. I also ran the testsuite in Gervill against a freshly build IcedTea and all all test PASS. I haven't included the tests yet since I thought they would not run without jtreg, but a quick little dirty fake jtreg harness was easy to come up with [*]. If this works for other jtreg based tests I will try and integrate it so we don't have to wait till jtreg is liberate to run more test. If you can please test and report any issues (best to CC audio-engine-dev). Cheers, Mark [1] https://gervill.dev.java.net/ [2] http://openjdk.java.net/projects/audio-engine/ [3] http://blogs.sun.com/rsands/entry/the_challenge_of_the_challenge [*] for i in `find com -name \*.java`; do echo -n "$i: "; grep 'static void main' $i > /dev/null; if test $? == 0; then javac -cp `dirname $i` $i; java -cp `dirname $i` `basename $i .java`; if test $? == 0; then echo PASS; else echo FAIL; fi; else echo "SKIPPED"; fi; done