Needed for a project😅
12/1/2020 1:52:17 PM
Shweta Sharma[inactive]10 Answers
New AnswerShweta Sharma[inactive] audio files working in java🙄🤔 i think in Sololearn May Audio Files will not Work look at this code https://code.sololearn.com/cqq50NguVwts/?ref=app
ᕙ(@°▽°@)ᕗ {inactive} thanxx but it shows error in playing it happened with me too maybe SL doesn't support I guess
The SoloLearn code playground does not support the playback of audio. The java code that you write is compiled and executed on the SoloLearn server and the resulting output is converted into html for display in the app/browser. The SoloLearn Java runtime has no access to your sound hardware to be able to play sounds. If you want to know how to use audio with Java for your own projects running on your own hardware then read... https://docs.oracle.com/javase/tutorial/sound/playing.html
https://www.google.com/amp/s/www.geeksforgeeks.org/play-audio-file-using-java/amp/ Take it! This site will help you and please give useful tags instead of using "." ! All the best 👍
Learn Playing. Play Learning
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message