From cshare01 at qub.ac.uk Tue Jul 10 08:04:13 2007 From: cshare01 at qub.ac.uk (Chris Share) Date: Wed, 11 Jul 2007 01:04:13 +1000 Subject: Some Questions Message-ID: <46939FED.9020705@qub.ac.uk> Hi, I'm currently developing an app in which I need to loop and process audio from a file in real-time. I can see how to use a Clip however I can't see how to process the audio if it's in this format. Is this possible? What I really need is for the mark() and reset() AudioInputStream methods to work. Unfortunately they are not supported on my PC (Windows XP notebook with built-in audio hardware). Is there any way around this problem? I was thinking that if AudioInputStream is now open source there maybe a way to fix this? Cheers, Chris From javasound-dev at bome.com Wed Jul 11 11:36:29 2007 From: javasound-dev at bome.com (Florian Bomers) Date: Wed, 11 Jul 2007 20:36:29 +0200 Subject: Some Questions In-Reply-To: <46939FED.9020705@qub.ac.uk> References: <46939FED.9020705@qub.ac.uk> Message-ID: <4695232D.6010704@bome.com> Java Sound does not provide a processing architecture. You should use AudioInputStreams and real-time playback with a SourceDataLine. As I suggested in the post to javasound-interest, using FloatSampleBuffer will be a much more useful way to manipulate (and possibly implement a list of processors) for arbitrary audio data, independent of how many bits, the endianness, etc. Regards, Florian On 7/10/2007 5:04 PM, Chris Share wrote: > Hi, > > I'm currently developing an app in which I need to loop and process > audio from a file in real-time. > > I can see how to use a Clip however I can't see how to process the audio > if it's in this format. Is this possible? > > What I really need is for the mark() and reset() AudioInputStream > methods to work. Unfortunately they are not supported on my PC (Windows > XP notebook with built-in audio hardware). > > Is there any way around this problem? > > I was thinking that if AudioInputStream is now open source there maybe a > way to fix this? > > Cheers, > > Chris > > > -- Florian Bomers Bome Software ------------------------------------------------------- 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!