X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdynamic-performer.cc;h=f45c6620249c5e48e8a27fe44bfb677b4401075e;hb=1dbfe58548c0dbea3a09c94eb03113aaaaa73c75;hp=47abca1ead515d9d363639d3cb2f005cb0e8daf7;hpb=00e3e15364b9d3c94cda1bcab9f889bb95f6832d;p=lilypond.git diff --git a/lily/dynamic-performer.cc b/lily/dynamic-performer.cc index 47abca1ead..f45c662024 100644 --- a/lily/dynamic-performer.cc +++ b/lily/dynamic-performer.cc @@ -1,9 +1,20 @@ /* - dynamic-performer.cc -- implement Dynamic_performer + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2000--2011 Jan Nieuwenhuizen - (c) 2000--2007 Jan Nieuwenhuizen + 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 "performer.hh" @@ -149,7 +160,6 @@ Dynamic_performer::stop_translation_timestep () finished_span_dynamic_->render (); finished_span_dynamic_ = 0; } - if (absolute_ && absolute_->volume_ < 0) { @@ -193,14 +203,19 @@ Dynamic_performer::listen_absolute_dynamic (Stream_event *r) } ADD_TRANSLATOR (Dynamic_performer, - /* doc */ "", - /* create */ "", + /* doc */ + "", + + /* create */ + "", /* read */ "dynamicAbsoluteVolumeFunction " "instrumentEqualizer " "midiMaximumVolume " "midiMinimumVolume " - "midiInstrument " - , - /*writes*/""); + "midiInstrument ", + + /* write */ + "" + );