X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftab-note-heads-engraver.cc;h=3c5b2e91d195e92cfe38bc12d2f6a210600b3f02;hb=51c235fc2049263578097b3833d365e47202f229;hp=0d56bb44bb12b427dcc883cfeecb42141b4180a7;hpb=c8f35b49edadbef240fe3ad4931a6c9f526cc6d6;p=lilypond.git diff --git a/lily/tab-note-heads-engraver.cc b/lily/tab-note-heads-engraver.cc index 0d56bb44bb..3c5b2e91d1 100644 --- a/lily/tab-note-heads-engraver.cc +++ b/lily/tab-note-heads-engraver.cc @@ -1,7 +1,20 @@ /* - tab-note-heads-engraver.cc -- part of GNU LilyPond + This file is part of LilyPond, the GNU music typesetter. - (c) 2002--2007 Han-Wen Nienhuys, Jean-Baptiste Lamy , + Copyright (C) 2002--2009 Han-Wen Nienhuys, Jean-Baptiste Lamy , + + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include @@ -99,7 +112,7 @@ Tab_note_heads_engraver::process_music () SCM scm_pitch = event->get_property ("pitch"); int min_fret = robust_scm2int (get_property ("minimumFret"), 0); int start = (high_string_one) ? 1 : string_count; - int end = (high_string_one) ? string_count : 1; + int end = (high_string_one) ? string_count+1 : 0; int i = start; do @@ -148,18 +161,22 @@ Tab_note_heads_engraver::stop_translation_timestep () } ADD_TRANSLATOR (Tab_note_heads_engraver, - /* doc */ "Generate one or more tablature noteheads from event of type NoteEvent.", + /* doc */ + "Generate one or more tablature noteheads from event of type" + " @code{NoteEvent}.", + /* create */ - "TabNoteHead " - , + "TabNoteHead ", /* read */ + "fretLabels " + "highStringOne " "middleCPosition " - "stringTunings " "minimumFret " - "tablatureFormat " - "highStringOne " - "stringOneTopmost ", + "stringOneTopmost " + "stringTunings " + "tablatureFormat ", - /* write */ ""); + /* write */ "" + );