Struct rmididings::proc::VelocityFixed [−][src]
pub struct VelocityFixed(pub u8);
Expand description
Modify the note velocity to a set value.
The argument is: velocity.
Examples
let modifier = Velocity(10); let mut evs = EventStream::from(NoteOnEvent(0,0,60,40)); modifier.run(&mut evs); assert_eq!(evs, NoteOnEvent(0,0,60,50));
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VelocityFixed
impl Send for VelocityFixed
impl Sync for VelocityFixed
impl Unpin for VelocityFixed
impl UnwindSafe for VelocityFixed