-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
def _snote2events(snote: SplitNote, prev_vel: int):
result = []
if snote.velocity is not None:
modified_velocity = snote.velocity // 4
if prev_vel != modified_velocity:
result.append(Event(event_type='velocity', value=modified_velocity))
result.append(Event(event_type=snote.type, value=snote.value))
return result
prev_vel != modified_velocity line seems to be wrong,
it should be prev_vel != snote.velocity
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels