Guest User

Untitled

a guest
Aug 17th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Why audio files sound different?
  2. AudioInputStream result1 = AudioSystem.getAudioInputStream(new File("/home/nikkka/Desktop/alphabet/result.wav"));
  3. DataLine.Info info = new DataLine.Info(Clip.class, result1.getFormat());
  4. Clip clip = (Clip) AudioSystem.getLine(info);
  5. clip.open(result1);
  6. clip.start();
Add Comment
Please, Sign In to add comment