2 chord.hh -- declare Chord
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2000 Jan Nieuwenhuizen <janneke@gnu.org>
16 (PITCHES . (INVERSION . BASS))
23 static SCM pitches_and_requests_to_chord (SCM pitches,
27 bool find_inversion_b);
28 static SCM base_pitches (SCM tonic);
29 static SCM transpose_pitches (SCM tonic, SCM pitches);
30 static SCM lower_step (SCM tonic, SCM pitches, SCM step);
31 static SCM member_notename (SCM p, SCM pitches);
32 static SCM member_pitch (SCM p, SCM pitches);
33 static int step_i (Pitch tonic, Pitch p);
34 static SCM step_scm (SCM tonic, SCM p);
35 static SCM missing_thirds (SCM pitches);
36 static SCM to_pitches (SCM chord);
37 static SCM guess_tonic (SCM pitches);
38 static SCM add_above_tonic (SCM pitch, SCM pitches);
39 static SCM add_below_tonic (SCM pitch, SCM pitches);
40 static SCM tonic_add_sub_inversion_bass_to_scm (SCM tonic, SCM add, SCM sub,
41 SCM inversion, SCM bass);
42 static Simultaneous_music *get_chord (SCM tonic, SCM add, SCM sub, SCM inversion, SCM bass, SCM dur);