Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 704523010
  • Loading branch information
Magenta Team committed Dec 10, 2024
1 parent b3be2a3 commit 311c8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mt3/note_sequences.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def note_event_data_to_events(
else:
# program + velocity + pitch
if state is not None:
state.active_pitches[(value.pitch, value.program)] = velocity_bin
state.active_pitches[(value.pitch, int(value.program))] = velocity_bin
return [event_codec.Event('program', value.program),
event_codec.Event('velocity', velocity_bin),
event_codec.Event('pitch', value.pitch)]
Expand Down

0 comments on commit 311c8ab

Please sign in to comment.