Commit Graph

164 Commits

Author SHA1 Message Date
Paul Davis 92963230a7 store insert-at selection in UI config variable when it is used in the add route dialog 2022-10-16 15:12:30 -06:00
Paul Davis 60982ae408 remove Record Mode combo from add route dialog, since at present it does nothing 2022-09-13 16:28:47 -06:00
Robin Gareus 2f02b809e7
Fix save/restore of Insert-At position
UIConfig insert-at-position saves/restores the enum as integer.
This is used directly as parameter for insert_at_combo.set_active().
For this to work, the enum needs to match the order of elements
in the dropdown.

It would be preferable to register the enum, and map the
dropdown entries, but for now this does the trick, without
breaking existing UIConfigs.
2022-06-15 02:41:50 +02:00
itmuckel 2a4ebd17d6
Save last route type 2022-05-13 23:07:49 +02:00
itmuckel 77356c0ebb
Reformat and remove unused imports 2022-05-13 23:07:49 +02:00
Mads Kiilerich 17fafc376b
gtkmm: use ALIGN_END instead of deprecated Gtk::AlignmentEnum::ALIGN_RIGHT 2022-04-08 21:11:06 +02:00
Mads Kiilerich 9e34eb21fe
gtkmm: use insert() instead of deprecated Gtk::ComboBoxText::insert_text() 2022-04-08 21:11:06 +02:00
Mads Kiilerich 09c6e68ae8
gtkmm: use append() instead of deprecated Gtk::ComboBoxText::append_text() 2022-04-08 21:10:56 +02:00
Ben Loftis c8afda0116 add config-var for insert_at and show_on_cue_page
* store the user's selection in the configu
2022-03-18 18:37:37 -05:00
Ben Loftis b25aa18c80 add_route_dialog: add a checkbox to show Tracks on the Cue page 2022-03-18 18:36:06 -05:00
Robin Gareus d35f33e757
Fix Wreorder 2022-03-11 04:55:21 +01:00
Ben Loftis 9ad82787a1 Instrument Selector: use a 3-way Disposition to disambiguate the uses of this widget 2022-02-04 21:33:12 -06:00
luz paz 364f2f0788 Fix typos in gtk2_ardour/ directory
Found via `codespell -q 3 -S *.po,./share/patchfiles,./libs -L ba,buss,busses,doubleclick,hsi,ontop,ro,seh,siz,sur,te,trough,ue`
2022-01-26 12:35:38 -05:00
Paul Davis 237dfb53e7 remove add trigger check box from add route dialog (always use triggers) 2021-12-13 15:12:36 -07:00
Paul Davis 305c9ba6e9 triggerboxGUI: use new API and tweak add route dialog to allow choice to add triggerbox 2021-10-08 13:45:27 -06:00
Robin Gareus c11fadf884
Handle missing case TriggerTrack 2021-09-20 04:41:05 +02:00
Paul Davis 73e19c8fa7 add triggers to trigger tracks 2021-08-13 12:51:36 -06:00
Robin Gareus 6612cdf44a
Name new MIDI tracks after instrument plugin 2020-09-17 21:06:46 +02:00
Robin Gareus 41ea63cead
Keep string markdown untranslatable 2020-04-14 19:01:10 +02:00
Johannes Mueller 5774be46fe Remember the route count when route lua template sets it by "how_many"
If the user has an audio interface with 32 inputs, there is the danger, that
they click through the route template list and hit "Generic Audio Track" which
then sets the number of routes to be added to 32. When they click back to
e.g. "Audio Tracks" this number remains at 32. So they will accidentally add 32
audio tracks although they wanted just one. Somewhat inconvenient.

By this commit we remember the number of routes to be added, when it is set by
a lua template and thus can set it back when the user clicks back on a route
type that does not set it.
2020-03-31 09:01:59 +02:00
Robin Gareus 5f27382b88
Remove Audio+MIDI track, and consolidate route creation methods
Audio+MIDI tracks were just MIDI tracks with an additional
audio input, and do not directly allow use of vocoders (an
instrument is loaded by default).

For pitch-correction or similar use-cases one would prefer an
audio-track (main data) with MIDI only being used as control-input.

Ardour 5/6 pin-connections and side-chain offer a much nicer
workflow for this setup.

Alternatively one can get those tracks-types by manually adding
an input port to an existing track, and creating a custom template.
2020-03-19 16:18:48 +01:00
Paul Davis a4d7b45fe0 remove destructive/tape mode tracks 2020-03-17 16:31:49 -06:00
Robin Gareus 2b55d6dce3
First batch of MessageDialog replacements 2019-12-14 23:44:01 +01:00
Paul Davis d51ca5d398 remove unintended leading space 2019-10-25 15:48:32 -06:00
Len Ovens 6bdf5cb0d7 Gui should allow foldback bus to be mono. 2019-08-06 13:16:44 -07:00
Robin Gareus 4050ca5633
Update GPL boilerplate and (C)
Copyright-holder and year information is extracted from git log.

git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
Robin Gareus eae88bc119
Split new route messages into re-usable pieces
This improves consistency for the various new-route descriptions
and allows to unify messages with Mixbus without re-doing complete
strings. It may also benefit translations.
2019-04-15 22:12:26 +02:00
Carl Hetherington 3a5da6fdc4 Copy-edit track type descriptions a little, improving consistency and removing some capital letters. 2018-12-19 20:02:15 +00:00
Len Ovens 9b2612f686 Make foldback bus match foldback sends namewise
to avoid confusion with listener sends or monitor bus
2018-11-12 22:30:32 -08:00
Len Ovens 287ce3d477 Allow ListenBus to be added by GUI 2018-11-01 13:13:48 -07:00
Len Ovens abdc0da6e3 Correct new track/bus/VCA dialog text 2018-11-01 11:31:46 -07:00
Robin Gareus 352c824fa3 NO-OP: whitespace 2018-10-31 23:44:04 +01:00
Robin Gareus 5b2eb6107c New Route dialog: add fallback default selection
This fixes an issue with Mixbus. If the default "Create Audio Tracks.."
template/script is not available. Nothing is selected.

Selecting a type/template is required to update various other dialog
fields. eg. "Name" field.

Previously: Create VCA. OK+Close. Re-open dialog. Now the
implicit default was "Audio Track" but the Name-field still showed "VCA".
2018-10-30 16:09:22 +01:00
Robin Gareus ceac42cc03 NO-OP: whitespace
- remove trailing whitespace
- remove space after opening brackets and before closing brackets
- add space around operators
- do not use '//' for multi-line comments, do not use "//" on line-start
  to comment-out code breaking indenting (-Wmisleading-indent)
- do add a single space after comment-start /*{SPACE}... or //{SPACE}...
- reserve duplicate whitespace "  " for alignment, remove other duplicate
  whitespace
- use established "TODO" and "XXX" (highlighted keywords)
- remove equal-sign series "====" (those indicate merge conflicts)
2018-02-24 13:55:20 +01:00
Robin Gareus 032bbae748 Update template list in Route Dialog 2017-12-19 18:47:42 +01:00
Robin Gareus 0fd861d8de s/created with/modified with/
Once a session has been saved by a more recent version or a different
variant, the session file is tied to that version/variant.

The created-with version is only for debug purposes and internal use.
2017-09-21 02:01:12 +02:00
Paul Davis ea5fa64c0b manually fix up various cases where Gtk:Frame foo_frame had been changed to foo_sample 2017-09-18 14:59:11 -04:00
Paul Davis 30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
Ben Loftis e7473c4c52 Track Templates: tweaks to MIDI Bus description text. 2017-08-24 21:21:38 -05:00
Ben Loftis 337d5b3e4a Track Templates: Add verbose descriptions for the built-in track types. 2017-08-22 16:20:26 -05:00
Ben Loftis c0e513de76 Track templates: clean-up widget sensitivity based on selection. 2017-08-22 14:35:50 -05:00
Robin Gareus 62fc4621e5 RouteDialog: implicit "Add (+close)" on <enter> or double-click 2017-08-22 17:28:08 +02:00
Robin Gareus 201d536ee9 Reset RouteDialog: name edited by-user
* after each "Add" operation
* when cleaning the name field
2017-08-22 17:07:42 +02:00
Robin Gareus 28a7e4a3e0 Tweak RouteDialog bottom area 2017-08-22 16:45:14 +02:00
Ben Loftis 052ca8e0de Track Templates: yet another layout tweak. 2017-08-22 09:19:11 -05:00
Robin Gareus 39a3705d3a RouteDialog: retain prior type selection 2017-08-22 02:17:22 +02:00
Robin Gareus 735d791e42 RouteDialog: Move built-in types into template list experiment 2017-08-22 02:03:47 +02:00
Robin Gareus f0387f07bd AddRouteDialog: Indicate Type: template 2017-08-21 16:10:48 +02:00
Robin Gareus 7bd4a41cdb Tweak route-dialog layout & sensitivity 2017-08-20 03:46:36 +02:00
Robin Gareus 1a70a2f977 Cont'd work on route-templates 2017-08-20 00:18:58 +02:00