Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio design #40

Open
fengb opened this issue Apr 22, 2020 · 0 comments
Open

Audio design #40

fengb opened this issue Apr 22, 2020 · 0 comments
Labels
Milestone

Comments

@fengb
Copy link
Owner

fengb commented Apr 22, 2020

We need to have some form of continuous sampling. Due to how humans perceive sound, any break in this sampling will result in noticeable stuttering and popping.

Thoughts:

  1. Circular queue. We need some mechanism to coordinate the exact offset or there could be floating point drift.
  2. Buffer a few frames behind. Humans can tolerate ~150ms of lag without perception, and having this lag period allows for the core to 'catch up' against any waggle caused by core and browser not perfectly synchronized.
@fengb fengb added the audio label Apr 22, 2020
@fengb fengb added this to the 1.0 — DMG milestone Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant