I'm trying to use decodeAudioData to decode and play back an initial portion of a larger mp3 file, in javascript. My first, crude, approach was slicing a number of bytes off the beginning of the mp3 and feeding them to decodeAudioData. Not surpri...
I'm playing around a bit with the HTML5 <audio> tag and I noticed some strange behaviour that has to do with the currentTime attribute.  I wanted to have a local audio file played and let the timeupdate event detect when it finishes by comp...
I have an mp3 file as byte array. How to turn it back to a sound and play using javascript?  Thanks...
I've searched related questions but wasn't able to find any relevant info.  I'm trying to get the Web Audio API to play an mp3 file which is encoded in another file container, so what I'm doing so far is parsing said container, and fe...
I have a trouble in my app.  I want to record a sound and store it in iOS using Cordova. I have already a base64/wav file, but it's very heavy so I want to convert it into a base64/mp3.  Which is the algorithm that allows me to do that?  Example:...
I have been struggling for several hours about this.  http://www.mysecretathens.gr/Sera/releases.html  I am working on this project for a musician and the mp3 songs dont play in Firefox. Chrome, even IE plays them.  Do you know why? Doesn't it su...
I'm using this function:  function playSound(file) {  MyAudio = new Audio(file); MyAudio.play();  }   Unfortunately, I'm struggling to find a file type which will work in all browsers. Mp3 works in Chrome, Safari, IE but not FF and Opera, whi...
I am trying to insert the same song into 2 different sources on my audio player using javascripts 'getElementByID'.  HTML:  <audio id="audio">    <source id="ogg" src="song1.ogg" type="audio/ogg">...
i have a link to a media file such as an mp3, and i want it to get downloaded when the user clicks on it, instead of just having the file get played.  the page i have in mind is just a plain static html page.  any ideas?...
I have a Flash MP3 player for a website that works on web browsers and Android but doesn't work on iPhones or Windows Phone. I know it's because iPhones don't support Flash and I presume that's also the reason it doesn't work on W...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.