Nanomidi
Simple stream-based MIDI message encoder and decoder
midi_message::data::note_on Struct Reference

Representation of MIDI_TYPE_NOTE_ON. More...

#include <messages.h>

Data Fields

uint8_t note
 Note code (0-127) More...
 
uint8_t velocity
 Note velocity (1-127) More...
 

Detailed Description

Representation of MIDI_TYPE_NOTE_ON.

If velocity is set to zero, the message will be interpreted as MIDI_TYPE_NOTE_OFF.

Field Documentation

◆ note

uint8_t note

Note code (0-127)

◆ velocity

uint8_t velocity

Note velocity (1-127)


The documentation for this struct was generated from the following file: