Namespace: Un4seen.Bass.AddOn.Midi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Member name | Value | Description | |
---|---|---|---|
MIDI_EVENT_NONE | 0 | No event. | |
MIDI_EVENT_NOTE | 1 |
Press or release a key, or stop without sustain/decay.
param : LOBYTE = key number (0-127, 60=middle C), HIBYTE = velocity (0=release, 1-127=press, 255=stop). | |
MIDI_EVENT_PROGRAM | 2 |
Select the preset/instrument to use. Standard soundfont presets follow the General MIDI standard, and generally also include Roland GS variations in other banks (accessible via the MIDI_EVENT_BANK event).
param : preset number (0-127). | |
MIDI_EVENT_CHANPRES | 3 |
Set the channel pressure.
param : pressure level (0-127). | |
MIDI_EVENT_PITCH | 4 |
Set the pitch wheel.
param : pitch wheel position (0-16383, 8192=normal/middle). | |
MIDI_EVENT_PITCHRANGE | 5 |
Set pitch wheel range (MIDI RPN 0).
param : range in semitones. | |
MIDI_EVENT_DRUMS | 6 |
Set the percussion/drums channel switch. The bank and program are reset to 0 when this changes.
param : use drums? (0=no, 1=yes). | |
MIDI_EVENT_FINETUNE | 7 |
Set the fine tuning (MIDI RPN 1).
param : finetune in cents (0-16383, 0=-100, 8192=normal, 16383=+100). | |
MIDI_EVENT_COARSETUNE | 8 |
Set the coarse tuning (MIDI RPN 2).
param : finetune in semitones (0-127, 0=-64, 64=normal, 127=+63). | |
MIDI_EVENT_MASTERVOL | 9 |
Set the master volume.
param : volume level (0-16383, 0=silent, 16363=normal/full). | |
MIDI_EVENT_BANK | 10 |
Select the bank to use (MIDI controller 0).
param : bank number (0-127). | |
MIDI_EVENT_MODULATION | 11 |
Set the modulation (MIDI controller 1).
param : modulation level (0-127). | |
MIDI_EVENT_VOLUME | 12 |
Set the volume (MIDI controller 7).
param : volume level (0-127). | |
MIDI_EVENT_PAN | 13 |
Set the pan position (MIDI controller 10).
param : pan position (0-128, 0=left, 64=middle, 127=right, 128=random). | |
MIDI_EVENT_EXPRESSION | 14 |
Set the expression (MIDI controller 11).
param : expression level (0-127). | |
MIDI_EVENT_SUSTAIN | 15 |
Set the sustain switch (MIDI controller 64).
param : enable sustain? (0-63=no, 64-127=yes). | |
MIDI_EVENT_SOUNDOFF | 16 |
Stop all sounds (MIDI controller 120).
param : not used. | |
MIDI_EVENT_RESET | 17 |
Reset controllers (MIDI controller 121), that is modulation=0, expression=127, sustain=0, pitch wheel=8192, channel pressure=0.
param : not used. | |
MIDI_EVENT_NOTESOFF | 18 |
Release all keys (MIDI controller 123).
param : not used. | |
MIDI_EVENT_PORTAMENTO | 19 |
Set the portamento switch (MIDI controller 65).
param : enable portamento? (0-63=no, 64-127=yes). | |
MIDI_EVENT_PORTATIME | 20 |
Set the portamento time (MIDI controller 5).
param : portamento time (0-127). | |
MIDI_EVENT_PORTANOTE | 21 |
Set the portamento start key - the next note starts at this key (MIDI controller 84).
param : key number (1-127, 60=middle C). | |
MIDI_EVENT_MODE | 22 |
Set poly/mono mode (MIDI controllers 126 & 127).
param : mode (0=poly, 1=mono). | |
MIDI_EVENT_REVERB | 23 |
Set the reverb send level (MIDI controller 91).
param : reverb level (0-127). | |
MIDI_EVENT_CHORUS | 24 |
Set the chorus send level (MIDI controller 93).
param : chorus level (0-127). | |
MIDI_EVENT_CUTOFF | 25 |
Set the low-pass filter cutoff (MIDI controller 74, NRPN 120h).
param : cutoff level (0-127, 0=-64, 64=normal, 127=+63). | |
MIDI_EVENT_RESONANCE | 26 |
Set the low-pass filter resonance (MIDI controller 71, NRPN 121h).
param : resonance level (0-127, 0=-64, 64=normal, 127=+63). | |
MIDI_EVENT_RELEASE | 27 |
Set the release time (MIDI controller 72, NRPN 166h).
param : release time (0-127, 0=-64, 64=normal, 127=+63). | |
MIDI_EVENT_ATTACK | 28 |
Set the attack time (MIDI controller 73, NRPN 163h).
param : attack time (0-127, 0=-64, 64=normal, 127=+63). | |
MIDI_EVENT_DECAY | 29 |
Set the decay time (MIDI controller 75, NRPN 164h).
param : decay time (0-127, 0=-64, 64=normal, 127=+63). | |
MIDI_EVENT_REVERB_MACRO | 30 |
To be defined.
param : to be defined. | |
MIDI_EVENT_CHORUS_MACRO | 31 |
To be defined.
param : to be defined. | |
MIDI_EVENT_REVERB_TIME | 32 |
Set the reverb time.
param : reverb time in milliseconds. | |
MIDI_EVENT_REVERB_DELAY | 33 |
Set the reverb delay.
param : reverb delay in millisecond 10ths. | |
MIDI_EVENT_REVERB_LOCUTOFF | 34 |
Set the reverb low-pass cutoff.
param : reverb low-pass cutoff in hertz (0=off). | |
MIDI_EVENT_REVERB_HICUTOFF | 35 |
Set the reverb high-pass cutoff.
param : reverb high-pass cutoff in hertz (0=off). | |
MIDI_EVENT_REVERB_LEVEL | 36 |
Set the reverb level.
param : reverb level (0=off, 100=0dB, 200=+6dB). | |
MIDI_EVENT_CHORUS_DELAY | 37 |
Set the chorus delay.
param : chorus delay in millisecond 10ths. | |
MIDI_EVENT_CHORUS_DEPTH | 38 |
Set the chorus depth.
param : chorus depth in millisecond 10ths. | |
MIDI_EVENT_CHORUS_RATE | 39 |
Set the chorus rate.
param : chorus rate in hertz 100ths. | |
MIDI_EVENT_CHORUS_FEEDBACK | 40 |
Set the chorus feedback level.
param : chorus feedback level (0=-100%, 100=off, 200=+100%). | |
MIDI_EVENT_CHORUS_LEVEL | 41 |
Set the chorus level.
param : chorus level (0=off, 100=0dB, 200=+6dB). | |
MIDI_EVENT_CHORUS_REVERB | 42 |
Set the chorus send to reverb level.
param : chorus send to reverb level (0=off, 100=0dB, 200=+6dB). | |
MIDI_EVENT_USERFX | 43 |
Set the user effect send level (MIDI controller 94). This will have no audible effect unless custom processing is applied to the user effect mix via BASS_MIDI_StreamGetChannel(Int32, Int32).
param : user effect level (0-127). | |
MIDI_EVENT_USERFX_LEVEL | 44 |
Set the user effect level.
param : user effect level (0=off, 100=0dB, 200=+6dB). | |
MIDI_EVENT_USERFX_REVERB | 45 |
Set the user effect send to reverb level.
param : user effect send to reverb level (0=off, 100=0dB, 200=+6dB). | |
MIDI_EVENT_USERFX_CHORUS | 46 |
Set the user effect send to chorus level.
param : user effect send to chorus level (0=off, 100=0dB, 200=+6dB). | |
MIDI_EVENT_DRUM_FINETUNE | 50 |
Set the fine tuning of a drum key (MIDI NRPN 19knh).
param : LOBYTE = key number (0-127), HIBYTE = finetune in cents (0-127, 0=-100, 64=normal, 127=+100). | |
MIDI_EVENT_DRUM_COARSETUNE | 51 |
Set the coarse tuning of a drum key (MIDI NRPN 18knh).
param : LOBYTE = key number (0-127), HIBYTE = finetune in semitones (0-127, 0=-64, 64=normal, 127=+63). | |
MIDI_EVENT_DRUM_PAN | 52 |
Set the pan position of a drum key (MIDI NRPN 1Cknh).
param : LOBYTE = key number (0-127), HIBYTE = pan position (0-127, 0=random, 64=middle). | |
MIDI_EVENT_DRUM_REVERB | 53 |
Set the reverb send level of a drum key (MIDI NRPN 1Dknh).
param : LOBYTE = key number (0-127), HIBYTE = reverb level (0-127). | |
MIDI_EVENT_DRUM_CHORUS | 54 |
Set the chorus send level of a drum key (MIDI NRPN 1Eknh).
param : LOBYTE = key number (0-127), HIBYTE = chorus level (0-127). | |
MIDI_EVENT_DRUM_CUTOFF | 55 |
Set the low-pass filter cutoff of a drum key (MIDI NRPN 14knh).
param : LOBYTE = key number (0-127), HIBYTE = cutoff level (0-127, 0=-64, 64=normal, 127=+63). | |
MIDI_EVENT_DRUM_RESONANCE | 56 |
Set the low-pass filter resonance of a drum key (MIDI NRPN 15knh).
param : LOBYTE = key number (0-127), HIBYTE = resonance level (0-127, 0=-64, 64=normal, 127=+63). | |
MIDI_EVENT_DRUM_LEVEL | 57 |
Set the drum level NRPN of a drum key (MIDI NRPN 16knh).
param : LOBYTE = key number (0-127), HIBYTE = level (0-127, 127=full/normal). | |
MIDI_EVENT_DRUM_USERFX | 58 |
Set the user effect send level of a drum key (MIDI NRPN 1Fknh).
param : LOBYTE = key number (0-127), HIBYTE = user effect level (0-127, 127=normal/full). | |
MIDI_EVENT_SOFT | 60 |
Set the soft pedal/switch (MIDI controller 67).
param : soft is on? (0-63=no, 64-127=yes). | |
MIDI_EVENT_SYSTEM | 61 |
Set the system mode, resetting everything to the system's defaults.
MIDI_SYSTEM_DEFAULT is identical to MIDI_SYSTEM_GS, except that channel 10 is melodic if there are not 16 channels. MIDI_EVENT_SYSTEM does not reset things in any additional channels allocated to a MIDI file stream via the BASS_ATTRIB_MIDI_CHANS attribute, while MIDI_EVENT_SYSTEMEX does.
param : system mode (see BASSMIDISystem). | |
MIDI_EVENT_TEMPO | 62 |
Set the tempo (MIDI meta event 81). Changing the tempo affects the stream length, and the BASS_ChannelGetLength(Int32, BASSMode) value will no longer be valid.
param : tempo in microseconds per quarter note. | |
MIDI_EVENT_SCALETUNING | 63 |
Set the tuning of a note in every octave.
param : LOWORD = tuning change in cents (0-16383, 0=-100, 8192=normal, 16383=+100), HIWORD = note (0-11, 0=C). | |
MIDI_EVENT_CONTROL | 64 | Control event. | |
MIDI_EVENT_CHANPRES_VIBRATO | 65 | Change Preset Vibrato. | |
MIDI_EVENT_CHANPRES_PITCH | 66 | Change Preset Pitch. | |
MIDI_EVENT_CHANPRES_FILTER | 67 | Change Preset Filter. | |
MIDI_EVENT_CHANPRES_VOLUME | 68 | Change Preset Volume. | |
MIDI_EVENT_MOD_VIBRATO | 69 |
Set the maximum effect of modulation (MIDI controller 1) on vibrato depth (MIDI RPN 5).
param : vibrato depth effect in cents (0=none, 128=100, 256=200, etc). | |
MIDI_EVENT_MODRANGE | 69 | Mod Range. | |
MIDI_EVENT_BANK_LSB | 70 | Bank LSB. | |
MIDI_EVENT_KEYPRES | 71 |
Set a key's pressure/aftertouch.
param : LOBYTE = key number (0-127), HIBYTE = pressure level (0-127). | |
MIDI_EVENT_KEYPRES_VIBRATO | 72 |
Set the maximum effect of key pressure/aftertouch on vibrato depth.
param : vibrato depth effect in cents (0=none, 128=100, 256=200, etc). | |
MIDI_EVENT_KEYPRES_PITCH | 73 |
Set the maximum effect of key pressure/aftertouch on pitch.
param : pitch effect in semitones (0=-24, 24=none, 48=+24). | |
MIDI_EVENT_KEYPRES_FILTER | 74 |
Set the maximum effect of key pressure/aftertouch on filter cutoff.
param : filter cutoff effect in cents (0=-9600, 9600=none, 19200=+9600). | |
MIDI_EVENT_KEYPRES_VOLUME | 75 |
Set the maximum effect of key pressure/aftertouch on volume.
param : volume effect percentage (0=-100, 100=none, 200=+100). | |
MIDI_EVENT_SOSTENUTO | 76 |
Set the sostenuto pedal/switch (MIDI controller 66).
param : sostenuto is on? (0-63=no, 64-127=yes). | |
MIDI_EVENT_MOD_PITCH | 77 |
Set the maximum effect of modulation (MIDI controller 1) on pitch.
param : pitch effect in semitones (0=-24, 24=none, 48=+24). | |
MIDI_EVENT_MOD_FILTER | 78 |
Set the maximum effect of modulation (MIDI controller 1) on filter cutoff.
param : filter cutoff effect in cents (0=-9600, 9600=none, 19200=+9600). | |
MIDI_EVENT_MOD_VOLUME | 79 |
Set the maximum effect of modulation (MIDI controller 1) on volume.
param : volume effect percentage (0=-100, 100=none, 200=+100). | |
MIDI_EVENT_VIBRATO_RATE | 80 |
Set the vibrato rate (MIDI controller 76, NRPN 108h).
param : vibrato rate (0-127, 0=-64, 64=normal, 127=+63). | |
MIDI_EVENT_VIBRATO_DEPTH | 81 |
Set the vibrato depth (MIDI controller 77, NRPN 109h).
param : vibrato depth (0-127, 0=-64, 64=normal, 127=+63). | |
MIDI_EVENT_VIBRATO_DELAY | 82 |
Set the vibrato delay (MIDI controller 78, NRPN 10ah).
param : vibrato delay (0-127, 0=-64, 64=normal, 127=+63). | |
MIDI_EVENT_MASTER_FINETUNE | 83 |
Set the master fine tuning.
param : finetune in cents (0-16383, 0=-100, 8192=normal, 16383=+100). | |
MIDI_EVENT_MASTER_COARSETUNE | 84 |
Set the master coarse tuning.
param : finetune in semitones (0-127, 0=-64, 64=normal, 127=+63). | |
MIDI_EVENT_MIXLEVEL | 65536 |
Set the level.
param : the level (0=silent, 100=0dB, 200=+6dB). | |
MIDI_EVENT_TRANSPOSE | 65537 |
Transpose all notes. Changes take effect from the next note played, and affect melodic channels only (not drum channels).
param : transposition amount in semitones (0=-100, 100=normal, 200=+100). | |
MIDI_EVENT_SYSTEMEX | 65538 |
Set the system mode, resetting everything to the system's defaults.
MIDI_SYSTEM_DEFAULT is identical to MIDI_SYSTEM_GS, except that channel 10 is melodic if there are not 16 channels. MIDI_EVENT_SYSTEM does not reset things in any additional channels allocated to a MIDI file stream via the BASS_ATTRIB_MIDI_CHANS attribute, while MIDI_EVENT_SYSTEMEX does.
param : system mode (see BASSMIDISystem). | |
MIDI_EVENT_END_TRACK | 65539 | Used with BASS_MIDI_StreamCreateEvents(BASS_MIDI_EVENT, Int32, BASSFlag, Int32) to mark the end of a track (the next event will be in a new track). | |
MIDI_EVENT_SPEED | 65540 |
Set a tempo modification. Changing the tempo affects the stream length, and the BASS_ChannelGetLength(Int32, BASSMode) byte value will no longer be valid. The modification does not affect seeking.
param : speed in 100ths of a percent (100=1%/min, 10000=100%/normal, 20000=200%). | |
MIDI_EVENT_DEFDRUMS | 65542 |
Set the percussion/drums channel switch (same as MIDI_EVENT_DRUMS) and make it the default state (eg. applied by MIDI_EVENT_SYSTEM and MIDI_EVENT_SYSTEMEX).
param : use drums? (0=no, 1=yes). | |
MIDI_EVENT_NOTES | 131072 | Flag to check how many keys are pressed. | |
MIDI_EVENT_VOICES | 131073 | Flag to check how many voices are active. | |
MIDI_EVENTS_NORSTATUS | 33554432 | Flag: no running status. | |
MIDI_EVENT_END | 0 | Used with BASS_MIDI_StreamCreateEvents(BASS_MIDI_EVENT, Int32, BASSFlag, Int32) to mark the end of the event array. |