add option to name new MIDI tracks from SMF with just the SMF track name (gui editing)
This commit is contained in:
parent
f75f5b0ded
commit
61988bb032
@ -111,6 +111,8 @@ string2miditracknamesource (string const & str)
|
|||||||
return SMFTrackNumber;
|
return SMFTrackNumber;
|
||||||
} else if (str == _("by track name")) {
|
} else if (str == _("by track name")) {
|
||||||
return SMFTrackName;
|
return SMFTrackName;
|
||||||
|
} else if (str == _("by file and track name")) {
|
||||||
|
return SMFFileAndTrackName;
|
||||||
} else if (str == _("by instrument name")) {
|
} else if (str == _("by instrument name")) {
|
||||||
return SMFInstrumentName;
|
return SMFInstrumentName;
|
||||||
}
|
}
|
||||||
@ -1981,6 +1983,7 @@ SoundFileOmega::SoundFileOmega (string title, ARDOUR::Session* s,
|
|||||||
str.clear ();
|
str.clear ();
|
||||||
str.push_back (_("by track number"));
|
str.push_back (_("by track number"));
|
||||||
str.push_back (_("by track name"));
|
str.push_back (_("by track name"));
|
||||||
|
str.push_back (_("by file and track name"));
|
||||||
str.push_back (_("by instrument name"));
|
str.push_back (_("by instrument name"));
|
||||||
set_popdown_strings (midi_track_name_combo, str);
|
set_popdown_strings (midi_track_name_combo, str);
|
||||||
midi_track_name_combo.set_active_text (str.front());
|
midi_track_name_combo.set_active_text (str.front());
|
||||||
|
Loading…
Reference in New Issue
Block a user