   metronome attached to [[*show*]] is mapped.
 
   Returns a MIDI mapping function which can be passed
-  to [[remove-midi-control-metronome-mapping]] if you later want to
-  stop the metronome from being affected by these MIDI messages."
+  to [[remove-control-mapping]] if you later want to stop the
+  metronome from being affected by these MIDI messages."
   [device-filter channel control-number & {:keys [metronome] :or {metronome (:metronome *show*)}}]
   (add-midi-control-metronome-mapping device-filter channel control-number metronome
                                       #(rhythm/metro-phrase-start % (rhythm/metro-phrase %))))

  metronome attached to [[*show*]] is mapped.

  Returns a MIDI mapping function which can be passed
  to [[remove-midi-control-metronome-mapping]] if you later want to
  stop the metronome from being affected by these MIDI messages."
  [device-filter channel control-number & {:keys [metronome] :or {metronome (:metronome *show*)}}]
  (add-midi-control-metronome-mapping device-filter channel control-number metronome
                                      #(rhythm/metro-start % 1)))

(defn remove-midi-control-metronome-mapping
  "Stop affecting a metronome when the specified MIDI
  controller-change messages are received. This undoes the effect of
  any of [[add-midi-control-metronome-reset-mapping]],
  [[add-midi-control-metronome-align-bar-mapping]], and

  variable containing a dimmer master.

  Returns a MIDI mapping function which can be passed
  to [[remove-control-mapping]] if you later want to stop the
  dimmer master from being affected by these MIDI messages."
  [device-filter channel control-number & {:keys [master min max] :or {master (:grand-master *show*) min 0 max 100}}]
  {:pre [(some? *show*) (some? device-filter) (number? min) (number? max) (not= min max)
         (<= 0 min 100) (<= 0 max 100)
