Skip to main content

new

Function new 

Source
pub fn new(
    pattern: Vec<ClockDiv>,
    note: MidiNote,
    channel_id: u8,
    name: &str,
) -> DeteTrack
Expand description

Create a new DeteTrack with a patern made up of different ClockDiv. This pattern triggers note on the MIDI channel with channel_id.