#
# source file of the GNU LilyPond music typesetter
#
-# (c) 1998--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+# (c) 1998--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
# Jan Nieuwenhuizen <janneke@gnu.org>
'''
TODO:
* test on weird and unquantised midi input (lily-devel)
- * drop c++ midi2ly
* update doc and manpage
* simply insert clef changes whenever too many ledger lines
def warranty ():
identify ()
sys.stdout.write ('\n')
- sys.stdout.write (_ ('Copyright (c) %s by') % ' 2001--2004')
+ sys.stdout.write (_ ('Copyright (c) %s by') % ' 2001--2005')
sys.stdout.write ('\n')
sys.stdout.write (' Han-Wen Nienhuys')
sys.stdout.write (' Jan Nieuwenhuizen')
s = ''
if self.sharps and self.flats:
- s = '\\keysignature %s ' % 'TODO'
+ pass
else:
-
- if self.flats:
+ if self.flats:
k = (ord ('cfbeadg'[self.flats % 7]) - ord ('a') - 2 -2 * self.minor + 7) % 7
else:
k = (ord ('cgdaebf'[self.sharps % 7]) - ord ('a') - 2 -2 * self.minor + 7) % 7