2 audio-item.cc -- implement Audio items.
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2006 Jan Nieuwenhuizen <janneke@gnu.org>
9 #include "audio-item.hh"
11 #include "midi-item.hh"
12 #include "audio-column.hh"
14 Audio_instrument::Audio_instrument (string instrument_string
)
16 str_
= instrument_string
;
19 Audio_item::Audio_item ()
24 Audio_note::Audio_note (Pitch p
, Moment m
, bool tie_event
, int transposing_i
)
29 transposing_
= transposing_i
;
30 tie_event_
= tie_event
;
34 Audio_note::tie_to (Audio_note
*t
)
37 Audio_note
*first
= t
;
40 first
->length_mom_
+= length_mom_
;
44 Audio_key::Audio_key (int acc
, bool major
)
50 Audio_dynamic::Audio_dynamic (Real volume
)
55 Audio_tempo::Audio_tempo (int per_minute_4_i
)
57 per_minute_4_
= per_minute_4_i
;
60 Audio_time_signature::Audio_time_signature (int beats
, int one_beat
)
66 Audio_text::Audio_text (Audio_text::Type type
, string text_string
)
68 text_string_
= text_string
;