Comments (6)
from web-audio-api.
I was curious how fluctuant the values are in practice. I built a little demo to check it.
https://stackblitz.com/edit/js-jfkhex?file=index.js,index.html
When testing this on macOS with the internal speakers I get a constant outputLatency
value for Chrome and Firefox. The demo doesn't work in Safari because it doesn't implement outputLatency
and has a bug in its getOutputTimestamp()
implementation.
My test is obviously very simple and not really a real life audio app. @henbos Is there anything obvious I could do to provoke a changing outputLatency
?
from web-audio-api.
@chrisguttandin non-default AudioContextOptions should help to trigger outputLatency changes (ex.: 44.1 kHz sample rate, "playback" latency hint).
from web-audio-api.
@henbos SG, though I'd rather call it resetOutputLatencyStats(), to not confuse with outputLatency.
from web-audio-api.
Relatedly WICG/proposals#142
from web-audio-api.
Since this idea is pursued by the WICG issue link, I believe we can close this.
from web-audio-api.
Related Issues (20)
- Lift autoplay restriction on a muted AudioContext HOT 7
- no ignore background noise HOT 1
- Confused by "Mono-to-stereo processing is used when all connections to the input are mono" HOT 1
- PreservePitch in web Audio API HOT 2
- Should copyToChannel accept a shared Float32Array? HOT 2
- Handling unconnected AudioWorkletNode's output HOT 11
- Device-related error reporting via AudioContext.onerror HOT 18
- Event Loop execution in `closed` state HOT 3
- Using `default` device ID for setSinkId() HOT 7
- Mono audio plays on only the left speaker if a ChannelSplitterNode is used HOT 11
- Review mute/unmute/ended and constraints on track in audioContext.createMediaStreamDestination().stream HOT 1
- AudioWorkletProcessor difficult to use i have new Idea
- add AudioNode methods function for manipulation
- Whether process() is called for an AudioWorkletNode should depend on whether the active source flag is true and whether the AudioNodes connected to inputs are actively processing HOT 4
- AudioDestinationNode numberOfOutputs=1 according to the spec, but all browsers return 0 HOT 3
- AudioWorkletProcessCallback should not be a callback type HOT 8
- Audio routed to the earpiece speaker HOT 1
- AudioContext stuck on "interrupted" in Safari HOT 1
- Can ASSN.start() start an AudioContext that would otherwise not be allowed to start? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-audio-api.