note_sequence, self._steps_per_quarter)
if (mm.steps_per_bar_in_quantized_sequence(quantized_sequence) !=
self._steps_per_bar):
return [], []
except (mm.BadTimeSignatureException, mm.NonIntegerStepsPerBarException,
mm.NegativeTimeException) as e:
return [], []
After Change
return ConverterTensors()
except (mm.BadTimeSignatureException, mm.NonIntegerStepsPerBarException,
mm.NegativeTimeException) as e:
return ConverterTensors()
new_notes = []
for n in quantized_sequence.notes:
if not n.is_drum: