btyu / MidiProcessor

A MIDI processing tool that can transfer MIDI to tokens and vice versa. Still evolving...
13 stars 5 forks source link

Fix REMIGEN encoding method #6

Open lancelotblanchard opened 9 months ago

lancelotblanchard commented 9 months ago

The variable cur_global_pos was initially set to None in enc_remigen_utils.py which makes it crash when the sequence starts with a TS_ABBR item. Changed it to be initialized to 0 just like for REMIGEN2.