BASS.NET API for the Un4seen BASS Audio Library

Midi Methods

BASS.NET API for the Un4seen BASS Audio Library

The Midi type exposes the following members.

Methods

  NameDescription
Public methodStatic memberMIDI_Connect
Connects a MIDI input device to a MIDI thru or output device, or connects a MIDI thru device to a MIDI output device.
Public methodStatic memberMIDI_Disconnect
Disconnects a MIDI input device from a MIDI thru or output device, or disconnects a MIDI thru device from a MIDI output device.
Public methodStatic memberMIDI_GetErrorText
Returns the error message for a given error code.
Public methodStatic memberCode exampleMIDI_InAddBuffer
Sends an input buffer to a specified opened MIDI input device. This function is used for system-exclusive messages.
Public methodStatic memberMIDI_InClose
Closes the specified MIDI input device.
Public methodStatic memberCode exampleMIDI_InGetDevCaps
Determines the capabilities of a specified MIDI input device.
Public methodStatic memberCode exampleMIDI_InGetNumDevs
Retrieves the number of MIDI input devices in the system.
Public methodStatic memberMIDI_InMessage
Sends a message to the MIDI device driver (input).
Public methodStatic memberCode exampleMIDI_InOpen
Opens a MIDI input device.
Public methodStatic memberCode exampleMIDI_InPrepareHeader
Prepares a buffer for MIDI input.
Public methodStatic memberMIDI_InReset
Stops input on a given MIDI input device.
Public methodStatic memberMIDI_InStart
Starts MIDI input on the specified MIDI input device.
Public methodStatic memberMIDI_InStop
Stops MIDI input on the specified MIDI input device.
Public methodStatic memberCode exampleMIDI_InUnprepareHeader
Cleans up the preparation performed by the MIDI_InPrepareHeader(IntPtr, IntPtr) function.
Public methodStatic memberCode exampleMIDI_Note2Frequency
Converts a MIDI note number to its corresponding frequency.
Public methodStatic memberMIDI_OutClose
Closes the specified MIDI output device.
Public methodStatic memberCode exampleMIDI_OutGetDevCaps
Queries a specified MIDI output device to determine its capabilities.
Public methodStatic memberCode exampleMIDI_OutGetNumDevs
Retrieves the number of MIDI output devices present in the system.
Public methodStatic memberCode exampleMIDI_OutLongMsg
Sends a system-exclusive MIDI message to the specified MIDI output device.
Public methodStatic memberMIDI_OutMessage
Sends a message to the MIDI device driver (output).
Public methodStatic memberCode exampleMIDI_OutOpen
Opens a MIDI output device for playback.
Public methodStatic memberMIDI_OutPrepareHeader
Prepares a MIDI system-exclusive or stream buffer for output.
Public methodStatic memberMIDI_OutReset
Turns off all notes on all MIDI channels for the specified MIDI output device.
Public methodStatic memberCode exampleMIDI_OutShortMsg
Sends a short MIDI message to the specified MIDI output device.
Public methodStatic memberMIDI_OutUnprepareHeader
Cleans up the preparation performed by the midiOutPrepareHeader function.
Top
See Also

Reference