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

Operators for PolyWad #75

Closed
ghost opened this issue May 13, 2017 · 11 comments
Closed

Operators for PolyWad #75

ghost opened this issue May 13, 2017 · 11 comments

Comments

@ghost
Copy link

ghost commented May 13, 2017

Hello there again.
I wonder if PolyWad also supports substract and multiply methods, other than add.

Thanks in advance.

@rserota
Copy link
Owner

rserota commented May 14, 2017

There is a remove() method, but there are no subtract or multiply methods.

Polywads are basically just containers for other wads and polywads. You can add() and remove() wads from them, but I'm not really sure what 'multiplying' would mean in this context.

@ghost
Copy link
Author

ghost commented May 14, 2017

I guess add is for additive synthesis, so substract and multiply would be for subtractive and FM.

@rserota
Copy link
Owner

rserota commented May 14, 2017

Ah, I think I see what you're getting at.

You can perform additive synthesis by adding multiple oscillators to a Polywad.

Subtractive synthesis mostly just involves layering filters over an oscillator.

Wad.js does not support FM synthesis.

@ghost
Copy link
Author

ghost commented May 14, 2017

How do I do? Is it already supported?
Is FM planned?

@rserota
Copy link
Owner

rserota commented May 14, 2017

There are some examples in the documentation about using filters. You might have to play around with them a bit to find sounds you like.

I'm not planning to add FM synthesis to Wad.js.

@ghost
Copy link
Author

ghost commented May 14, 2017

Thanks.

@ghost ghost closed this as completed May 14, 2017
@ghost
Copy link
Author

ghost commented May 15, 2017

Sorry, I have 2 more questions:

  1. Does a filter support envelope?
  2. Please, point me to the documentation section for layering filters

Thanks in advance

@rserota
Copy link
Owner

rserota commented May 16, 2017

You can only set the attack for a filter envelope, but often that's all you need. The section of the documentation about the constructor contains information about using filters.

An example of using multiple filters can be found here: https://github.com/rserota/wad#filters

@ghost
Copy link
Author

ghost commented May 19, 2017

Three last questions:

  1. Can I add an envelope for a LFO?
  2. Can I automate an envelope using a LFO?
  3. Can I automate a filter using a LFO?

If so, how? If not, why?

@rserota
Copy link
Owner

rserota commented May 19, 2017

The only sorts of LFO modulation that Wad.js supports are vibrato and tremolo. Wad.js doesn't support attaching LFOs to arbitrary parameters, though that would be pretty cool.

@ghost
Copy link
Author

ghost commented Jun 20, 2017

I really need FM and AM synthesis, and some way to procedurally change filter and oscillator parameters during playback.

This issue was closed.
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

1 participant