I've been playing with HTML5 audio recently, and though I can get it to play the sound it only ever will play once. No matter what I try (setting the properties, event handlers, etc) I can't seem to get it to loop.
Here's the basic code I'm using:
//myAudio is declared at a global scope, so it doesn't get garbage collected.
myAudio = n...
hello everybody! i'm new here but i hope you can help me.
i'm trying to create a button that plays the text to speech mp3 that google generates. i'm creating a translator, so, what i want is to do something like google translate is (in some way).
i've tried with javascript and actionscript but i couldn't make it work.
i have this java...
I'm using html5 audio tag and can't seem to find what to specify for the codec for both mp3 and wav.
I know ogg is:
<audio>
<source type='audio/ogg; codec="vorbis"' />
</audio>
Anyone know what I would write for mp3 and wav?
...
Working with the <audio> tag in some web development I've been doing lately, and one thing I'm trying to do is use it to build a word list and provide a pronunciation sample next to each word on the list. Setting this up isn't hard at all, however this sort of application hardly requires the full set of controls; just a play button.
Th...
I can't find anything through net searches, but is there any plans to make an API to generate audio chunks to be played in an HTML5 <audio> tag?
EDIT: this is the example::
PSEUDOCODE::
var music = new Song([Array of hertz levels or notes]);
var box = document.createElement('audio');
document.body.appendChild(box);
box.src = music.conv...
Can you suggest a good way to play audio files on a website?
...
Can anyone help me create a javascript/jquery function to control the HTML5 audio tag control seekbar?? (Or suggest me a web resource from where I can learn).
I want to customize the looks of the default controls and so I want to handle the progress in a different <div>. How can I achieve that?
...
I've my codes as below
<header>
<audio src="friends_and_family_03.mp3" id="audio" controls></audio>
<input type="range" step="any" id="seekbar"></input>
<script>
seekbar.value = 0;
var audio = document.getElementById("audio");
var seekbar = document.getElementById('seekbar');
function setupSe...
I've added a couple of additional virtual keyboard keys to my page to let the user type characters not found on the iPad's virtual keyboard. They look almost identical to keys on the iPad's keyboard, and inject the character correctly into the INPUT element. But the little (512 bytes) clicking sound .WAV that I'm playing when the user to...
I'm trying to listen to a live audio stream on a webpage with a latency of less than 3 seconds. So far with ogg vorbis streams generated using ices & icecast, I've been unable to get latencies less than 7 seconds. All players I've used so far (html5 audio tag in Firefox, Opera, Safari; VLC as well) seem to introduce similar delays. It's ...
Has anybody out there got working sample code that synthesizes (and plays) audio using HTML5/Javascript on Mobile Safari on the iPad? I have found some examples for javascript-based sound synthesis on the web, but they all seem to work in Firefox only.
...
Hi,
Can HTML5 (or anything in the browser) be used to transmit sound in real-time? Like Skype for example?
Thanks
...
I am having difficulties with pages that have more than one <audio> when I use the default controls. I have not tested creating custom controls in-depth yet.
The custom control has a "Start" button that changes to a "Pause". OK that works fine to pause the audio. But, when you go to the second audio control on the page, it will neve...
I'm building a music player web application which implements the HTML5 audio tag, however would like it to look consistent across browsers - is it possible to define my own custom CSS? And how?
cheers
Fela
...
I want to get music file details like 'file name', 'song name', 'size', 'artist', 'length','ratings' etc.
This is required for my website.
The user should click a button on the site and a popup should come, where he can select which folder contains the mp3 files.
Then the popup program should create the necessary data and upload it to th...
Hi everyone,
I've been experimenting with binary streams in Node.js, and much to my amazement do actually have a working demo of taking a Shoutcast stream using node-radio-stream and pushing it into a HTML5 element using chunked encoding. But it only works in Safari!
Here is my server code:
var radio = require("radio-stream");
var ht...
I'm considering a web-version of some of our programs and considering HTML5 and Flash.
Anyone know if it's even possible to record audio with HTML5?
...