ardour
rc_configuration_vars.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2000-2007 Paul Davis
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; if not, write to the Free Software
16  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 
18 */
19 
20 /*****************************************************
21  DO NOT USE uint8_t or any other type that resolves
22  to a single char, because the value will be
23  stored incorrectly when serialized. Use int32_t
24  instead and ensure that code correctly limits
25  the value of the variable.
26 *****************************************************/
27 
28 /*****************************************************
29  DO dump the config using cfgtool to system_config
30  after modifying this file.
31 
32  ./waf && build/cfgtool/cfgtool system_config
33 *****************************************************/
34 
35 /* IO connection */
36 
37 CONFIG_VARIABLE (bool, auto_connect_standard_busses, "auto-connect-standard-busses", true)
38 CONFIG_VARIABLE (AutoConnectOption, output_auto_connect, "output-auto-connect", AutoConnectMaster)
39 CONFIG_VARIABLE (AutoConnectOption, input_auto_connect, "input-auto-connect", AutoConnectPhysical)
40 
41 /* MIDI and MIDI related */
42 
43 CONFIG_VARIABLE (bool, trace_midi_input, "trace-midi-input", false)
44 CONFIG_VARIABLE (bool, trace_midi_output, "trace-midi-output", false)
45 CONFIG_VARIABLE (bool, send_mtc, "send-mtc", false)
46 CONFIG_VARIABLE (bool, send_mmc, "send-mmc", true)
47 CONFIG_VARIABLE (bool, send_midi_clock, "send-midi-clock", false)
48 CONFIG_VARIABLE (bool, mmc_control, "mmc-control", true)
49 CONFIG_VARIABLE (bool, midi_feedback, "midi-feedback", false)
50 CONFIG_VARIABLE (int32_t, mmc_receive_device_id, "mmc-receive-device-id", 0x7f)
51 CONFIG_VARIABLE (int32_t, mmc_send_device_id, "mmc-send-device-id", 0)
52 CONFIG_VARIABLE (int32_t, initial_program_change, "initial-program-change", -1)
53 CONFIG_VARIABLE (bool, first_midi_bank_is_zero, "display-first-midi-bank-as-zero", false)
54 CONFIG_VARIABLE (int32_t, inter_scene_gap_msecs, "inter-scene-gap-msecs", 1)
55 
56 /* Timecode and related */
57 
58 CONFIG_VARIABLE (int, mtc_qf_speed_tolerance, "mtc-qf-speed-tolerance", 5)
59 CONFIG_VARIABLE (bool, timecode_sync_frame_rate, "timecode-sync-frame-rate", true)
60 CONFIG_VARIABLE (bool, timecode_source_is_synced, "timecode-source-is-synced", false)
61 CONFIG_VARIABLE (bool, timecode_source_2997, "timecode-source-2997", false)
62 CONFIG_VARIABLE (SyncSource, sync_source, "sync-source", Engine)
63 CONFIG_VARIABLE (std::string, ltc_source_port, "ltc-source-port", "system:capture_1")
64 CONFIG_VARIABLE (bool, send_ltc, "send-ltc", false)
65 CONFIG_VARIABLE (bool, ltc_send_continuously, "ltc-send-continuously", true)
66 CONFIG_VARIABLE (std::string, ltc_output_port, "ltc-output-port", "")
67 CONFIG_VARIABLE (float, ltc_output_volume, "ltc-output-volume", 0.125893)
68 
69 /* control surfaces */
70 
71 CONFIG_VARIABLE (uint32_t, feedback_interval_ms, "feedback-interval-ms", 100)
72 CONFIG_VARIABLE (bool, use_tranzport, "use-tranzport", false)
73 CONFIG_VARIABLE (RemoteModel, remote_model, "remote-model", MixerOrdered)
74 
75 /* disk operations */
76 
77 CONFIG_VARIABLE (uint32_t, minimum_disk_read_bytes, "minimum-disk-read-bytes", ARDOUR::Diskstream::default_disk_read_chunk_frames() * sizeof (ARDOUR::Sample))
78 CONFIG_VARIABLE (uint32_t, minimum_disk_write_bytes, "minimum-disk-write-bytes", ARDOUR::Diskstream::default_disk_write_chunk_frames() * sizeof (ARDOUR::Sample))
79 CONFIG_VARIABLE (float, midi_readahead, "midi-readahead", 1.0)
80 CONFIG_VARIABLE (float, audio_capture_buffer_seconds, "capture-buffer-seconds", 5.0)
81 CONFIG_VARIABLE (float, audio_playback_buffer_seconds, "playback-buffer-seconds", 5.0)
82 CONFIG_VARIABLE (float, midi_track_buffer_seconds, "midi-track-buffer-seconds", 1.0)
83 CONFIG_VARIABLE (uint32_t, disk_choice_space_threshold, "disk-choice-space-threshold", 57600000)
84 CONFIG_VARIABLE (bool, auto_analyse_audio, "auto-analyse-audio", false)
85 
86 /* OSC */
87 
88 CONFIG_VARIABLE (uint32_t, osc_port, "osc-port", 3819)
89 CONFIG_VARIABLE (bool, use_osc, "use-osc", false)
90 
91 /* editing related */
92 
93 CONFIG_VARIABLE (LayerModel, layer_model, "layer-model", Manual)
94 CONFIG_VARIABLE (bool, automation_follows_regions, "automation-follows-regions", true)
95 CONFIG_VARIABLE (bool, region_boundaries_from_selected_tracks, "region-boundaries-from-selected-tracks", true)
96 CONFIG_VARIABLE (bool, region_boundaries_from_onscreen_tracks, "region-boundaries-from-onscreen_tracks", true)
97 CONFIG_VARIABLE (FadeShape, default_fade_shape, "default-fade-shape", FadeLinear)
98 CONFIG_VARIABLE (RegionSelectionAfterSplit, region_selection_after_split, "region-selection-after-split", None)
99 
100 /* monitoring, mute, solo etc */
101 
102 CONFIG_VARIABLE (bool, mute_affects_pre_fader, "mute-affects-pre-fader", false)
103 CONFIG_VARIABLE (bool, mute_affects_post_fader, "mute-affects-post-fader", true)
104 CONFIG_VARIABLE (bool, mute_affects_control_outs, "mute-affects-control-outs", true)
105 CONFIG_VARIABLE (bool, mute_affects_main_outs, "mute-affects-main-outs", true)
106 CONFIG_VARIABLE (MonitorModel, monitoring_model, "monitoring-model", ExternalMonitoring)
107 CONFIG_VARIABLE (ListenPosition, listen_position, "listen-position", AfterFaderListen)
108 CONFIG_VARIABLE (PFLPosition, pfl_position, "pfl-position", PFLFromAfterProcessors)
109 CONFIG_VARIABLE (AFLPosition, afl_position, "afl-position", AFLFromAfterProcessors)
110 CONFIG_VARIABLE (bool, use_monitor_bus, "use-monitor-bus", false)
111 
112 CONFIG_VARIABLE (bool, solo_control_is_listen_control, "solo-control-is-listen-control", false)
113 CONFIG_VARIABLE (bool, exclusive_solo, "exclusive-solo", false)
114 CONFIG_VARIABLE (bool, latched_record_enable, "latched-record-enable", false)
115 CONFIG_VARIABLE (bool, all_safe, "all-safe", false)
116 CONFIG_VARIABLE (bool, show_solo_mutes, "show-solo-mutes", true)
117 CONFIG_VARIABLE (bool, solo_mute_override, "solo-mute-override", false)
118 CONFIG_VARIABLE (bool, tape_machine_mode, "tape-machine-mode", false)
119 CONFIG_VARIABLE (gain_t, solo_mute_gain, "solo-mute-gain", 0.0)
120 CONFIG_VARIABLE (std::string, monitor_bus_preferred_bundle, "monitor-bus-preferred-bundle", "")
121 CONFIG_VARIABLE (bool, quieten_at_speed, "quieten-at-speed", true)
122 
123 CONFIG_VARIABLE (bool, link_send_and_route_panner, "link-send-and-route-panner", true)
124 CONFIG_VARIABLE (std::string, midi_audition_synth_uri, "midi-audition-synth-uri", "https://community.ardour.org/node/7596")
125 
126 /* click */
127 
128 CONFIG_VARIABLE (bool, clicking, "clicking", false)
129 CONFIG_VARIABLE (std::string, click_sound, "click-sound", "")
130 CONFIG_VARIABLE (std::string, click_emphasis_sound, "click-emphasis-sound", "")
131 CONFIG_VARIABLE (gain_t, click_gain, "click-gain", 1.0)
132 
133 /* transport control and related */
134 
138 CONFIG_VARIABLE (bool, skip_playback, "skip-playback", true)
139 CONFIG_VARIABLE (bool, plugins_stop_with_transport, "plugins-stop-with-transport", false)
140 CONFIG_VARIABLE (bool, stop_recording_on_xrun, "stop-recording-on-xrun", false)
141 CONFIG_VARIABLE (bool, create_xrun_marker, "create-xrun-marker", true)
142 CONFIG_VARIABLE (bool, stop_at_session_end, "stop-at-session-end", false)
143 CONFIG_VARIABLE (bool, seamless_loop, "seamless-loop", false)
144 CONFIG_VARIABLE (bool, loop_is_mode, "loop-is-mode", false)
145 CONFIG_VARIABLE (framecnt_t, preroll, "preroll", 0)
146 CONFIG_VARIABLE (framecnt_t, postroll, "postroll", 0)
147 CONFIG_VARIABLE (float, rf_speed, "rf-speed", 2.0f)
148 CONFIG_VARIABLE (float, shuttle_speed_factor, "shuttle-speed-factor", 1.0f)
149 CONFIG_VARIABLE (float, shuttle_speed_threshold, "shuttle-speed-threshold", 5.0f)
150 CONFIG_VARIABLE (ShuttleBehaviour, shuttle_behaviour, "shuttle-behaviour", Sprung)
151 CONFIG_VARIABLE (ShuttleUnits, shuttle_units, "shuttle-units", Percentage)
152 CONFIG_VARIABLE (bool, locate_while_waiting_for_sync, "locate-while-waiting-for-sync", false)
153 CONFIG_VARIABLE (bool, disable_disarm_during_roll, "disable-disarm-during-roll", false)
154 
155 /* metering */
156 
157 CONFIG_VARIABLE (float, meter_falloff, "meter-falloff", 13.3f)
158 
159 /* miscellany */
160 
161 CONFIG_VARIABLE (std::string, auditioner_output_left, "auditioner-output-left", "default")
162 CONFIG_VARIABLE (std::string, auditioner_output_right, "auditioner-output-right", "default")
163 CONFIG_VARIABLE (bool, replicate_missing_region_channels, "replicate-missing-region-channels", false)
164 CONFIG_VARIABLE (bool, hiding_groups_deactivates_groups, "hiding-groups-deactivates-groups", true)
165 CONFIG_VARIABLE (bool, verify_remove_last_capture, "verify-remove-last-capture", true)
166 CONFIG_VARIABLE (bool, save_history, "save-history", true)
167 CONFIG_VARIABLE (int32_t, saved_history_depth, "save-history-depth", 20)
168 CONFIG_VARIABLE (int32_t, history_depth, "history-depth", 20)
169 CONFIG_VARIABLE (bool, use_overlap_equivalency, "use-overlap-equivalency", false)
170 CONFIG_VARIABLE (bool, periodic_safety_backups, "periodic-safety-backups", true)
171 CONFIG_VARIABLE (uint32_t, periodic_safety_backup_interval, "periodic-safety-backup-interval", 120)
172 CONFIG_VARIABLE (float, automation_interval_msecs, "automation-interval-msecs", 30)
173 CONFIG_VARIABLE (std::string, default_session_parent_dir, "default-session-parent-dir", "~")
174 CONFIG_VARIABLE (bool, allow_special_bus_removal, "allow-special-bus-removal", false)
175 CONFIG_VARIABLE (int32_t, processor_usage, "processor-usage", -1)
176 CONFIG_VARIABLE (gain_t, max_gain, "max-gain", 2.0) /* +6.0dB */
177 CONFIG_VARIABLE (uint32_t, max_recent_sessions, "max-recent-sessions", 10)
178 CONFIG_VARIABLE (double, automation_thinning_factor, "automation-thinning-factor", 20.0)
179 CONFIG_VARIABLE (std::string, freesound_download_dir, "freesound-download-dir", Glib::get_home_dir() + "/Freesound/snd")
180 CONFIG_VARIABLE (framecnt_t, range_location_minimum, "range-location-minimum", 128) /* samples */
181 CONFIG_VARIABLE (EditMode, edit_mode, "edit-mode", Slide)
182 
183 /* plugin related */
184 
185 CONFIG_VARIABLE (bool, new_plugins_active, "new-plugins-active", true)
186 CONFIG_VARIABLE (bool, use_plugin_own_gui, "use-plugin-own-gui", true)
187 CONFIG_VARIABLE (bool, use_windows_vst, "use-windows-vst", true)
188 CONFIG_VARIABLE (bool, use_lxvst, "use-lxvst", true)
189 CONFIG_VARIABLE (bool, discover_vst_on_start, "discover-vst-on-start", false)
190 CONFIG_VARIABLE (int, vst_scan_timeout, "vst-scan-timeout", 600) /* deciseconds, per plugin, <= 0 no timeout */
191 CONFIG_VARIABLE (bool, discover_audio_units, "discover-audio-units", false)
192 
193 /* custom user plugin paths */
194 CONFIG_VARIABLE (std::string, plugin_path_vst, "plugin-path-vst", "@default@")
195 CONFIG_VARIABLE (std::string, plugin_path_lxvst, "plugin-path-lxvst", "@default@")
196 
197 /* denormal management */
198 
199 CONFIG_VARIABLE (bool, denormal_protection, "denormal-protection", false)
200 CONFIG_VARIABLE (DenormalModel, denormal_model, "denormal-model", DenormalFTZDAZ)
201 
202 /* visibility of various things */
203 
204 
205 /* web addresses used in the program */
206 
207 CONFIG_VARIABLE (std::string, osx_pingback_url, "osx-pingback-url", "http://community.ardour.org/pingback/osx/")
208 CONFIG_VARIABLE (std::string, linux_pingback_url, "linux-pingback-url", "http://community.ardour.org/pingback/linux/")
209 CONFIG_VARIABLE (std::string, tutorial_manual_url, "tutorial-manual-url", "http://ardour.org/flossmanual")
210 CONFIG_VARIABLE (std::string, reference_manual_url, "reference-manual-url", "http://manual.ardour.org/")
211 CONFIG_VARIABLE (std::string, updates_url, "updates-url", "http://ardour.org/whatsnew.html")
212 CONFIG_VARIABLE (std::string, donate_url, "donate-url", "http://ardour.org/donate")
213 
214 /* video timeline configuration */
215 CONFIG_VARIABLE (bool, video_advanced_setup, "video-advanced-setup", false)
216 CONFIG_VARIABLE (std::string, video_server_url, "video-server-url", "http://localhost:1554")
217 #ifndef PLATFORM_WINDOWS
218 CONFIG_VARIABLE (std::string, video_server_docroot, "video-server-docroot", "/")
219 #else
220 CONFIG_VARIABLE (std::string, video_server_docroot, "video-server-docroot", "C:\\")
221 #endif
222 CONFIG_VARIABLE (bool, show_video_export_info, "show-video-export-info", true)
223 CONFIG_VARIABLE (bool, show_video_server_dialog, "show-video-server-dialog", false)
SyncSource
Definition: types.h:498
LIBARDOUR_API PBD::PropertyDescriptor< layer_t > layer
Definition: region.cc:67
LIBPBD_API void split(std::string, std::vector< std::string > &, char)
AFLPosition
Definition: types.h:425
tuple f
Definition: signals.py:35
Definition: Beats.hpp:239
int main(int argc, char *argv[])
Definition: load_session.cc:14
LIBARDOUR_API PBD::PropertyDescriptor< bool > gain
Definition: route_group.cc:44
DenormalModel
Definition: types.h:432
static void usage(void)
Definition: smfsh.c:984
float gain_t
Definition: types.h:58
CONFIG_VARIABLE(uint32_t, minimum_disk_read_bytes,"minimum-disk-read-bytes", ARDOUR::Diskstream::default_disk_read_chunk_frames()*sizeof(ARDOUR::Sample)) CONFIG_VARIABLE(uint32_t
LIBARDOUR_API PBD::PropertyDescriptor< framepos_t > start
Definition: region.cc:63
LayerModel
Definition: types.h:444
int64_t framecnt_t
Definition: types.h:76
we leave monitoring to the audio hardware
Definition: types.h:383
float Sample
Definition: types.h:54
RemoteModel
Definition: types.h:439
Definition: amp.h:29
ListenPosition
Definition: types.h:449
LIBARDOUR_API PBD::PropertyDescriptor< bool > mute
Definition: route_group.cc:45
EditMode
Definition: types.h:351
RegionSelectionAfterSplit
Definition: types.h:358
FadeShape
Definition: types.h:592
LIBARDOUR_API PBD::PropertyDescriptor< bool > regions
Definition: playlist.cc:51
minimum disk write bytes
LIBARDOUR_API PBD::PropertyDescriptor< bool > active
Definition: route_group.cc:43
ShuttleUnits
Definition: types.h:515
LIBARDOUR_API PBD::PropertyDescriptor< bool > solo
Definition: route_group.cc:46
PFLPosition
Definition: types.h:418
LIBARDOUR_API PBD::PropertyDescriptor< framepos_t > position
Definition: region.cc:65
minimum_disk_write_bytes
LIBARDOUR_API GQuark capture
Definition: operations.cc:24
MonitorModel
Definition: types.h:380
AutoConnectOption
Definition: types.h:454
ShuttleBehaviour
Definition: types.h:510
void pingback(const string &version, const string &announce_path)
Definition: pingback.cc:174
LIBARDOUR_API PBD::PropertyDescriptor< bool > monitoring
Definition: route_group.cc:51