audio « byte « Java Data Type Q&A

1. Java Class AudioFormat: Byte ordering

I'm working with java, trying to use the AudioFormat Class. I have the following piece of code:

AudioFormat Baseformat = input.getFormat(); 

AudioFormat Finalformat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED,
16, Baseformat.getChannels(), Baseformat.getChannels()*2,

AudioInputStream stream1 = AudioSystem.getAudioInputStream(
Finalformat, input);

numBytesRead ...

2. Audio bytes convolution with low pass filter

I am facing a hard problem that involves some Digital Signal Processing. What i wanna do is converting a signal from stereo to mono and then passing it through a low ...