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 Particle Physics LFO script #297

Merged
merged 5 commits into from
Sep 23, 2023
Merged

Conversation

chrisib
Copy link
Collaborator

@chrisib chrisib commented Aug 12, 2023

Marked as a draft until we sort out the new menu system & others have a chance to play around with this script a little.

Adds an irregular LFO based on the physics of a one-dimensional particle bouncing under the effect of gravity. The particle's initial height & velocity can be set, as can the elasticity of the collision & acceleration due to gravity.

CV1-3 output binary signals when the particle hits the ground, hits peak altitude, or comes to rest.

CV4-5 output CV signals based on the particle's velocity and position.

B1 or DIN can be used to release the particle.

K1 and K2 adjust the initial conditions. Hold B2 while turning K1 or K2 to edit the second row of settings.

CV6 and AIN are currently unused.

@roryjamesallen roryjamesallen added the draft Not yet ready to merge label Aug 12, 2023
@roryjamesallen roryjamesallen changed the title DRAFT: Particle Physics LFO Add Particle Physics LFO script Aug 12, 2023
@chrisib
Copy link
Collaborator Author

chrisib commented Sep 3, 2023

Once #298 gets merged I'll rebase this branch to be compatible with the new menu system. Once that's done I think this should be ready for review.

@chrisib
Copy link
Collaborator Author

chrisib commented Sep 11, 2023

I think this is ready for review. I don't have permission to remove the draft label though.

@awonak awonak removed the draft Not yet ready to merge label Sep 11, 2023
…nstead sets flags inherent to the class. Assume the particle has come to rest if it's 2mm at peak altitude; otherwise we get into weird floating-point errors. May tweak this more later. Use CV3 to send a gate when the particle is at rest (can be used to auto-reset the particle!). CV4-5 are position/velocity. CV6 is still unused
@awonak awonak merged commit bf2b6b6 into Allen-Synthesis:main Sep 23, 2023
3 checks passed
@chrisib chrisib deleted the marble-physics branch September 23, 2023 18:01
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.

None yet

3 participants