pub struct DynamicTimeline { /* private fields */ }Expand description
Dynamic levels of one staff along a played measure order, so a marking carries on until the next one as in engraved music: a level (p, f, …) holds, an accent (sf, sfz, fz, rfz, sffz) lifts only its own moment, and a compound (fp, sfp, pf, …) attacks at the first level and continues at the second. A hairpin ramps the level across its notes towards the marking that follows it (or two dynamic steps up or down when none follows at once) and leaves the level there. Before the first marking notes play at velocity 64.
Implementations§
Source§impl DynamicTimeline
impl DynamicTimeline
Sourcepub const DEFAULT_VELOCITY: u8 = 64
pub const DEFAULT_VELOCITY: u8 = 64
Velocity of a note before any dynamic marking.
Trait Implementations§
Source§impl Clone for DynamicTimeline
impl Clone for DynamicTimeline
Source§impl Debug for DynamicTimeline
impl Debug for DynamicTimeline
Auto Trait Implementations§
impl Freeze for DynamicTimeline
impl RefUnwindSafe for DynamicTimeline
impl Send for DynamicTimeline
impl Sync for DynamicTimeline
impl Unpin for DynamicTimeline
impl UnsafeUnpin for DynamicTimeline
impl UnwindSafe for DynamicTimeline
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more