For specify the tempo of the output midi file, added midi_bpm=120.0 option to TransformerWrapper.generate() to be carried up to PrettyMIDI() of MidiTokenizer.notes_to_midi().
I don't think this will affect the existing scripts, but it's a rough implementation so I'm not sure.
For specify the tempo of the output midi file, added
midi_bpm=120.0
option toTransformerWrapper.generate()
to be carried up toPrettyMIDI()
ofMidiTokenizer.notes_to_midi()
.I don't think this will affect the existing scripts, but it's a rough implementation so I'm not sure.