int test_channel = (*_events.begin())->note()->channel ();
int test_pitch = (*_events.begin())->note()->note ();
int test_velocity = (*_events.begin())->note()->velocity ();
- double test_time = (*_events.begin())->note()->time ();
- double test_length = (*_events.begin())->note()->length ();
+ Evoral::Beats test_time = (*_events.begin())->note()->time ();
+ Evoral::Beats test_length = (*_events.begin())->note()->length ();
for (set<NoteBase*>::iterator i = _events.begin(); i != _events.end(); ++i) {
if ((*i)->note()->channel() != test_channel) {
}
}
- double const t = _region_view->source_relative_time_converter().from (_time_clock.current_time ());
+ Evoral::Beats const t = _region_view->source_relative_time_converter().from (_time_clock.current_time ());
if (!_time_all.get_sensitive() || _time_all.get_active ()) {
for (set<NoteBase*>::iterator i = _events.begin(); i != _events.end(); ++i) {
}
}
- double const d = _region_view->region_relative_time_converter().from (_length_clock.current_duration ());
+ Evoral::Beats const d = _region_view->region_relative_time_converter().from (_length_clock.current_duration ());
if (!_length_all.get_sensitive() || _length_all.get_active ()) {
for (set<NoteBase*>::iterator i = _events.begin(); i != _events.end(); ++i) {