summaryrefslogtreecommitdiff
path: root/scripts/midi2ly.py
Commit message (Expand)AuthorAgeFilesLines
* Run grand-replace for 2009.Jan Nieuwenhuizen2009-01-061-2/+2
* Update some python scripts to (c) --2008 and render grand-replace affectible.Jan Nieuwenhuizen2009-01-061-7/+9
* Fix "Report bugs..." localized strings...This allows adding a link to a list where the language of the translation is used. John Mandereau2008-12-091-3/+4
* Run `make grand-replace'.Jan Nieuwenhuizen2008-12-011-1/+1
* Fix midi2ly --output option.Neil Puttock2008-10-191-5/+4
* Improve man pages in `scripts' directory....help2man is quite picky: . It needs newlines to properly identify the various sections. . Examples must start with a shell prompt character. . Multiple usage lines needs the same indentation. . I've replaced the `Bugs' string with an empty one in the call to the `addoption_group' since it confuses help2man otherwise. Note that man page output is still not optimal yet; some constructs can't be handled well by automatic parsing. Werner Lemberg2008-07-311-4/+3
* Update deprecated Python constructs...Also fix a small amount of style nits. A lot more could be done to improve coding style of these scripts, but at least they won't break with future Python releases because of obsolete constructs. John Mandereau2008-04-271-9/+8
* formatting nits.Han-Wen Nienhuys2008-03-231-3/+1
* Improve Python scripts localization...* all scripts: add --help and --version options manually so they are localized, and mark 'Bugs' for translation; * musicxml2ly.py: use gettext from lilylib, uniformize option descriptions (always start downcase and do not end with a period); * musicexp.py, musicxml.py: use encoded writing to stderr and save translation work by creating error and warning functions. John Mandereau2008-02-131-5/+11
* Use Python Unicode encoding for gettexted strings...Python 2.5 strings encoding handling seems not always consistent between various modules, so we must use Python Unicode strings and thus reencode strings when writing to stderr/stdout. This commit applies changes proposed on lilypond-devel a while ago in thread "Gettexted messages encoding with Python 2.5". Even if GUB still uses Python 2.4, LilyPond packages on some distros (e.g. Fedora) already use 2.5, so it's important to fix this. I think these changes are also compatible with 2.4, but anyway I must check GUB binary when it's out. By the way, further localization work is needed: localize musicxml2ly strings, and fix some nitpicks. John Mandereau2008-01-301-17/+9
* Run grand-replace on all sources. Updates (c) ....--2006 lines.Jan Nieuwenhuizen2007-08-091-1/+1
* use sed-atfiles to put relocation handling in python scripts.Han-Wen Nienhuys2007-01-251-15/+4
* More message fixes and dutch translations.Jan Nieuwenhuizen2006-12-231-14/+13
* * scm/output-ps.scm (dashed-line): add phase argument to...dashed-line. * lily/bar-line.cc (dashed_bar_line): new function. (compound_barline): support \bar "dashed". * lily/lily-parser-scheme.cc (LY_DEFINE): only write --output=DIR to DIR/BASE if it is a dir. * flower/file-name.cc (file_part): new function (dir_part): new function * lily/lily-parser-scheme.cc (LY_DEFINE): * DEDICATION: update Han-Wen Nienhuys2006-07-261-2/+0
* (datadir): remove LILYPONDPREFIX support.Han-Wen Nienhuys2006-07-241-21/+8
* Fix some bugs in the dynamic engraver and PostScript backendErlend Aasland2006-05-311-7/+22
* * scm/output-ps.scm (dashed-line): add phase argument to...dashed-line. * lily/bar-line.cc (dashed_bar_line): new function. (compound_barline): support \bar "dashed". * lily/lily-parser-scheme.cc (LY_DEFINE): only write --output=DIR to DIR/BASE if it is a dir. * flower/file-name.cc (file_part): new function (dir_part): new function * lily/lily-parser-scheme.cc (LY_DEFINE): * DEDICATION: update Han-Wen Nienhuys2006-07-261-2/+0
* (datadir): remove LILYPONDPREFIX support.Han-Wen Nienhuys2006-07-241-21/+8
* (write-system-signature): new routine: write...python parseable signature of a separate paper system. Han-Wen Nienhuys2006-05-271-1/+0
* (ATVARIABLES): add TARGET_PYTHON as subst...variable. Han-Wen Nienhuys2006-05-171-1/+1
* (dump_score): indent of 4 for python code.Han-Wen Nienhuys2006-05-011-3/+3
* (dump_score): indent of 4 for python code.Han-Wen Nienhuys2006-05-011-835/+835
* * scripts/midi2ly.py (Key.dump): pychecker cleanups....* python/lilylib.py (underscore): remove identify() , warranty() * ps/music-drawing-routines.ps: change Border routine for GSView compatibility. * lily/stem.cc (height): use quantize-positions. This triggers set_stem_lengths, so scripts on beamed stems are handled correctly. * lily/side-position-interface.cc (aligned_side): check if edges of script are inside staff. Fixes accent of edge of the staff. * input/regression/staccato-pos.ly: more examples. Han-Wen Nienhuys2006-03-021-67/+64
* (print): suicide if we don't have any...elements. Fixes hara kiri'd instrument names. Han-Wen Nienhuys2006-03-021-3/+1
* * scripts/etf2ly.py (do_options): use optparse...* scripts/midi2ly.py: optparse, strip lilylib copy. Han-Wen Nienhuys2006-03-011-9/+12
* * scripts/midi2ly.py: optparse, strip lilylib copy....* scripts/abc2ly.py (voices): use optparse. * scripts/convert-ly.py (bindir): use optparse, argv[0] relocation. Han-Wen Nienhuys2006-03-011-256/+110
* *** empty log message ***Jan Nieuwenhuizen2006-01-061-0/+1
* * The grand 2005-2006 replace.Jan Nieuwenhuizen2006-01-061-2/+2
* *** empty log message ***Han-Wen Nienhuys2005-11-291-1/+2
* (process_music): bugfix: stop...staff if first_start_ is true. Han-Wen Nienhuys2005-11-231-26/+60
* * scm/lily.scm: Remove horrendous running-from-gui? kludge....(lilypond-main): Redirect to gui-main if 'gui is set. Backportme. * scripts/midi2ly.py (datadir): Add libdir iso datadir to path, for alternative installations kludging s/share/lib/g LILYPONDPREFIX. Backportme. * SConstruct (libdir_package_version): Define. * python/SConscript: * python/GNUmakefile (INSTALLATION_OUT_DIR): Install binary .so module in libdir. Backportme. Jan Nieuwenhuizen2005-10-231-1/+1
* * scm/lily.scm: Remove horrendous running-from-gui? kludge....(lilypond-main): Redirect to gui-main if 'gui is set. Backportme. * scripts/midi2ly.py (datadir): Add libdir iso datadir to path, for alternative installations kludging s/share/lib/g LILYPONDPREFIX. Backportme. * SConstruct (libdir_package_version): Define. * python/SConscript: * python/GNUmakefile (INSTALLATION_OUT_DIR): Install binary .so module in libdir. Backportme. Jan Nieuwenhuizen2005-10-231-2/+8
* * flower/memory-stream.cc (Memory_out_stream): remove fopencookie support....* ttftool/ttfps.c: use lily_cookie functions everywhere. * flower/include/file-cookie.hh: new file. lily_cookie extension * flower/file-cookie.cc: new file. lily_cookie extension. Han-Wen Nienhuys2005-06-061-1/+0
* *** empty log message ***Han-Wen Nienhuys2005-03-171-1/+0
* * lily/key-performer.cc (create_audio_elements): don't use...scm_eval_string. Check for minor 3rd directly. * input/mutopia/J.S.Bach/baerenreiter-sarabande.ly (sarabandeCelloGlobal): key is D minor, not F major. Han-Wen Nienhuys2005-03-171-3/+3
* *** empty log message ***Jan Nieuwenhuizen2005-02-041-2/+2
* *** empty log message ***Han-Wen Nienhuys2004-10-291-2/+2
* (LY_DEFINE): add ly:stencil-originHan-Wen Nienhuys2004-10-281-3/+2
* increase extent of Staff.Han-Wen Nienhuys2004-09-131-1/+1
* Changed scripts/* to use sys.argv[0]Pedro Kroger2004-09-091-1/+1
* * po/nl.po: Update....* lily/scm-option.cc (LY_DEFINE): Name of the program is lilypond-bin. * lily/event.cc (to_relative_octave): Translatable sentence should be one string. * python/lilylib.py (warranty): Year range is not translatable. It's 2004 already! * flower/warn.cc (non_fatal_error, warning, programming_error): Remove whitespace from translated string. Jan Nieuwenhuizen2004-03-311-5/+4
* * scm/part-combiner.scm: Add proper header....* All but lily/*: The great --2003 --2004 replace; the missing `bits'. Jan Nieuwenhuizen2004-02-111-1/+1
* 2003 -> 2004Han-Wen Nienhuys2004-02-051-1/+1
* * scripts/midi2ly.py: Add space after chords.Mats Bengtsson2003-11-171-1/+1
* * stepmake/GNUmakefile.in: remove nested stepmake packaging stuff....* VERSION: remove Han-Wen Nienhuys2003-09-091-6/+6
* add spaces.Heikki Junes2003-07-301-2/+2
* fixes. polishing: add spaces and dots.Heikki Junes2003-07-291-3/+3
* second polish.Heikki Junes2003-07-291-1/+1
* add verbs.Heikki Junes2003-07-291-2/+2
* * Another grand 2003 update.... * Remove mentioning of `mudela'; There's no such thing. Jan Nieuwenhuizen2003-04-241-2/+2