- Moment len = get_event_length (n, now_mom ());
-
- Audio_note *p = new Audio_note (*pit, len,
- tie_event, Pitch (0, 0, 0));
- Audio_element_info info (p, n);
- announce_element (info);
- notes_.push_back (p);
- }
+ Audio_note *p = new Audio_note (*pit, len,
+ tie_event, Pitch (0, 0), velocity);
+ Audio_element_info info (p, n);
+ announce_element (info);
+ }