+ Duration dur = *unsmob_duration (ev->get_property ("duration"));
+
+ note->set_property ("duration-log", scm_int2num (dur.duration_log ()));
+ if (dur.dot_count ())
+ {
+ Item *d = make_item ("Dots", note->self_scm ());
+ Rhythmic_head::set_dots (note, d);
+
+ if (dur.dot_count ()
+ != robust_scm2int (d->get_property ("dot-count"), 0))
+ d->set_property ("dot-count", scm_int2num (dur.dot_count ()));
+
+ d->set_parent (note, Y_AXIS);
+
+ dots_.push (d);
+ }
+
+ Pitch *pit = unsmob_pitch (ev->get_property ("pitch"));
+
+#if 0
+ /*
+ TODO: should have a mechanism to switch off these warnings.
+ */
+ if (!pit)
+ {
+ ev->origin ()->warning (_ ("NoteEvent without pitch"));
+ }
+#endif