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

Custom oscillator #102

Merged
merged 10 commits into from
Feb 15, 2024
Merged

Custom oscillator #102

merged 10 commits into from
Feb 15, 2024

Conversation

erkkah
Copy link
Contributor

@erkkah erkkah commented Feb 3, 2024

Hi.

I wanted to experiment with my own oscillator types without having to tweak the innards of amy, so I added support for a custom oscillator type.

This PR also makes it easier to pull in amy as a submodule and supplying a project-local "amy_config.h" by defining AMY_CONFIG_H. I also disabled the warning for building amy in "float" mode, since that is a valid use case.
And - I split the status/wave "OFF" constant into STATUS_OFF and WAVE_OFF.

If this is too much for a single PR, just let me know, I'm happy to split it up. Just wanted to share!

@bwhitman
Copy link
Collaborator

bwhitman commented Feb 3, 2024

Very cool. We'll take a look asap!!

@bwhitman
Copy link
Collaborator

Thanks for this @erkkah ! I had to make a few changes to keep it up to date with our more recent changes but everything looks good and i'll merge it in.

@bwhitman bwhitman merged commit d96ff43 into shorepine:main Feb 15, 2024
1 check passed
@erkkah
Copy link
Contributor Author

erkkah commented Feb 15, 2024

Awesome, and thanks for this great library! 🎶

bwhitman added a commit that referenced this pull request Apr 23, 2024
we need to access both msynth and synth in some oscillators.
and passing along the osc # is cleaner for this
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

Successfully merging this pull request may close these issues.

2 participants