According to this article the following code should work on OSX and Windows but doesn't mention Linux:
http://updates.html5rocks.com/2012/09/Live-Web-Audio-Input-Enabled
// success callback when requesting audio input stream
function…
using the WebAudio API AudioContext. its working fine in the chrome and playing sounds. but its not playing sound in the firefox, showing icon in the bar of playing audio.
// console.log("this.audioContext.state",…
I am trying to use the Web Audio API to play sound in my React application.
It's currently playing sound in all browsers except Safari v12.1.
I am aware Safari has restrictions on autoplay and requires user interaction to play sound, so I have a…
I'm trying to use the Audio API on Safari to get the audio from the mic.
I don't understand why but webkitAudioContext is not working on Safari (I'm running on Safari 12.0.x, so it should be supported). It's working fine on Firefox since I'm using…
When initiating a react instance with react 360 in Safari, I am getting the AudioContext error.
I instantiate like this:
import {ReactInstance} from 'react-360-web';
function init(bundle, parent, options = {}) {
const r360 = new…
I am using a Cross Fading Playlist written in JavaScript. It relies on the Web Audio API. The code uses a shared class called shared.js to establish the web audio context.
My issue is that my VOLUME function only works when ONE SONG is in the…
I am writing a visualizer for audio and am having an issue with safari on mac os x and on ios debugging with the remote debugger. On the animation function to update the AudioContext analyser the values in the ByteFrequency array are not updating on…
I'm trying to record audio on the browser and I am currently using Firefox. The goal is to be able to encode the audio data to Opus using a module compiled in Emscripten. I am using the code here as a guide https://github.com/F1LT3R/voip-js.
I…
I have little problem. I'm trying to analyze mp3 sound. But I don't want to do it real-time (it works perfect for me). I have problem with OfflineAudioContext, documentation is written rly bad, no examples or something. Best result was a lot of…
Is it possible to achieve low latency audio playback using HTML5? I'm currently using AudioContext API. However, I am getting latency of about 4 seconds. Which is way to much for my use case.
if (!window.audioContextInstance) {
…
I am using web audio api in my project. Is there a way to record the audio data that's being sent to webkitAudioContext.destination?
.wav files are playing in my browser, so there should be some way to store that data into a (.wav) file . i know…
we're having trouble playing streamed audio in a browser (using Chrome).
We have a process which is streaming some audio (for example an internet radio) on udp on some port. It's avconv (avconv -y -i SOMEURL -f alaw udp://localhost:PORT).
We have a…
How can I instanciate javascript class in type script?
For exemple:
class LiveAudioFreq {
context;
constructor(){
context = new window.AudioContext();
}
}
Give me the error:
error TS2094: The property 'AudioContext' does not…
I use the AudioContext of web audio api and I install the chrome beta 29 version in my android 4.0 tablet(Samsung P7510), But Javascript will throw the exception "AudioContext is undefine", but on chrome beta 29 PC version, it is work fine. And even…
I used "ended" event to execute some javascript code on the end of playback for html5 audio.
document.getElementById('audio').addEventListener("ended",function() {
// code
});
However, i needed low latency and i decided to use the lowlag…