13
0

add option to name new MIDI tracks from SMF with just the SMF track name (gui editing)

This commit is contained in:
Paul Davis 2024-09-22 09:49:47 -06:00
parent f75f5b0ded
commit 61988bb032

View File

@ -111,6 +111,8 @@ string2miditracknamesource (string const & str)
return SMFTrackNumber;
} else if (str == _("by track name")) {
return SMFTrackName;
} else if (str == _("by file and track name")) {
return SMFFileAndTrackName;
} else if (str == _("by instrument name")) {
return SMFInstrumentName;
}
@ -1981,6 +1983,7 @@ SoundFileOmega::SoundFileOmega (string title, ARDOUR::Session* s,
str.clear ();
str.push_back (_("by track number"));
str.push_back (_("by track name"));
str.push_back (_("by file and track name"));
str.push_back (_("by instrument name"));
set_popdown_strings (midi_track_name_combo, str);
midi_track_name_combo.set_active_text (str.front());