From owner-freebsd-java@FreeBSD.ORG Sun Jan 4 11:19:09 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 ED48916A4CE for ; Sun, 4 Jan 2004 11:19:09 -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 A2F8B43D45 for ; Sun, 4 Jan 2004 11:19:08 -0800 (PST) (envelope-from mmercer@nc.rr.com) Received: from [192.168.1.2] (rdu57-94-128.nc.rr.com [66.57.94.128]) i04JJ5HG023042; Sun, 4 Jan 2004 14:19:06 -0500 (EST) From: "Michael E. Mercer" To: Kyryll A Mirnenko In-Reply-To: <373029739.20040104203449@ukrpost.net> References: <373029739.20040104203449@ukrpost.net> Content-Type: text/plain Message-Id: <1073243944.3470.31.camel@mmercer.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 04 Jan 2004 14:19:05 -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:19:10 -0000 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"