html5-audio

How to record using phone microphone on browsers?

瘦欲@ 提交于 2020-01-07 08:18:38
问题 I am trying to record a voice from browsers but it only works on chrome browser in my mac but the same doesn't work in any other browser. My goal is to record the voice from a phone from a browser. I have been trying this below example but it doesn't works on mobile browsers. It opens up the microphone but doesn't stop recording and never plays it back. I think the problem is somewhere around recorder.stop() which doesn't get called. <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml">

Disable fast forward audio in audio.js

谁说胖子不能爱 提交于 2020-01-07 03:15:29
问题 Hi everyone, I had used https://kolber.github.io/audiojs/ plugin for my application.There is a option to forward audio like using mouse I can forward audio.I want to disable the forward in user interface using jquery or css. I tried searching in many ways.Please anyone help me to get out this issue.Thanks in advance. 回答1: Don't seem like they have any official documentation for the Library. One hack you can apply is unbinding the event on the player progress bar. $('scrubber').unbind('click')

Live Audio Stream

依然范特西╮ 提交于 2020-01-06 04:32:29
问题 I am trying to setup live internet radio station using icecast server and want my stream to work in all modern browsers. My client only produces .ogg stream. All browsers doesn't play .ogg stream. For eg the .ogg stream I have setup works in chrome but doesn't work in IE. How should I make it run in all browsers? Is there a way I can convert .ogg stream to .mp3 or any other format on the fly Embed a audio player in the browser which can play .ogg stream. Or Any other advice would be helpful.

Cannot set HTML5 <Audio> Volume in Android 4 Browser

女生的网名这么多〃 提交于 2020-01-05 07:25:15
问题 i have a web app that play audio files using tag, in Android 4.0.3 browser it seems that i'm unable to set the volume. Also the volume control doesn't show at all. Anyone knows if this is a bug or something else? The application works just fine on desktop chrome/firefox. 回答1: This is a bug in Android's Ice Cream Sandwich. The getters/setters work if you check the values but the physical volume never gets set. Feel free to enter this bug into their dev network. 来源: https://stackoverflow.com

Switching Audiotrack on Chromecast

空扰寡人 提交于 2020-01-05 05:30:08
问题 I actually cannot believe I couldn't find an answer to this as it appears to me as if it should be a common problem - am I using the wrong terminology? However, I am looking for a way to switch the audiotrack of the video that is being sent to be played on chromecast. More precisely I'm talking about a multitrack video File embedding two audio lines (mkv-format). I've not found any possibility to do this using the (Android) SDK, nor could I change it using JavaScript on the Receiver App

ASP.NET MVC Not Serving MP3 Files

旧街凉风 提交于 2020-01-05 04:15:07
问题 I am trying to play an mp3 file as background music on a website. To serve it I created a folder called mp3 in Content and added the file to it. The html I use looks like <audio loop="loop" autoplay="autoplay"> <source src="/mp3/myfile.mp3" type="audio/mp3" /> </audio> The browser returns a 404 and yes.. I verified the name of the file is correct and even renamed it to "a.mp3" to make sure nothing funny was happening there. If I select Open in New Tab I also get 404. (i.e. mydomain.com/mp3/a

Using .Net MVC, how can I list multiple html audio players that play different files?

心不动则不痛 提交于 2020-01-04 03:02:35
问题 My friend and I are working on a college project using .Net. We're trying to build a website that allows users to listen to audio clips in a similar manner to sites like Soundcloud. At the moment we have a basic MVC site that allows users to upload audio onto the server file system, and records various details about the file in a database table. So now I'm trying to present the client with a list of available audio files and controls to play each file. I specifically want a different set of

IE 9/10/11 sound file limit

旧巷老猫 提交于 2020-01-03 19:37:13
问题 I'm making a browser game which have about 60 various-length audio files playing on the same scene, and thus cannot be unloaded. I wonder if someone is facing this problem except me: IE has a (hardware dependent) limit of sound files that can be loaded via HTML5 Audio.load method. In my case it's exactly 41 sound file. When reaching this limit, IE fails to load sound with onerrror event firing on Audio element (I'm not making a testcase, hoping that it's a well-known bug, so many years it's

Specify that src=“” in <audio> is a mp3 file without .mp3 extension?

♀尐吖头ヾ 提交于 2020-01-02 09:59:10
问题 I need a way to specify that something like <audio src="http://somesite.com/track/377374"></audio> Has a mp3 file as a source. I am unable to use .mp3 extension at the end of the url, so I need other way to achieve this. I'm using custom player jQuery plugin which falls back to old browser version if it can't determine what file format is specified in audio tag. I's there a way to achieve this? 回答1: There is a function that check the file extension and tries to match canPlayType = function(

Combine two audio blob recordings

蓝咒 提交于 2020-01-02 04:12:11
问题 I am using recorder.js to record two audio files on my web page, which then creates recordings as blobs. Once I have these audio blobs I would then like to combine them both into one track to be played by another html5 audio player. I've searched the internet but I can't seem to find any documentation on combining two blob files into one. I've found how to concatenate one blob to the other but I'm wanting to merge the files at the beginning. i.e. - sound 1 is singing and sound 2 is guitar.