*/
framepos_t snap_pixel_to_frame(double x);
- /** Convert a timestamp in beats into frames (both relative to region start) */
+ /** Convert a timestamp in beats into frames (both relative to region position) */
framepos_t region_beats_to_region_frames(double beats) const;
/** Convert a timestamp in beats into absolute frames */
framepos_t region_beats_to_absolute_frames(double beats) const {
return _region->position() + region_beats_to_region_frames (beats);
}
- /** Convert a timestamp in frames to beats (both relative to region start) */
+ /** Convert a timestamp in frames to beats (both relative to region position) */
double region_frames_to_region_beats(framepos_t) const;
/** Convert a timestamp in beats measured from source start into absolute frames */
void show_verbose_cursor (std::string const &, double, double) const;
void show_verbose_cursor (boost::shared_ptr<NoteType>) const;
- int8_t _force_channel;
uint16_t _last_channel_selection;
uint8_t _current_range_min;
uint8_t _current_range_max;