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

Migrate rhythmmakertools.silence*(), sustain*() to SilenceMask, SustainMask static methods #842

Closed
trevorbaca opened this issue Jul 6, 2017 · 1 comment
Assignees
Labels

Comments

@trevorbaca
Copy link
Member

Now:

rhythmmakertools.silence()
rhythmmakertools.silence_all()
rhythmmakertools.silence_every()
rhythmmakertools.silence_except()
rhythmmakertools.silence_first()
rhythmmakertools.silence_last()

rhythmmakertools.sustain()
rhythmmakertools.sustain_all()
rhythmmakertools.sustain_every()
rhythmmakertools.sustain_first()
rhythmmakertools.sustain_last()

Better:

SilenceMask.silence()
SilenceMask.silence_all()
SilenceMask.silence_every()
SilenceMask.silence_except()
SilenceMask.silence_first()
SilenceMask.silence_last()

SustainMask.sustain()
SustainMask.sustain_all()
SustainMask.sustain_every()
SustainMask.sustain_first()
SustainMask.sustain_last()

Static methods can then be imported into rhythmmakertools namespace to preserve existing user interface.

@trevorbaca trevorbaca self-assigned this Jul 6, 2017
@trevorbaca
Copy link
Member Author

Done in 2.21.

trevorbaca added a commit that referenced this issue Jul 31, 2017
Added SustainMask.sustain*() methods.
trevorbaca added a commit that referenced this issue Jul 31, 2017
Added SustainMask.sustain*() methods.
trevorbaca added a commit that referenced this issue Jul 31, 2017
Added SustainMask.sustain*() methods.
trevorbaca added a commit that referenced this issue Jul 31, 2017
Added SustainMask.sustain*() methods.
trevorbaca added a commit that referenced this issue Jul 31, 2017
Added SustainMask.sustain*() methods.
trevorbaca added a commit that referenced this issue Jul 31, 2017
Added SustainMask.sustain*() methods.
trevorbaca added a commit that referenced this issue Jul 31, 2017
Added SustainMask.sustain*() methods.
trevorbaca added a commit that referenced this issue Jul 31, 2017
Added SustainMask.sustain*() methods.
trevorbaca added a commit that referenced this issue Jul 31, 2017
Added SustainMask.sustain*() methods.
trevorbaca added a commit that referenced this issue Jul 31, 2017
Added SustainMask.sustain*() methods.
trevorbaca added a commit that referenced this issue Jul 31, 2017
Added SustainMask.sustain*() methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant