struct snd_seq_ev_note_t

Overview

Note event Moreā€¦

#include <seq_event.h>

struct snd_seq_ev_note_t {
    // fields

    unsigned char channel;
    unsigned char note;
    unsigned char velocity;
    unsigned char off_velocity;
    unsigned int duration;
};

Detailed Documentation

Note event

Fields

unsigned char channel

channel number

unsigned char note

note

unsigned char velocity

velocity

unsigned char off_velocity

note-off velocity; only for SND_SEQ_EVENT_NOTE

unsigned int duration

duration until note-off; only for SND_SEQ_EVENT_NOTE