13
0

when capturing a midi pgm change, display the pgm num (for LT)

This commit is contained in:
Ben Loftis 2024-05-02 12:43:12 -05:00
parent a88d430609
commit 27e2348b47

View File

@ -339,6 +339,7 @@ MIDISceneChanger::program_change_input (MIDI::Parser& parser, MIDI::byte program
} }
loc->set_scene_change (std::shared_ptr<MIDISceneChange> (msc)); loc->set_scene_change (std::shared_ptr<MIDISceneChange> (msc));
loc->set_name( string_compose(_("scene [%1]"), 1+bank*128+(program & 0x7f)));
/* this will generate a "changed" signal to be emitted by locations, /* this will generate a "changed" signal to be emitted by locations,
and we will call ::gather() to update our list of MIDI events. and we will call ::gather() to update our list of MIDI events.