import java.io.*;import javax.sound.sampled.*;public class Lood{ public static void main(String[] argumendid) throws Exception{ AudioInputStream sisse1=AudioSystem.getAudioInputStream(new File("pow8mono.wav")); AudioInputStream sisse2=AudioSystem.getAudioInputStream(new File("esimene.wav")); ByteArrayOutputStream malu=new ByteArrayOutputStream(); ByteArrayOutputStream malu2=new ByteArrayOutputStream(); int a=0; int nr=sisse1.read(); int nr2=sisse2.read(); while(nr!=-1){ malu.write(nr); malu2.write(nr2); nr=sisse1.read(); nr2=sisse2.read(); } byte[] maluBaidid=malu.toByteArray(); byte[] maluBaidid2=malu2.toByteArray();/* if (maluBaidid.lengthmaluBaidid2.length){ a=maluBaidid2.length; } */ byte[] maluLugu=new byte[maluBaidid2.length]; for(int n=0; n