2 relative-music.cc -- implement Relative_octave_music
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
9 #include "relative-music.hh"
11 #include "scm-option.hh"
15 Relative_octave_music::to_relative_octave (Pitch p
)
17 if (lily_1_8_relative
)
19 lily_1_8_compatibility_used
= true;
21 ugh: last-pitch should be junked.
23 Change this for lilypond 2.0. When you do,
24 then B should start where A left off.
26 \relative { A \relative { ...} B }
29 return * unsmob_pitch (get_mus_property ("last-pitch"));
36 Relative_octave_music::Relative_octave_music ()
40 ADD_MUSIC (Relative_octave_music
);