mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
midi clock: allow user to "quantize" MIDI clock resolution (GUI edition)
This commit is contained in:
parent
e430d13d53
commit
a7458d308b
2 changed files with 12 additions and 0 deletions
|
|
@ -338,6 +338,9 @@ Editor::tempo_map_changed ()
|
||||||
|
|
||||||
TempoMap::SharedPtr current_map = TempoMap::fetch ();
|
TempoMap::SharedPtr current_map = TempoMap::fetch ();
|
||||||
|
|
||||||
|
// std::cerr << "\n\n MAP CHANGE @ " << get_microseconds() << std::endl;
|
||||||
|
// current_map->dump (std::cerr);
|
||||||
|
|
||||||
/* If the tempo map was changed by something other than the Editor, we
|
/* If the tempo map was changed by something other than the Editor, we
|
||||||
* will need to reassociate all visual elements used for tempo display
|
* will need to reassociate all visual elements used for tempo display
|
||||||
* with the new map.
|
* with the new map.
|
||||||
|
|
|
||||||
|
|
@ -3793,6 +3793,15 @@ These settings will only take effect after %1 is restarted.\n\
|
||||||
sigc::mem_fun (*_rc_config, &RCConfiguration::set_send_midi_clock)
|
sigc::mem_fun (*_rc_config, &RCConfiguration::set_send_midi_clock)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
add_option (_("Transport/Generate"),
|
||||||
|
new SpinOption<double> (
|
||||||
|
"midi-clock-resolution",
|
||||||
|
_("Resolution of BPM from MIDI Clock"),
|
||||||
|
sigc::mem_fun (*_rc_config, &RCConfiguration::get_midi_clock_resolution),
|
||||||
|
sigc::mem_fun (*_rc_config, &RCConfiguration::set_midi_clock_resolution),
|
||||||
|
0., 1., 0.01, 0.1, _("quarters"), 1, 2
|
||||||
|
));
|
||||||
|
|
||||||
add_option (_("Transport"), new OptionEditorHeading (_("Plugins")));
|
add_option (_("Transport"), new OptionEditorHeading (_("Plugins")));
|
||||||
|
|
||||||
bo = new BoolOption (
|
bo = new BoolOption (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue