[][src]Struct fpsdk::Note

#[repr(C)]pub struct Note {
    pub position: i32,
    pub length: i32,
    pub pan: i32,
    pub vol: i32,
    pub note: i16,
    pub color: i16,
    pub pitch: i32,
    pub mod_x: f32,
    pub mod_y: f32,
}

This type represents a note in Notes.

Fields

position: i32

Position in PPQ.

length: i32

Length in PPQ.

pan: i32

Pan in range -100..100.

vol: i32

Volume.

note: i16

Note number.

color: i16

Color or MIDI channel in range of 0..15.

pitch: i32

Fine pitch in range -1200..1200.

mod_x: f32

Mod X or filter cutoff frequency.

mod_y: f32

Mod Y or filter resonance (Q).

Trait Implementations

impl Debug for Note[src]

Auto Trait Implementations

impl RefUnwindSafe for Note

impl Send for Note

impl Sync for Note

impl Unpin for Note

impl UnwindSafe for Note

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.