[Audio-engine-dev] New Gervill imported into IcedTea

Mark Wielaard mark at klomp.org
Thu Sep 11 11:49:05 PDT 2008


Hi,

Since Joe was working on getting an updated Gervill into openjdk(6) and
adopting any remaining patches to the new version, I made sure to sync
our Gervill import into icedtea6 with the latest Gervill from CVS
(September 1st). We only have a few small patches left against upstream
Gervill (attached).

All jtreg tests, both the com/sun/media/sound ones from upstream, as the
older javax/sound/midi in openjdk6 (which are almost all a copy of the
upstream tests renamed into a different package) pass, with only a small
patch needed for the old tests now that SoftLimiter.init() changed
arguments. See the patches/icedtea-gervill.patch.

Attached are the actual changes to the icedtea overlays.

2008-09-11  Mark Wielaard  <mark at klomp.org>

        * patches/icedtea-gervill.patch: Updated patch for old tests.
        * overlays/openjdk/jdk/src/share/classes/com/sun/media/sound/*:
        New Gervill files (sept 1).

The actual changes to Gervill since our last import:

- Add: More JTreg tests added:
         EmergencySoundbank
         SoftFilter
         AudioFloatConverter.ToFloatArray (improved)
- Change: SoftReverb optimized, about 2 times faster.
- Fix: ModelByteBuffer.skip called super.skip
       instead to call to RandomAccessFile directly.
       JTreg tests added: ModelByteBuffer/RandomFileInputStream/*.java
- Fix: ModelByteBuffer.len was being modified in inner
       class RandomFileInputStream. The variable was made final
       and RandomFileInputStream.read methods where fixed.
- Fix: ArrayOutOfException error in ModelInstrument.getKeys(),
       Keys array was to small, it couldn't
       hold all possible midi notes (0..127).

Version 1.0.1
- Fix: Created dummy SourceDataline so that following 
     jtreg test can be tested without using
     a real Audio Device SourceDataLine.  
        javax/sound/midi/Gervill/SoftAudioSynthesizer/Open.java
        javax/sound/midi/Gervill/SoftSynthesizer/GetLatency.java
        javax/sound/midi/Gervill/SoftSynthesizer/GetReceiver.java
        javax/sound/midi/Gervill/SoftSynthesizer/GetReceiver2.java
        javax/sound/midi/Gervill/SoftSynthesizer/GetReceivers.java
        javax/sound/midi/Gervill/SoftSynthesizer/GetTransmitter.java
        javax/sound/midi/Gervill/SoftSynthesizer/GetTransmitters.java
        javax/sound/midi/Gervill/SoftSynthesizer/ImplicitOpenClose.java
        javax/sound/midi/Gervill/SoftSynthesizer/Open.java
- Fix: Make open SoftSynthesizer garbage-collectable
       when user don't have reference to it and it is not
       producing any sound.
- Fix: SoftReverb silent detection improved.
- Added: SoftSynthesizer.getPropertyInfo returns
         current properties values if it is open.        
- Fix: Restrict input values in SoftChannel to 7 and 14 bit in these
methods:
          noteOn 
          noteOff
          setPolyPressure
          setChannelPressure
          controlChange
          programChange(program)
          programChange(bank, program)
          setPitchBend
- Fix: Store generated soundbank to disk for faster future use.         

-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-gervill.diff
Type: text/x-patch
Size: 3657 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/audio-engine-dev/attachments/20080911/059adb06/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gervill-overlays.diff.gz
Type: application/x-gzip
Size: 10496 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/audio-engine-dev/attachments/20080911/059adb06/attachment-0001.bin 


More information about the audio-engine-dev mailing list