[Audio-engine-dev] Gervill 0.2
javasound-dev at bome.com
Fri Oct 12 02:06:21 PDT 2007
good points. some notes:
> To make new functionality available we should add new interface to
> javax.sound.midi (Synthesizer2 or something like this) which will
> extends standard Synthesizer so developers could use new functionality
> via _standard_ interface.
yes, I propose "SoftwareSynthesizer" as presented in my previous
email in this thread.
> As a 1st step I suggest to create such interface in com.sun.media.sound
> package, and them move it to javax.sound.midi.
I don't see an advantage for going in 2 steps, I'd prefer to put
it in javax.sound.midi directly.
> So we need to determine which methods should be included in the extended
> As for me the main method is setMixer(javax.sound.sampled.Mixer) (I'm
> not sure about SourceDataLine - other implementations can require
> several lines).
yes, see my proposal for that.
> Ability to specify preferred AudioFormat, Latency & Polyphony is a good
> feature, but most likely it should be optional.
I'd suggest to add "properties" for advanced functionality,
similar to AudioFormat's properties, except that they can be set
> BTW do you think selecting from several resamplers is useful feature?
yes, very useful. E.g. for realtime playback, a linear
interpolator will be enough (for the sake of compatiblity, CPU
usage, etc.). But for a software that renders MIDI files to disk
(e.g. by using the setOutputStream() method of my proposal),
quality matters more than realtime performance.
> If somebody wants to capture synthesizer outputs, he will implement
> simplest Mixer and set it as output mixer for the synthesizer.
I think a way of directly grabbing the synth output by way of
OutputStream (or AudioInputStream, maybe better) will be more
versatile and more Java like.
> 3. Why the synth support only single receiver? (look at
> com.sun.media.sound.AbstractMidiDevice for example of multi-recevers
yes, should support multiple receivers.
> 4. WaveFloatFileReader: it seems to me that the class is not used anywhere.
> 5. LargeSoundbankReader: what use cases you see for it? (as far as I see
> from the code, currently its feature is not used anywhere)
> Karl Helgason wrote:
>> I have updated the midi synthesizer:
>> - Large format support.
>> - Fix SoundFont modulator mapping.
>> - Fix handling of unsigned 16 bit streams
>> - Improved GUS patch support
>> - Add support for ping-pong/bi-directional and reverse loops
>> Karl Helgason
>> audio-engine-dev mailing list
>> audio-engine-dev at openjdk.java.net
> audio-engine-dev mailing list
> audio-engine-dev at openjdk.java.net
Music Software, Development Tools: http://www.bome.com
Java Sound extensions, plugins: http://www.tritonus.org
The Java Sound Resources: http://www.jsresources.org
Please quote this email in your reply. Thanks!
More information about the audio-engine-dev