• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1

Audio random

Plz give me advice how to do audio random generator

js
30th Dec 2016, 3:25 PM
Марат Нагаев
Марат Нагаев - avatar
1 Answer
+ 2
Use the HTML5 audio element http://www.w3schools.com/html/html5_audio.asp or var audio = new Audio("pathToTheAudiofile.mp3"); audio.play(); or See the howler library for JS http://goldfirestudios.com/blog/104/howler.js-Modern-Web-Audio-Javascript-Library
30th Dec 2016, 5:16 PM
seamiki
seamiki - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Can someone teach me a beginner code for beginner like me ? (I would be very happy if you could help)
1 Votes
job
2 Votes
Add border between list number and text
0 Votes
How to insert images into the web
1 Votes
Can i learn brojecting?!
0 Votes
An info you may not know in html
1 Votes
Are they planning to teach lua in the future?
0 Votes
Can you please introduce mql5 language here.
0 Votes
Please I need corrections incase there is an error
0 Votes
Question to Sololearn users
0 Votes