Audio playback in Java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Audio playback in Java?

Is there any way to playback an Audio file in Java? I've read on a few places that it is kinda possible, others say it isn't. Any help? I need it for a project.

9th May 2017, 5:05 PM
Imran Isak 💻
Imran Isak 💻 - avatar
2 Answers
+ 5
look for Java Sound here is a premade example http://alvinalexander.com/java/java-audio-example-java-au-play-sound If you want to delve in more complicate stuff in a simplier way, have a look at Processing and its Minim library (wrapper of Java Sound) https://processing.org
9th May 2017, 5:11 PM
seamiki
seamiki - avatar
+ 1
Thanks!
9th May 2017, 5:13 PM
Imran Isak 💻
Imran Isak 💻 - avatar