• 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
Somebody knows how to solve the problem finance app. Even my result is like it must be, but still I can't pass it
1 Votes
Whyy.
1 Votes
Java certification
1 Votes
Game dev
0 Votes
Question is about for loops and range
0 Votes
Beginner in coding and game development – where should I start?
0 Votes
What would my certificate get me
2 Votes
I have completed 39 courses and now I can't find any other course without those 39 couses what can I do
0 Votes
I can't understand the bug
0 Votes
Error with code
0 Votes