Questions tagged [webkitaudiocontext]

Use webkitaudiocontext for questions related to the Webkit prefixed version of the AudioContext API of the Web Audio API specification

References

73 questions
2
votes
3 answers

Does Live Web Audio Input work in Google Chrome on Ubuntu?

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…
Pickels
  • 33,902
  • 26
  • 118
  • 178
1
vote
0 answers

Audio Sound not playing in the Firebox using AudioContext

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",…
Manmeet Khurana
  • 367
  • 2
  • 13
1
vote
1 answer

No sound in safari using Web Audio API webkitAudioContext()

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…
Dave
  • 727
  • 6
  • 19
1
vote
0 answers

window.webkitAudioContext not working on Safari

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…
1
vote
1 answer

React 360: Safari Can't find variable: AudioContext

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…
bear
  • 663
  • 1
  • 14
  • 33
1
vote
0 answers

Volume is not working for Javascript Web Audio API playlist sample

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…
1
vote
1 answer

AudioContext Analyser working on firefox/chrome but not Safari

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…
1
vote
0 answers

Is there a way to specify or at least get the recording audio format in the browser?

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…
1
vote
0 answers

OfflineAudioContext

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…
1
vote
1 answer

Low Latency Audio Playback?

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) { …
ronag
  • 49,529
  • 25
  • 126
  • 221
1
vote
2 answers

Record sound of a webaudio api's audio context

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…
1
vote
1 answer

Streaming audio from avconv via NodeJs WebSockets into Chrome with AudioContext

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…
user3043061
1
vote
1 answer

Typescript and javascript class

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…
Tuizi
  • 1,643
  • 4
  • 22
  • 34
1
vote
2 answers

AudioContext of Web Audio API is not exist in Chrome beta 29 of Android 4.0 tablet

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…
TMM
  • 11
  • 3
1
vote
0 answers

webkitAudioContext event

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…
user1276919
  • 550
  • 5
  • 25