- _on_event = copy._on_event;
- _off_event = copy._off_event;
-
- assert(time() == copy.time());
- assert(end_time() == copy.end_time());
- assert(note() == copy.note());
- assert(velocity() == copy.velocity());
- assert(length() == copy.length());
+ _on_event = other._on_event;
+ _off_event = other._off_event;
+
+ assert(musical_time_equal (time(),other.time()));
+ assert(musical_time_equal (end_time(), other.end_time()));
+ assert(musical_time_equal (length(), other.length()));
+ assert(note() == other.note());
+ assert(velocity() == other.velocity());