FileInputStream fis = new FileInputStream(wavFile);
byte[] buffer = new byte[(int) wavFile.length()];
int readcount = 0;
while ((readcount = fis.read(buffer)) != -1) {
}
fis.close();
이렇게 wav file을 buffer안에 넣었는데 buffer를 double[]로 형변환 하려고하는데 잘 안되네요 ... (filter를 걸기위해 double로 변환해야함) 어떻게 해야되나요?
while문 안에서 데이터 들어올때마다 변환하고 싶습니다.