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

[Docs] How to render stuff. #25

Open
carlsmith opened this issue Oct 15, 2018 · 1 comment
Open

[Docs] How to render stuff. #25

carlsmith opened this issue Oct 15, 2018 · 1 comment

Comments

@carlsmith
Copy link

carlsmith commented Oct 15, 2018

The docs do not explain how rendering graphics works.

I'm looking through the demo, but it's not clear if we are meant to create our own graphics (which is what I personally want to do) or if we configure the library to generate graphics for us (at least normally).

Thanks for releasing Pedalboard. It looks really cool. I want to make an organ sound more like a synth with digital filters, LFOs etc. Do you think Pedalboard is a good choice for something like that?

@dashersw
Copy link
Owner

Hello Carl,

Although pedalboard.js is more for guitar effects, you can definitely use the same base classes like Box and BoxModel and create your own filters and effects.

If you look at the example folder (here)[https://github.com/dashersw/pedalboard.js/blob/master/example/index.html] it will already show you how to use the graphics, after creating the stage, all you do is stage.render(document.getElementById('floor')); and it already puts its entire DOM tree in the body.

However, you are not limited to using these raw classes that produce DOM elements. You can also directly instantiate the underlying model classes (like OverdriveModel, etc) and still process audio. However it would be harder to use, as they are more hands on.

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