Git Product home page Git Product logo

Comments (11)

rserota avatar rserota commented on August 24, 2024

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.

from wad.

 avatar commented on August 24, 2024

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

from wad.

rserota avatar rserota commented on August 24, 2024

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.

from wad.

 avatar commented on August 24, 2024

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

from wad.

rserota avatar rserota commented on August 24, 2024

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.

from wad.

 avatar commented on August 24, 2024

Thanks.

from wad.

 avatar commented on August 24, 2024

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

from wad.

rserota avatar rserota commented on August 24, 2024

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

from wad.

 avatar commented on August 24, 2024

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?

from wad.

rserota avatar rserota commented on August 24, 2024

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.

from wad.

 avatar commented on August 24, 2024

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

from wad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.