LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 2013--2019 by Heikki Tauriainen <g034737@welho.com>. | 4 Copyright (C) 2013--2019 by Heikki Tauriainen <g034737@welho.com>. |
5 Adapted from performer implementations | 5 Adapted from performer implementations |
6 Copyright (C) 1996--2019 Jan Nieuwenhuizen <janneke@gnu.org>, | 6 Copyright (C) 1996--2019 Jan Nieuwenhuizen <janneke@gnu.org>, |
7 Han-Wen Nienhyus <hanwen@xs4all.nl> and others. | 7 Han-Wen Nienhyus <hanwen@xs4all.nl> and others. |
8 | 8 |
9 LilyPond is free software: you can redistribute it and/or modify | 9 LilyPond is free software: you can redistribute it and/or modify |
10 it under the terms of the GNU General Public License as published by | 10 it under the terms of the GNU General Public License as published by |
(...skipping 25 matching lines...) Expand all Loading... |
36 MIDI control change performer. Announces "set property" events on MIDI | 36 MIDI control change performer. Announces "set property" events on MIDI |
37 context properties. | 37 context properties. |
38 */ | 38 */ |
39 class Midi_control_change_performer : public Performer | 39 class Midi_control_change_performer : public Performer |
40 { | 40 { |
41 public: | 41 public: |
42 TRANSLATOR_DECLARATIONS (Midi_control_change_performer); | 42 TRANSLATOR_DECLARATIONS (Midi_control_change_performer); |
43 void announce_control_change (SCM); | 43 void announce_control_change (SCM); |
44 ~Midi_control_change_performer (); | 44 ~Midi_control_change_performer (); |
45 | 45 |
46 void connect_to_context (Context *c); | 46 void connect_to_context (Context *c) override; |
47 void disconnect_from_context (Context *c); | 47 void disconnect_from_context (Context *c) override; |
48 | 48 |
49 private: | 49 private: |
50 class Control_change_announcer : public Midi_control_change_announcer | 50 class Control_change_announcer : public Midi_control_change_announcer |
51 { | 51 { |
52 public: | 52 public: |
53 Control_change_announcer (Midi_control_change_performer *p, | 53 Control_change_announcer (Midi_control_change_performer *p, |
54 Stream_event *ev, const string &s); | 54 Stream_event *ev, const string &s); |
55 | 55 |
56 SCM get_property_value (const char *property_name); | 56 SCM get_property_value (const char *property_name) override; |
57 void do_announce (Audio_control_change *item); | 57 void do_announce (Audio_control_change *item) override; |
58 | 58 |
59 private: | 59 private: |
60 Midi_control_change_performer *performer_; | 60 Midi_control_change_performer *performer_; |
61 Stream_event *event_; | 61 Stream_event *event_; |
62 string symbol_; | 62 string symbol_; |
63 }; | 63 }; |
64 }; | 64 }; |
65 | 65 |
66 Midi_control_change_performer::Midi_control_change_performer (Context *c) | 66 Midi_control_change_performer::Midi_control_change_performer (Context *c) |
67 : Performer (c) | 67 : Performer (c) |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 /* read */ | 142 /* read */ |
143 "midiBalance " | 143 "midiBalance " |
144 "midiPanPosition " | 144 "midiPanPosition " |
145 "midiExpression " | 145 "midiExpression " |
146 "midiReverbLevel " | 146 "midiReverbLevel " |
147 "midiChorusLevel ", | 147 "midiChorusLevel ", |
148 | 148 |
149 /* write */ | 149 /* write */ |
150 "" | 150 "" |
151 ); | 151 ); |
LEFT | RIGHT |