Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Jan 2004 14:19:05 -0500
From:      "Michael E. Mercer" <mmercer@nc.rr.com>
To:        Kyryll A Mirnenko <mirya@ukrpost.net>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Writing SOFTWARE Synthesizer
Message-ID:  <1073243944.3470.31.camel@mmercer.com>
In-Reply-To: <373029739.20040104203449@ukrpost.net>
References:  <373029739.20040104203449@ukrpost.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Currently, Java 1.4 has code that is hard-coded to be 
half-duplex. Meaning, you have to close the input stream in order to
play to the output stream.

You can re-compile the src, changing NO_FULL_DUPLEX to FULL_DUPLEX in
file
j2se/src/solaris/native/com/sun/media/sound/engine/HAE_API_BSDOS.c

Hope this helps...

MiChAeL

On Sun, 2004-01-04 at 13:34, Kyryll A Mirnenko wrote:
>   My problem is to write pure-java software midi to wave convertor,
> saying simply Synthesizer. Just to get midi output back to audio
> input.
>   I've found Java has internal software synth., but I really can't
> find a way to get the synthesized sound back to produce WAV.
>   If you're familiar with Java Sound API, REPLY!
> 
> _______________________________________________
> freebsd-java@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1073243944.3470.31.camel>