<Sound Dev> Some Questions

Florian Bomers javasound-dev at bome.com
Wed Jul 11 11:36:29 PDT 2007

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.


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!

More information about the sound-dev mailing list