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) 2000--2019 Jan Nieuwenhuizen <janneke@gnu.org> | 4 Copyright (C) 2000--2019 Jan Nieuwenhuizen <janneke@gnu.org> |
5 | 5 |
6 LilyPond is free software: you can redistribute it and/or modify | 6 LilyPond is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation, either version 3 of the License, or | 8 the Free Software Foundation, either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 struct Pedal_info | 36 struct Pedal_info |
37 { | 37 { |
38 Stream_event *start_event_; | 38 Stream_event *start_event_; |
39 Drul_array<Stream_event *> event_drul_; | 39 Drul_array<Stream_event *> event_drul_; |
40 }; | 40 }; |
41 | 41 |
42 public: | 42 public: |
43 TRANSLATOR_DECLARATIONS (Piano_pedal_performer); | 43 TRANSLATOR_DECLARATIONS (Piano_pedal_performer); |
44 | 44 |
45 protected: | 45 protected: |
46 virtual void initialize (); | 46 void initialize () override; |
47 static const char *pedal_type_str (int t); | 47 static const char *pedal_type_str (int t); |
48 void process_music (); | 48 void process_music (); |
49 void stop_translation_timestep (); | 49 void stop_translation_timestep (); |
50 void start_translation_timestep (); | 50 void start_translation_timestep (); |
51 void listen_sustain (Stream_event *); | 51 void listen_sustain (Stream_event *); |
52 void listen_una_corda (Stream_event *); | 52 void listen_una_corda (Stream_event *); |
53 void listen_sostenuto (Stream_event *); | 53 void listen_sostenuto (Stream_event *); |
54 private: | 54 private: |
55 vector<Audio_piano_pedal *> audios_; | 55 vector<Audio_piano_pedal *> audios_; |
56 Pedal_info info_alist_[NUM_PEDAL_TYPES]; | 56 Pedal_info info_alist_[NUM_PEDAL_TYPES]; |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 | 182 |
183 /* create */ | 183 /* create */ |
184 "", | 184 "", |
185 | 185 |
186 /* read */ | 186 /* read */ |
187 "", | 187 "", |
188 | 188 |
189 /* write */ | 189 /* write */ |
190 "" | 190 "" |
191 ); | 191 ); |
LEFT | RIGHT |