diff --git a/sys/sys/midiio.h b/sys/sys/midiio.h index 53bffde18db8..85c5ed415cb9 100644 --- a/sys/sys/midiio.h +++ b/sys/sys/midiio.h @@ -1,4 +1,4 @@ -/* $NetBSD: midiio.h,v 1.7 1998/11/25 22:17:07 augustss Exp $ */ +/* $NetBSD: midiio.h,v 1.8 2001/10/23 13:07:09 itohy Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -155,9 +155,69 @@ struct synth_info { #define SEQUENCER_TMR_SELECT _IOW ('T', 8, int) -#define MIDI_CTRL_ALLOFF 123 -#define MIDI_CTRL_RESET 121 -#define MIDI_BEND_NEUTRAL (1<<13) +#define MIDI_CTRL_BANK_SELECT_MSB 0 +#define MIDI_CTRL_MODULATION_MSB 1 +#define MIDI_CTRL_BREATH_MSB 2 +#define MIDI_CTRL_FOOT_MSB 4 +#define MIDI_CTRL_PORTAMENTO_TIME_MSB 5 +#define MIDI_CTRL_DATA_ENTRY_MSB 6 +#define MIDI_CTRL_CHANNEL_VOLUME_MSB 7 +#define MIDI_CTRL_BALANCE_MSB 8 +#define MIDI_CTRL_PAN_MSB 10 +#define MIDI_CTRL_EXPRESSION_MSB 11 +#define MIDI_CTRL_GENERAL_PURPOSE_1_MSB 16 +#define MIDI_CTRL_GENERAL_PURPOSE_2_MSB 17 +#define MIDI_CTRL_GENERAL_PURPOSE_3_MSB 18 +#define MIDI_CTRL_GENERAL_PURPOSE_4_MSB 19 +#define MIDI_CTRL_BANK_SELECT_LSB 32 +#define MIDI_CTRL_MODULATION_LSB 33 +#define MIDI_CTRL_BREATH_LSB 34 +#define MIDI_CTRL_FOOT_LSB 36 +#define MIDI_CTRL_PORTAMENTO_TIME_LSB 37 +#define MIDI_CTRL_DATA_ENTRY_LSB 38 +#define MIDI_CTRL_CHANNEL_VOLUME_LSB 39 +#define MIDI_CTRL_BALANCE_LSB 40 +#define MIDI_CTRL_PAN_LSB 42 +#define MIDI_CTRL_EXPRESSION_LSB 43 +#define MIDI_CTRL_GENERAL_PURPOSE_1_LSB 48 +#define MIDI_CTRL_GENERAL_PURPOSE_2_LSB 49 +#define MIDI_CTRL_GENERAL_PURPOSE_3_LSB 50 +#define MIDI_CTRL_GENERAL_PURPOSE_4_LSB 51 +#define MIDI_CTRL_HOLD_1 64 +#define MIDI_CTRL_PORTAMENTO 65 +#define MIDI_CTRL_SOSTENUTO 66 +#define MIDI_CTRL_SOFT_PEDAL 67 +#define MIDI_CTRL_HOLD_2 69 +#define MIDI_CTRL_SOUND_VARIATION 70 +#define MIDI_CTRL_HARMONIC_INTENSITY 71 +#define MIDI_CTRL_RELEASE_TIME 72 +#define MIDI_CTRL_ATTACK_TIME 73 +#define MIDI_CTRL_BRIGHTNESS 74 +#define MIDI_CTRL_DECAY_TIME 75 +#define MIDI_CTRL_VIBRATO_RATE 76 +#define MIDI_CTRL_VIBRATO_DEPTH 77 +#define MIDI_CTRL_VIBRATO_DECAY 78 +#define MIDI_CTRL_GENERAL_PURPOSE_5 80 +#define MIDI_CTRL_GENERAL_PURPOSE_6 81 +#define MIDI_CTRL_GENERAL_PURPOSE_7 82 +#define MIDI_CTRL_GENERAL_PURPOSE_8 83 +#define MIDI_CTRL_PORTAMENTO_CONTROL 84 +#define MIDI_CTRL_EFFECT_DEPTH_1 91 +#define MIDI_CTRL_EFFECT_DEPTH_2 92 +#define MIDI_CTRL_EFFECT_DEPTH_3 93 +#define MIDI_CTRL_EFFECT_DEPTH_4 94 +#define MIDI_CTRL_EFFECT_DEPTH_5 95 +#define MIDI_CTRL_RPN_INCREMENT 96 +#define MIDI_CTRL_RPN_DECREMENT 97 +#define MIDI_CTRL_NRPN_LSB 98 +#define MIDI_CTRL_NRPN_MSB 99 +#define MIDI_CTRL_RPN_LSB 100 +#define MIDI_CTRL_RPN_MSB 101 +#define MIDI_CTRL_SOUND_OFF 120 +#define MIDI_CTRL_RESET 121 +#define MIDI_CTRL_ALLOFF 123 + +#define MIDI_BEND_NEUTRAL (1<<13) #define MIDI_NOTEOFF 0x80 #define MIDI_NOTEON 0x90