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

New audio! #335

Merged
merged 22 commits into from
Jan 1, 2025
Merged

New audio! #335

merged 22 commits into from
Jan 1, 2025

Conversation

mattgodbolt
Copy link
Owner

@mattgodbolt mattgodbolt commented Dec 22, 2021

  • Outputs audio at chip frequency
  • Spits it out as buffers to a web audio thread that then (terribly) downsamples it.
  • Various queues and stats
  • Horrible hacks to try and keep things in sync.

@mattgodbolt mattgodbolt changed the title A very long and painful attempt at getting new audio New audio! Dec 23, 2021
This reverts commit 58642bd.

It was not good enough - averaging works better to reduce noise
on e.g. depeche mode.
@mattgodbolt mattgodbolt marked this pull request as ready for review December 23, 2021 21:48
web/audio-handler.js Outdated Show resolved Hide resolved
@mattgodbolt
Copy link
Owner Author

Webpack's lack of decent support still gives me pause, but...I brought this up to date at least.

@mattgodbolt
Copy link
Owner Author

now we're on vite I can consider looking into this again

@mattgodbolt mattgodbolt merged commit 94fa786 into main Jan 1, 2025
3 checks passed
@mattgodbolt mattgodbolt deleted the mg/webaudiohackery branch January 1, 2025 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants