|
276 | 276 |
|
277 | 277 | addn("tempo", s.tempo); |
278 | 278 | addn("songpos", s.songpos); |
| 279 | + addb("is_playing", s.isPlaying); |
279 | 280 | addn("pb_range_up", s.pbrange_up); |
280 | 281 | addn("pb_range_dn", s.pbrange_dn); |
281 | 282 | addn("mpe_bendrange", s.mpebendrange); |
@@ -650,6 +651,7 @@ void valueAt(int phaseIntPart, float phaseFracPart, SurgeStorage *storage, |
650 | 651 | addn("phase", phaseFracPart); |
651 | 652 | addn("tempo", s->tempo); |
652 | 653 | addn("songpos", s->songpos); |
| 654 | + addb("is_playing", s->isPlaying); |
653 | 655 |
|
654 | 656 | addn("pb", s->pitchbend); |
655 | 657 | addn("pb_range_up", s->pbrange_up); |
@@ -876,27 +878,27 @@ enum showFilter |
876 | 878 | bool isUserDefined(std::string str) |
877 | 879 | { |
878 | 880 | // clang-format off |
879 | | - static constexpr std::array<std::string_view, 59> keywords = { |
880 | | - "amplitude", "attack", "block_size", |
881 | | - "cc_breath", "cc_expr", "cc_mw", |
882 | | - "cc_sus", "chan_at", "channel", |
883 | | - "clamp_output", "cycle", "decay", |
884 | | - "deform", "delay", "highest_key", |
885 | | - "hold", "intphase", "is_rendering_to_ui", |
886 | | - "is_voice", "key", "labels", |
887 | | - "latest_key", "lfo_id", "lowest_key", |
888 | | - "macros", "mpe_bend", "mpe_bendrange", |
889 | | - "mpe_enabled", "mpe_pressure", "mpe_timbre", |
890 | | - "output", "pb", "pb_range_dn", |
891 | | - "pb_range_up", "phase", "play_mode", |
892 | | - "poly_at", "poly_limit", "rate", |
893 | | - "rel_velocity", "release", "released", |
894 | | - "retrigger_AEG", "retrigger_FEG", "samplerate", |
895 | | - "scene_mode", "songpos", "split_point", |
896 | | - "startphase", "sustain", "tempo", |
897 | | - "tuned_key", "use_amplitude", "use_envelope", |
898 | | - "use_rate", "velocity", "voice_count", |
899 | | - "voice_id", "subscriptions"}; |
| 881 | + static constexpr std::array<std::string_view, 60> keywords = { |
| 882 | + "amplitude", "attack", "block_size", |
| 883 | + "cc_breath", "cc_expr", "cc_mw", |
| 884 | + "cc_sus", "chan_at", "channel", |
| 885 | + "clamp_output", "cycle", "decay", |
| 886 | + "deform", "delay", "highest_key", |
| 887 | + "hold", "intphase", "is_playing", |
| 888 | + "is_rendering_to_ui", "is_voice", "key", |
| 889 | + "labels", "latest_key", "lfo_id", |
| 890 | + "lowest_key", "macros", "mpe_bend", |
| 891 | + "mpe_bendrange", "mpe_enabled", "mpe_pressure", |
| 892 | + "mpe_timbre", "output", "pb", |
| 893 | + "pb_range_dn", "pb_range_up", "phase", |
| 894 | + "play_mode", "poly_at", "poly_limit", |
| 895 | + "rate", "rel_velocity", "release", |
| 896 | + "released", "retrigger_AEG", "retrigger_FEG", |
| 897 | + "samplerate", "scene_mode", "songpos", |
| 898 | + "split_point", "startphase", "sustain", |
| 899 | + "tempo", "tuned_key", "use_amplitude", |
| 900 | + "use_envelope", "use_rate", "velocity", |
| 901 | + "voice_count", "voice_id", "subscriptions"}; |
900 | 902 | // clang-format on |
901 | 903 |
|
902 | 904 | auto foundInList = std::find(keywords.begin(), keywords.end(), str) != keywords.end(); |
|
0 commit comments