X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fmidi-item.hh;h=c5a9cc9fddce90dcee66b6fe84cd95f1acc8afda;hb=32a34dcef0c0041c6d62677487a380b5c8b85712;hp=cc59ed0abe1c165511408dfe82d4bde628ffb940;hpb=f41973ff763d5972a85995b6d40c864281ec6714;p=lilypond.git diff --git a/lily/include/midi-item.hh b/lily/include/midi-item.hh index cc59ed0abe..c5a9cc9fdd 100644 --- a/lily/include/midi-item.hh +++ b/lily/include/midi-item.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2011 Jan Nieuwenhuizen + Copyright (C) 1997--2012 Jan Nieuwenhuizen LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -24,7 +24,7 @@ #include "std-vector.hh" string int2midi_varint_string (int i); - + /** Any piece of midi information. @@ -40,7 +40,6 @@ public: static Midi_item *get_midi (Audio_item *a); - virtual string to_string () const = 0; }; @@ -61,7 +60,6 @@ public: Real seconds_; }; - /** Change instrument event */ @@ -111,7 +109,6 @@ public: Audio_note *audio_; - static int const c0_pitch_ = 60; Byte dynamic_byte_; }; @@ -132,10 +129,10 @@ class Midi_text : public Midi_item { public: enum Type - { - TEXT = 1, COPYRIGHT, TRACK_NAME, INSTRUMENT_NAME, LYRIC, - MARKER, CUE_POINT - }; + { + TEXT = 1, COPYRIGHT, TRACK_NAME, INSTRUMENT_NAME, LYRIC, + MARKER, CUE_POINT + }; DECLARE_CLASSNAME (Midi_text); Midi_text (Audio_text *);