Kara-Moon Forum

Developers & Technology => Musical MIDI Accompaniment (MMA) => Topic started by: sciurius on December 28, 2018, 12:56:35 PM



Title: Embedding play time in file
Post by: sciurius on December 28, 2018, 12:56:35 PM
Is there a reason why the duration is followed by a newline, e.g. "DURATION: 125\n".
This should not be necessary, and none of the other MIDI texts have newlines.


Title: Re: Embedding play time in file
Post by: bvdp on December 28, 2018, 04:17:38 PM
No reason I can see. The \n is now removed from line 37 in main.py.

Just wondering ... does this make any difference in anything playing a MIDI file?


Title: Re: Embedding play time in file
Post by: sciurius on December 28, 2018, 06:43:18 PM
Not that I know. I just found the superfluous empty line remarkable  ;).