Questions tagged as 'html5-audio'

2
answers

How to make a sound available with HTML5?

I would like to play an audio on a website. You probably have to use the <audio> tag with parameters, right? And then to push the play?     
asked by 07.03.2014 / 00:40
2
answers

How to capture audio from microphone using HTML5 audio API?

How do I capture audio from the microphone using the HTML5 Audio API and play it at the same time?     
asked by 03.04.2014 / 18:59
2
answers

Capturing audio via microphone via JS or HTML

I need to capture audio from the microphone and write to file. Send to PHP server. How do I, in the examples I saw here, did not notice how to record the sound files.     
asked by 30.04.2014 / 23:31
2
answers

Firefox API audio compatibility issue

I'm using the API to issue some sounds, the problem is that in Firefox I can not run mp3 , but how can I do to include other formatting in this code? How can I do to add another ogg font for example? I'm using API to call Audio like...
asked by 08.12.2015 / 03:09
1
answer

Write video file after capture on site

I have a page that captures a video + user's audio using HTML5 and JavaScript. The code follows: <video width="600" height="400"></video> <input type="button" id="stopbt" value="stop"/> <script type="text/javascript">...
asked by 20.11.2015 / 12:15
2
answers

Play alert sound after bank query (PHP + MYSQL)

I need an alert sound to be played after a query on the bank ... Logical example: NUM_LINHAS = NUMBER OF TABLE LINES SE (NUM_LINHAS > 0) { play (); } My javaScript function that plays sound: <audio id="audio"> &...
asked by 16.07.2015 / 20:00
3
answers

How to create random audio playlist?

I need something like this function next() { Url = new Array; Url[0] = "/mp3/001.mp3"; Url[1] = "/mp3/002.mp3"; Url[2] = "/mp3/003.mp3"; Url[3] = "/mp3/004.mp3"; Link = Math.floor(Math.random() * Url.length); } <audio autoplay=...
asked by 28.09.2014 / 19:26
3
answers

Limit HTML5 Audio Controls

I wanted, if it were possible, of course, that a component <Audio> of HTML5 would just show mute , and the rest would not show up; such as volume , play , pause , etc.     
asked by 30.12.2014 / 18:56
3
answers

Audio API to calculate the duration of several songs

I'm working on an player and I need to know how to calculate the length of multiple MP3s that are selected on the user's machine by a input of type file ? EDIT: Follow my current code and it does not return the correct val...
asked by 10.09.2014 / 22:05
1
answer

Ajax play audio after running successfully

I need to play an audio in the execution of the following section, where it displays the data found in a query: // Verifica se o Ajax realizou todas as operações corretamente if(req.readyState == 4) { if (req.status == 200) { // Re...
asked by 23.08.2016 / 22:46