[−][src]Enum fpsdk::voice::Event
Voice events.
Variants
Monophonic mode can retrigger releasing voices.
Retrieve the note length in ticks. The result is not reliable.
Function result holds the length of the note, or -1 if it's not defined.
Retrieve the color for a note. A note can currently have up to 16 colors in the pianoroll. This can be mapped to a MIDI channel.
Functions result holds the note color (0..15).
(FL 7.0) Retrieve note on velocity. This is computed from
Params.init_levels.vol
. This should be called from trigger
method.
Function result holds the f32
velocity (0.0..1.0).
(FL 7.0) Retrieve release velocity (0.0..1.0) in result. Use this if some release velocity
mapping is involved. This should be called from release
method.
Function result holds the f32
velocity (0.0..1.0) (to be called from release
method).
(FL 7.0) Retrieve release time multiplicator. Use this for direct release multiplicator.
This should be called from release
method.
Function result holds the f32
value (0.0..2.0).
SetLinkVelocity(bool)
(FL 7.0) Call this to set if velocity is linked to volume or not. The default is on.
Unknown event.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,