Simplification
This commit is contained in:
@@ -61,6 +61,15 @@ def signature(notes):
|
||||
for i,n in enumerate(notes))
|
||||
|
||||
|
||||
def descriptor(pattern, duration):
|
||||
"""Retain ordered attacks, durations and space, including a trailing breath.
|
||||
|
||||
Absolute placement belongs to the caller. Equal counts or Boolean labels
|
||||
do not make two different rhythmic sentences interchangeable.
|
||||
"""
|
||||
return (duration, tuple(pattern))
|
||||
|
||||
|
||||
def broaden(pattern, arrival, release):
|
||||
"""Reopen an editable binary tail; never slice a tuplet or inherit its phase."""
|
||||
if (arrival*2).denominator!=1 or (release*2).denominator!=1:return ()
|
||||
|
||||
Reference in New Issue
Block a user