Skip to content

Commit

Permalink
Correct velocity args default value typo.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 373031746
  • Loading branch information
cghawthorne authored and Magenta Team committed May 10, 2021
1 parent edff0ca commit fba5e86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions note_seq/sequences_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1735,9 +1735,9 @@ def sequence_to_pianoroll(
min_pitch,
max_pitch,
# pylint: disable=unused-argument
min_velocity=constants.MIN_MIDI_PITCH,
min_velocity=constants.MIN_MIDI_VELOCITY,
# pylint: enable=unused-argument
max_velocity=constants.MAX_MIDI_PITCH,
max_velocity=constants.MAX_MIDI_VELOCITY,
add_blank_frame_before_onset=False,
onset_upweight=ONSET_UPWEIGHT,
onset_window=ONSET_WINDOW,
Expand Down

0 comments on commit fba5e86

Please sign in to comment.