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
0
votes
1 answer

Audio plays in Chrome but not Safari

I've got an angular 5 application where I've set the click handler of a button to download an audio file and play it. I'm using this code to do so: onPreviewPressed(media: Media): void { const url = "....."; this.httpClient.get(url,…
Gargoyle
  • 9,590
  • 16
  • 80
  • 145
0
votes
1 answer

No outputLatency in AudioContext

I'm trying to access the outputLatency feature in Chrome 64, but the property is undefined. According to the documentation it should work only on Chrome https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/outputLatency I know the feature…
0
votes
1 answer

OfflineAudioContext - adding gain to multiple channels

I am trying to manipulate gain on individual buffers in an OfflineAudioText. ac and data are previously determined after loading it in var source = ac.createBufferSource(); source.buffer = data; var splitter = ac.createChannelSplitter(2); …
Andrew
  • 33
  • 1
  • 5
0
votes
0 answers

How to send sound input from HTML to server

I need to send sound input to server. Can I send it as variable? What should I do in the function start_microphone(), and what methods of AudioContext() should I use? var input = null; var webaudio_tooling_obj = function() { var audioContext =…
Thanawat.ch
  • 25
  • 1
  • 2
  • 7
0
votes
1 answer

Livescript: AudioContext can't get defined

I'm trying to load audio with XMLHttpRequests and AudioContext, my code looks like this: class AudioExample audioContext: null init: -> AudioContext = window.AudioContext || window.webkitAudioContext @audioContext = new…
user3946265
0
votes
1 answer

Javascript Reg Pack Crusher doesn't crush Audiocontext

I want to crush this Javascript code: var ac = new AudioContext; //works fine without this line var oscillator = ac.createOscillator(); var analyser = ac.createAnalyser(); var gain = ac.createGain();` with this…
user4653097
0
votes
0 answers

Is there any method inside the AudioContext can let ByteTimeDomainData back to the sound?

The following code is where I can put the current TimeDomainData into an array. fbc_array = new Uint8Array(analyser.frequencyBinCount); analyser.getByteTimeDomainData(fbc_array); And then I can use the for statement to let each…
0
votes
1 answer

How to setup sequential independent recordings with webAudio-API

No problems to record the microphone, connect the analyzer for a nice vu-meter, re-sample the massive amount of data to something we can handle (8Khz, Mono) using 'xaudio.js' from the speex.js lib and to wrap it into an appropriate WAV…
0
votes
1 answer

using libFLAC to convert the output of AudioContext to FLAC format

I am trying to convert the PCM output of HTML5 audiocontext (e.g. buffer.getChannelData(0), ...) to PCM data that is required by "FLAC__stream_encoder_process_interleaved" The weird thing is FLAC requires data as int32 buffer (const FLAC__int32…
Belaviyo
  • 177
  • 2
  • 11
0
votes
0 answers

How (can?) I enable WebKit AudioContext on the Amazon Silk browser?

I'm working on a Web App and we're using the WebKit AudioContext. I'm trying to find the easiest way to run it on a Kindle Fire HD table (Android 4.x). (Chrome is not installed by default and it's not in the App Store for the Kindle) The Silk…
Clay Nichols
  • 11,848
  • 30
  • 109
  • 170
0
votes
2 answers

Stream microphone audio to speakers using AudioContext

I feel like maybe something has changed in Chrome as there are demos of this functionality out there that don't seem to work anymore. I haven't found anything saying so though. Here is my code: navigator.getUserMedia = ( navigator.getUserMedia ||…
0
votes
0 answers

Play Audio-Stream from Java-Application in HTML5-Audio-Tag

I've spent now almost a week trying to play an audio-stream in the browser sent from my java application. Playing a single file is not the problem. What I want to achieve is playing a constant stream (sent in form of byte-array-chunks) from a java…
0
votes
1 answer

webkitAudioContext Playback of base64 WAV

I have a wav file which with: ffmpeg -i my.wav Gives the output: output: Duration: 00:00:12.63, bitrate: 352 kb/s Stream #0.0: Audio: pcm_s16le, 22050 Hz, 1 channels, s16, 352 kb/s This is stored as a base64 string in JavaScript loaded in…
Justin Thomas
  • 5,680
  • 3
  • 38
  • 63
1 2 3 4
5