Zephyr Project API 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Macros

#define UMP_MIDI_NOTE_OFF   0x8
 Note Off (p1=note number, p2=velocity)
 
#define UMP_MIDI_NOTE_ON   0x9
 Note On (p1=note number, p2=velocity)
 
#define UMP_MIDI_AFTERTOUCH   0xa
 Polyphonic aftertouch (p1=note number, p2=data)
 
#define UMP_MIDI_CONTROL_CHANGE   0xb
 Control Change (p1=index, p2=data)
 
#define UMP_MIDI_PROGRAM_CHANGE   0xc
 Control Change (p1=program)
 
#define UMP_MIDI_CHAN_AFTERTOUCH   0xd
 Channel aftertouch (p1=data)
 
#define UMP_MIDI_PITCH_BEND   0xe
 Pitch bend (p1=lsb, p2=msb)
 

Detailed Description

See also
ump112: 7.3 MIDI 1.0 Channel Voice Messages

When UMP_MT(x)=UMP_MT_MIDI1_CHANNEL_VOICE or UMP_MT_MIDI2_CHANNEL_VOICE, then UMP_MIDI_COMMAND(x) may be one of:

Macro Definition Documentation

◆ UMP_MIDI_AFTERTOUCH

#define UMP_MIDI_AFTERTOUCH   0xa

#include <include/zephyr/audio/midi.h>

Polyphonic aftertouch (p1=note number, p2=data)

◆ UMP_MIDI_CHAN_AFTERTOUCH

#define UMP_MIDI_CHAN_AFTERTOUCH   0xd

#include <include/zephyr/audio/midi.h>

Channel aftertouch (p1=data)

◆ UMP_MIDI_CONTROL_CHANGE

#define UMP_MIDI_CONTROL_CHANGE   0xb

#include <include/zephyr/audio/midi.h>

Control Change (p1=index, p2=data)

◆ UMP_MIDI_NOTE_OFF

#define UMP_MIDI_NOTE_OFF   0x8

#include <include/zephyr/audio/midi.h>

Note Off (p1=note number, p2=velocity)

◆ UMP_MIDI_NOTE_ON

#define UMP_MIDI_NOTE_ON   0x9

#include <include/zephyr/audio/midi.h>

Note On (p1=note number, p2=velocity)

◆ UMP_MIDI_PITCH_BEND

#define UMP_MIDI_PITCH_BEND   0xe

#include <include/zephyr/audio/midi.h>

Pitch bend (p1=lsb, p2=msb)

◆ UMP_MIDI_PROGRAM_CHANGE

#define UMP_MIDI_PROGRAM_CHANGE   0xc

#include <include/zephyr/audio/midi.h>

Control Change (p1=program)