pub trait HasBeizer: MidiMessage {
fn msg_buf(&self) -> &Vec<u8>;
fn beizer_buf(&self) -> &Vec<u8>;
fn set_beizer_buf(&mut self, buf: Vec<u8>);
fn beizer_tension(&self) -> Option<f64> { ... }
fn set_beizer_tension(&mut self, value: f32) { ... }
}
Expand description
Unifies interface for events, supports CcShapeCurve.
Currently, supports CCMessage and ChannelPressureMessage.
Required Methods
sourcefn beizer_buf(&self) -> &Vec<u8>
fn beizer_buf(&self) -> &Vec<u8>
Raw Sys message for Beizer tension.
sourcefn set_beizer_buf(&mut self, buf: Vec<u8>)
fn set_beizer_buf(&mut self, buf: Vec<u8>)
Set raw buffer message.
Provided Methods
sourcefn beizer_tension(&self) -> Option<f64>
fn beizer_tension(&self) -> Option<f64>
convert raw beizer data to f64
sourcefn set_beizer_tension(&mut self, value: f32)
fn set_beizer_tension(&mut self, value: f32)
Set beizer tension by float value,