From owner-freebsd-java@FreeBSD.ORG Sun Jan 4 11:24:12 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43F8816A4CE for ; Sun, 4 Jan 2004 11:24:12 -0800 (PST) Received: from ms-smtp-01-eri0.southeast.rr.com (ms-smtp-01-lbl.southeast.rr.com [24.25.9.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id F321C43D6E for ; Sun, 4 Jan 2004 11:24:05 -0800 (PST) (envelope-from mmercer@nc.rr.com) Received: from [192.168.1.2] (rdu57-94-128.nc.rr.com [66.57.94.128]) i04JO3HG026338; Sun, 4 Jan 2004 14:24:03 -0500 (EST) From: "Michael E. Mercer" To: Kyryll A Mirnenko In-Reply-To: <1073243944.3470.31.camel@mmercer.com> References: <373029739.20040104203449@ukrpost.net> <1073243944.3470.31.camel@mmercer.com> Content-Type: text/plain Message-Id: <1073244242.3470.34.camel@mmercer.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 04 Jan 2004 14:24:03 -0500 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-java@freebsd.org Subject: Re: Writing SOFTWARE Synthesizer X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2004 19:24:12 -0000 I should further elaborate... FreeBSD's native jdk1.4 has the code this way. I am not sure about Linux, though they do share the same code base. HTH, MeM On Sun, 2004-01-04 at 14:19, Michael E. Mercer wrote: > 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" > > _______________________________________________ > 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"