-1.5.17.jcn5 - aka: `pgwit! Ah, dacht dat-i zo wel aardig was.'
+1.5.17.jcn6 - aka: `pgwit! Ah, dacht dat-i zo wel aardig was.'
===========
* Some more hacking at midi2ly.py:
- don't repeat duration by default
- bugfix: allow 8th notes too
- include new version of input/test/midi-scales.ly
- - added barchecks
+ - added barchecks + fix
+ - bugfix for relative mode
* Shorter MIDI creation texts.
else:
delta = self.pitch - reference_note.pitch
commas = sign (delta) * (abs (delta) / 12)
- if (sign (delta) \
- * (self.notename - reference_note.notename) + 7) \
- % 7 >= 4:
+ if ((sign (delta) \
+ * (self.notename - reference_note.notename) + 7) \
+ % 7 >= 4) \
+ or ((self.notename == reference_note.notename) \
+ and (abs (delta) > 4) and (abs (delta) < 12)):
commas = commas + sign (delta)
if commas > 0:
if t - last_bar_t == bar_t:
s = '|\n %% %d\n ' % bar_count
- last_bar_t = t
+ last_bar_t = t
+ else:
+ # urg, this will barf at meter changes
+ last_bar_t = last_bar_t + (t - last_bar_t) / bar_t * bar_t
+
return (s, last_bar_t, bar_count)