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

Support multiple (possibly offline) audio contexts #8

Merged
merged 9 commits into from
Sep 8, 2022

Conversation

Smona
Copy link
Owner

@Smona Smona commented Sep 8, 2022

This removes some ill-advised caching code for the processor files, which was preventing the use of one .dsp module with multiple AudioContexts. Classic case of premature optimization 😅

It also expands the test cases to include instantiation with multiple contexts, rendering of an offline context, and tools for quality assurance on the output audio.

Finally, I added some safeguards to the publishing process and minimized the files to be included in the NPM package.

Resolves #5

They will now check using multiple (possibly offline) audio contexts,
and include tools in the page for testing the audio output.

I've reverted the test dsp to a simple noise generator to get some audio
to test, but this harness will evolve over time to test the faust output
and types more thoroughly.
@Smona Smona merged commit 9fd67bb into main Sep 8, 2022
@Smona Smona deleted the multi-audio-contexts branch September 8, 2022 03:42
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.

OfflineAudioContext support
1 participant