Questions tagged [audiocontext]

AudioContext is a modular interface for audio processing for the WebAudio API.

277 questions
0
votes
2 answers

AudioContext: Increase volume by x decibel

I'm working with the AudioContext() on a hearing-test and I was wondering how to raise/lower the volume by x dB. Is it even possible? At the moment, I have a gainNode connected to my AudioContext, which looks (in short) like this: var context = new…
misantronic
  • 1,132
  • 2
  • 10
  • 23
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

Multiple sources for AudioContext()

I have two one-second audio sources as follows: var context = system.AudioContext(); var source = context.createBufferSource(); var audioBuffer1 = context.createBuffer(1, float32Array_1.length,…
0
votes
1 answer

OfflineAudioContext only rendering and calling onComplete once

I've created an offline context to render a visualization based on the rendered buffer and call startRendering() to get the rendered buffer in the onComplete callback. If I try to create a new set of connected audio nodes, calling startRendering()…
David Rice
  • 1,111
  • 1
  • 11
  • 24
-1
votes
1 answer

Sound wont play correctly with Web Audio

I am trying to play a wav file using AudioContext - it plays correctly when loaded with
Moe
  • 61
  • 4
-1
votes
1 answer

Audio analysis with javascript + octave, 'different result of channel data between audiocontext decoder and octave'?

I'm developing a webapp for audio calibration using google polymer 3. Some process are running well untill I realized the audio channel data result is different to the expectation. I reference my expectation result to the octave software. I created…
-1
votes
2 answers

WebAudioContext suspended on iFrame

As from Chrome 71 WebAudioContext, it seems that the AudioContext starts as suspended on the page, until some requirements are filled. One of them is that the user must interact with the page so that the AudioContext is released to work as…
1 2 3
18
19