diff --git a/git_sound/gitmidi.py b/git_sound/gitmidi.py index 3415b52..385fe0e 100644 --- a/git_sound/gitmidi.py +++ b/git_sound/gitmidi.py @@ -241,10 +241,14 @@ class GitMIDI(MIDIFile): commit_count = len(commits_to_process) for commit in commits_to_process: + current_commit += 1 + if callback: - current_commit += 1 callback(commit_count, current_commit) + if self.__verbose: + print("{}/{}".format(current_commit, commit_count)) + self.__git_log.append(self.gen_beat(commit)) @property @@ -302,6 +306,9 @@ class GitMIDI(MIDIFile): if callback is not None: callback(log_length, current) + if self.__verbose: + print("{}/{}".format(current, log_length)) + # Add a long note if self.__need_commits: self.addNote(track, log_channel,