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

[Question] Integrate with beet.js #151

Open
pr1ntr opened this issue Mar 19, 2021 · 1 comment
Open

[Question] Integrate with beet.js #151

pr1ntr opened this issue Mar 19, 2021 · 1 comment

Comments

@pr1ntr
Copy link

pr1ntr commented Mar 19, 2021

I am looking to use beet.js for a musical project. But I like the effects pizzicato and am wondering if its possible to use pizzicato with an audiocontext that is being used by beet,js. Something like beet.js -> pizzicato.js. Thanks.

@Catsvilles
Copy link

@pr1ntr Should be possible. As I can see from beet.js examples you have to create a new context anyway.

var context = new AudioContext(); var beet = new Beet({ context: context });
Just set
Pizzicato.context = context

And then you can use them together with one shared context :)

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

No branches or pull requests

2 participants