# This file is part of LilyPond, the GNU music typesetter.
#
-# Copyright (C) 1998--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
+# Copyright (C) 1998--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
# Jan Nieuwenhuizen <janneke@gnu.org>
#
# LilyPond is free software: you can redistribute it and/or modify
%s
%s
-''' % ( _ ('Copyright (c) %s by') % '2001--2009',
+''' % ( _ ('Copyright (c) %s by') % '2001--2010',
'\n '.join (authors),
_ ('Distributed under terms of the GNU General Public License.'),
_ ('It comes with NO WARRANTY.')))
global duration_quant_clocks
global allowed_tuplet_clocks
- str = open (in_file).read ()
+ str = open (in_file, 'rb').read ()
midi_dump = midi.parse (str)
clocks_per_1 = midi_dump[0][1]