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 Drop code #2

Open
devramsean0 opened this issue Nov 18, 2022 · 1 comment
Open

Add Drop code #2

devramsean0 opened this issue Nov 18, 2022 · 1 comment

Comments

@devramsean0
Copy link

devramsean0 commented Nov 18, 2022

Gradually speeds up a drum (any players) in a specified number of bars (the buildup), (from dur = Clock.bar_length() to a target dur) then solos it for another specified number of bars, then optionally ends the player while it unsolos.

Example:

b1.drop(buildup=2, target =1, solo=2, end=False)

Put on instrument, will start the duration at the bar length and half it every time until it reaches a certain value. Doesn't start until next bar.

@mr-eggleton mr-eggleton changed the title Add Droponce code Add Drop code Nov 20, 2022
@mr-eggleton
Copy link
Collaborator

FoxDot's default play() duration is 0.5, and the way it plays sound better with the option to use Euclidian patterns and a default buildup of 4 bars so this should be

b1.drop(buildup=4, target=0.5, euclid=False, solo=2, end=False)

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

2 participants