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

Add operators for combining oscillators together #90

Open
sofian opened this issue Jan 28, 2024 · 0 comments
Open

Add operators for combining oscillators together #90

sofian opened this issue Jan 28, 2024 · 0 comments

Comments

@sofian
Copy link
Collaborator

sofian commented Jan 28, 2024

Since by default the oscillators are set in the [0, 1] range the usual operations of addition will not work as planned. So we should provide a way to easily add oscillators.

Notice though that an average of oscillators would do the trick; furthermore it will ensure result stays within [0, 1] so perhaps that's all we would need. Something to think about...

More broadly we can think about ways to combine multiple sources together (composition?)

  • add
  • subtract
  • min
  • max
  • average
  • not
  • and
  • or
  • xor
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