Skip to main content

note

Function note 

Source
fn note(
    events: &mut Vec<MidiEvent>,
    channel: u8,
    key: i32,
    start: f64,
    hold: f64,
    velocity: u8,
)
Expand description

Push one note onto an event list: a press at start, a release hold seconds later, both on channel.