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 Slopes script #375

Merged
merged 2 commits into from
Nov 5, 2024
Merged

Add Slopes script #375

merged 2 commits into from
Nov 5, 2024

Conversation

chrisib
Copy link
Collaborator

@chrisib chrisib commented Aug 13, 2024

Adds a new script that generates gates & CV signals based on the slope of an incoming LFO, envelope, or other signal.

Connect an analogue signal to ain. cv1-3 output gates depending on whether the slope of the incoming signal is positive, negative, or steady. cv4-6 output CV signals based on the steepness of the slope (e.g. a faster LFO will change faster, producing steeper slopes, resulting in stronger output CV signals). For best results ain should have a varying slope (e.g. triangle or sine); a sawtooth wave will result in pretty boring outputs as the slope is consistently the same.

k1 acts as a de-noise adjustment. Increasing it will result in smoother outputs, but may make the script less responsive to rapid changes in slope.

k2 acts as an output attenuator for cv4-6.

@chrisib chrisib added the new script Addition of a new contrib script label Aug 13, 2024
@chrisib
Copy link
Collaborator Author

chrisib commented Aug 13, 2024

Note: CI failure is due to the renamed experimental.math -> experimental.math_extras change in #371.

…ith pretty quick LFOs, so allowing amplification is probably worthwhile.
@chrisib chrisib merged commit d2ac00b into Allen-Synthesis:main Nov 5, 2024
3 checks passed
@chrisib chrisib deleted the slopes branch November 5, 2024 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new script Addition of a new contrib script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants