/** Look up the given time and channel in the 'automation' and set keys accordingly.
* @param time the time of the patch change event
* @param channel the MIDI channel of the event
- * @key a reference to an instance of MIDI::Name::PatchPrimaryKey whose fields will
+ * @param key a reference to an instance of MIDI::Name::PatchPrimaryKey whose fields will
* will be set according to the result of the lookup
*/
void get_patch_key_at (Temporal::Beats time, uint8_t channel, MIDI::Name::PatchPrimaryKey& key) const;
void delete_sysex (SysEx*);
/** Change a patch to the next or previous bank/program.
+ *
+ * @param patch The patch-change instance (canvas item)
* @param bank If true, step bank, otherwise, step program.
* @param delta Amount to adjust number.
*/
void select_matching_notes (uint8_t notenum, uint16_t channel_mask, bool add, bool extend);
void toggle_matching_notes (uint8_t notenum, uint16_t channel_mask);
- /** Return true iff the note is within the extent of the region.
+ /** Test if a note is within this region's range
+ *
+ * @param note the note to test
* @param visible will be set to true if the note is within the visible note range, false otherwise.
+ * @return true iff the note is within the (time) extent of the region.
*/
bool note_in_region_range(const boost::shared_ptr<NoteType> note, bool& visible) const;