summaryrefslogtreecommitdiff
path: root/input/regression/display-lily-tests.ly
Commit message (Expand)AuthorAgeFilesLines
* Add display method for \rightHandFinger.Neil Puttock2011-03-011-0/+1
* Fix #1540: correct display method for single note chords....* input/regression/display-lily-tests.ly: add test for EventChord with single NoteEvent and post_events * scm/define-music-display-methods.scm (EventChord display method): use post-event? predicate to filter 'articulations Neil Puttock2011-03-011-1/+2
* Add support for tempo ranges...This commit - extends the parser to accept the following syntax: \tempo numA ~ numB - changes the 'tempoUnitCount property to accept either a number or a pair (in which case tempoWholesPerMinutes will be set by averaging the two numbers) - adapts the format-metronome-markup translation function to print the tempo range properly - adds a metronome-range.ly regtest - adds relevant display-lily methods, and updates this regtest as well. Valentin Villenave2010-11-301-0/+3
* Fix #372....Thanks to Carl for providing the inspiration for this patch. * input/regression/auto-beam-partial-grace.ly: new regtest * input/regression/display-lily-tests.ly: remove TODO for scaled duration \partial test * lily/partial-iterator.cc (new file): use a simple music iterator to calculate the correct measurePosition setting, and warn for \partial used after the start of a score * scm/define-music-display-methods.scm: simplify display method for partial: since the new music object `PartialSet' carries the original duration from the parser, extra code for converting moments to durations is no longer required * scm/define-music-properties.scm (all-music-properties): add property for \partial, partial-duration * scm/define-music-types.scm (music-descriptions): add PartialSet * scm/ly-syntax-constructors.scm (partial): change constructor to allow 'origin to be set directly (used by iterator to signal warning message) use PartialSet Neil Puttock2010-09-261-1/+1
* Fix #765: Display method for \ottava....Since \ottava currently uses ApplyContext to set the relevant context properties which trigger creation of an ottava bracket, the information useful to its display method (i.e., the octavation) is inaccessible: the only music property which can be extracted is the argument to ApplyContext, its procedure. By wrapping the existing code which creates an ottava bracket (make-ottava-set) in a synthetic event, the octavation can be passed as a music property, thus making it accessible from a display method. * input/regression/display-lily-tests.ly: add test for \ottava * ly/music-functions-init.ly (ottava): create ottava bracket via synthetic OttavaMusic * scm/define-music-display-methods.scm: add display method for \ottava, which simply catches OttavaMusic and reads 'ottava-number * scm/define-music-properties.scm (all-music-properties): add 'ottava-number * scm/define-music-types.scm: copy make-ottava-set from scm/music-functions.scm add OttavaMusic: uses a sequential iterator to call make-ottava-set via its elements-callback * scm/music-functions.scm: add ly:context-property as procedure-with-setter remove make-ottava-set Neil Puttock2010-07-261-0/+2
* Add display method for repeated chords.Neil Puttock2010-04-281-2/+3
* Fix #786....Send a CompletizeExtenderEvent at the end of each lyrics block so that the Extender_engraver can tie up loose ends with any pending extender. * input/regression (display-lily-tests.ly): add extra space to \lyricsto and \addlyrics test to account for silenced display method * lily/extender-engraver.cc: add listener for CompletizeExtenderEvent which will call completize_extender () if necessary revert previous fix which checked for empty LyricText grob * lily/hyphen-engraver.cc: revert fix as above * lily/lyric-engraver.cc (process_music): don't create empty LyricText grobs * scm/define-event-classes.scm (event-classes): add completize-extender-event as child of music-event * scm/define-music-display-methods.scm: add display method for CompletizeExtenderEvent (returns empty string) * scm/define-music-types.scm (music-descriptions): add CompletizeExtenderEvent * scm/ly-syntax-constructors.scm (lyric-combine-music): insert CompletizeExtenderEvent at the end of the sequential music (i.e., following the last lyric) Neil Puttock2010-04-181-3/+3
* Test display method for \bendAfter.Neil Puttock2010-03-081-0/+1
* Fix #189: Episema over single neume....* add Episema_engraver (based on Text_spanner_engraver) which listens to EpisemaEvent and creates Episema spanner * set NoteHeads as 'side-support-elements so spanner can be quantized over neume/melisma * ensure episema doesn't extend past bound items by setting NoteColumns as spanner bounds * add regression test Neil Puttock2010-03-021-0/+1
* fixed issue 569: Consistency in property names: beam-thicknessFrederic Bron2009-08-141-2/+2
* Correct \displayLilyMusic output for single-note harmonics....* since \harmonic only works inside chords, ensure \displayLilyMusic interprets a single-note harmonic as a note_chord_element * remove trailing spaces Neil Puttock2009-07-191-1/+1
* Update .ly files.Neil Puttock2008-12-241-1/+1
* Fix docs compilation programming errors and warnings....- use grob-interpret-markup instead of 'text - end manual repeat volta correctly - correct syntax for octave check in display-lily-test.ly - add 'direction to accidental-placement-interfaace - don't set 'bound-details for hairpins - add missing interfaces in define-grobs.scm - correct display methods for SustainEvent & SostenutoEvent Neil Puttock2008-12-041-1/+1
* Run convert-ly on input/lsr and input/regressionCarl Sorensen2008-07-051-3/+3
* Remove `\repeat "fold"' and its associated stuff....This was neither documented nor working properly. Werner Lemberg2007-07-011-1/+0
* Load the (scm display-lily) module into (lily), instead of from toplevel ly m...Nicolas Sceaux2007-01-221-7/+3
* further cleanup of display-lily-tests.Han-Wen Nienhuys2007-01-061-15/+0
* print display-lily-tests results with ly:progressHan-Wen Nienhuys2007-01-061-24/+18
* move no-notation and midi to input/regression/Han-Wen Nienhuys2007-01-021-0/+262
* * input/no-notation/display-lily-tests.ly: moved from...input/regression/ to input/no-notation. Be sure to call `display-lily-init' before trying to use the display function. Nicolas Sceaux2005-08-161-256/+0
* * ly/engraver-init.ly: add Rest_engraver only once....* scm/define-music-display-methods.scm (KeyChangeEvent): only do (*parser*) lookup if (*parser*) != #f. Han-Wen Nienhuys2005-08-151-1/+0
* * scm/display-lily.scm: new file. Define a `display-lily-music'...function, that displays the music expression given as an argument, using LilyPond notation. * scm/define-music-display-methods.scm: new file. Implementation of display methods for each music type. * input/regression/display-lily-tests.ly: new regression test file for `display-lily-music'. Nicolas Sceaux2005-07-221-0/+257