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.
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...
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">...
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">
&...
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=...
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.
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...
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...