m->compress (factor);
compress_music_list (get_property ("elements"), factor);
+ Duration *d = unsmob_duration (get_property ("duration"));
+ if (d)
+ set_property ("duration", d ->compressed (factor.main_part_).smobbed_copy ());
}
void
Music::transpose (Pitch delta)
{
+ if (to_boolean (get_property ("untransposable")))
+ return ;
+
for (SCM s = this->get_property_alist (true); scm_is_pair (s); s = scm_cdr (s))
{
SCM entry = scm_car (s);
if (abs (transposed.get_alteration ()) > DOUBLE_SHARP)
{
- warning (_f ("Transposition by %s makes alteration larger than two",
+ warning (_f ("Transposition by %s makes alteration larger than double",
delta.to_string ()));
}
}