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>
10 #include "relative-music.hh"
16 Relative_octave_music::to_relative_octave (Pitch p)
18 if (lily_1_8_relative)
22 ugh: last-pitch should be junked.
24 Change this for lilypond 2.0. When you do,
25 then B should start where A left off.
27 \relative { A \relative { ...} B }
30 return * unsmob_pitch (get_mus_property ("last-pitch"));
37 Relative_octave_music::Relative_octave_music ()
41 ADD_MUSIC (Relative_octave_music);