Article View: borland.public.jbuilder.java.api
Article #2861Re: ContinuousSoundGeneration
From: nlaan
Date: Fri, 25 Feb 2000 00:00
Date: Fri, 25 Feb 2000 00:00
35 lines
1630 bytes
1630 bytes
Johan; I was attempting to get the javax.sound.sampled.SourceDataLine class to generate continuous Sound, but to no availl. I will take another look at the SourceDataLine class; perhaps I am simply approaching the problem incorrectly. thanks; nathan > > > Greetings! > > > > I have a problem...The sun.audio classes are no longer availlable. I am > > attempting to find a substitute for the ContinuousAudioDataStream class > but > > have had no luck. What we are attempting to do is generate continuous > sound > > output that various according to user input. Our old method involved > > generating bytes to a ContinuousAudioDataStream. I have tried several > > classes in the Java1.3 javax.sound package but have found nothing that > will > > do what we need. Can anyone point me in the right direction??? > > > > Trying looking at javax.sound.sampled.SourceDataLine . > > Something along the lines of > > SourceDataLine sdl=AudioSystem.getMixer(someMixer).getLine(someDataLine); > sdl.open(format); > sdl.write(buff, 0, buff.length); > >
Technical Details
Message-ID:
<896ghr$bn96@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<893tm6$9s23@bornews.borland.com> <895do0$av52@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,973cbaf155b24c23 X-Google-Attributes: gid1089d0,public From: <nlaan> Subject: Re: ContinuousSoundGeneration Date: 2000/02/25 Message-ID: <896ghr$bn96@bornews.borland.com> X-Deja-AN: 589954035 References: <893tm6$9s23@bornews.borland.com> <895do0$av52@bornews.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.api