LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
}
Audio_note::Audio_note (Pitch p, Moment m, bool tie_event, Pitch transposing)
}
Audio_note::Audio_note (Pitch p, Moment m, bool tie_event, Pitch transposing)
- while (dynamics_.back ()->volume_ > 0
- && dynamics_.size () > 1
- && sign (dynamics_.back ()->volume_ - dynamics_[0]->volume_) != grow_dir_)
+ while (dynamics_.back ()->volume_ > 0
+ && dynamics_.size () > 1
+ && sign (dynamics_.back ()->volume_ - dynamics_[0]->volume_) != grow_dir_)
Real start_v = dynamics_[0]->volume_;
if (dynamics_.back ()->volume_ < 0)
dynamics_.back ()->volume_ = max (min (start_v + grow_dir_ * 0.25, 1.0), 0.1);
Real start_v = dynamics_[0]->volume_;
if (dynamics_.back ()->volume_ < 0)
dynamics_.back ()->volume_ = max (min (start_v + grow_dir_ * 0.25, 1.0), 0.1);
Moment start = dynamics_[0]->get_column ()->when ();
Real total_t = moment_to_real (dynamics_.back ()->get_column ()->when () - start);
Moment start = dynamics_[0]->get_column ()->when ();
Real total_t = moment_to_real (dynamics_.back ()->get_column ()->when () - start);