midi clock: allow user to "quantize" MIDI clock resolution (GUI edition)
This commit is contained in:
parent
e430d13d53
commit
a7458d308b
@ -338,6 +338,9 @@ Editor::tempo_map_changed ()
|
||||
|
||||
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
|
||||
* will need to reassociate all visual elements used for tempo display
|
||||
* 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)
|
||||
));
|
||||
|
||||
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")));
|
||||
|
||||
bo = new BoolOption (
|
||||
|
Loading…
Reference in New Issue
Block a user