diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-01-10 00:32:53 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-01-10 00:32:53 +0000 |
commit | f574186844c36be204df5f702d3b0b87dd7cd86f (patch) | |
tree | 52b5febb634cc07a17967c2c9313424825083503 /gtk2_ardour/editor.cc | |
parent | 6f089b1ed338665fa630cea64ca2138fc1026e89 (diff) |
provide RubberBand options in a sensible way for timestretch/pitchshift
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2860 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 6ef9e2863a..a15c884bfe 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -151,6 +151,18 @@ static const gchar *_zoom_focus_strings[] = { 0 }; +#ifdef USE_RUBBERBAND +static const gchar *_rb_opt_strings[] = { + N_("Mushy"), + N_("Smooth"), + N_("Balanced multitimbral mixture"), + N_("Unpitched percussion with stable notes"), + N_("Crisp monophonic instrumental"), + N_("Unpitched solo percussion"), + 0 +}; +#endif + /* Soundfile drag-n-drop */ Gdk::Cursor* Editor::cross_hair_cursor = 0; @@ -245,7 +257,10 @@ Editor::Editor () snap_mode_strings = I18N (_snap_mode_strings); zoom_focus_strings = I18N (_zoom_focus_strings); edit_point_strings = I18N (_edit_point_strings); - +#ifdef USE_RUBBERBAND + rb_opt_strings = I18N (_rb_opt_strings); +#endif + snap_threshold = 5.0; bbt_beat_subdivision = 4; canvas_width = 0; |