MidiMountain 0.4.0


Units
Classes, Interfaces and Objects
Types
Variables
Constants
Functions and Procedures
Identifiers

Class TMCDevices

Unit

MCDevices

Declaration

type TMCDevices = class(TMCBase)

Description

MIDI Devices
Class building the interface to the midi input and output device drivers of the OS

Hierarchy

TMCBase

Methods

Overview

Public constructor Create( aOwner: TMCBase; aInputDeviceClass: TMCInputDeviceClass; aOutputDeviceClass: TMCOutputDeviceClass );
Public destructor Destroy; override;
Public procedure CloseAll;
Public procedure FlushAll;
Public function GetOutputDeviceFromPort( aPort: TMidiOffset ): TMCOutputDevice;
Public procedure LoadDevices;
Protected procedure LoadInputDevices; virtual; abstract;
Protected procedure LoadOutputDevices; virtual; abstract;
Public procedure Send( const aStatus, aData1, aData2: byte ); overload; virtual;
Public procedure Send( aEvent: TMCEvent ); overload;

Description

Public constructor Create( aOwner: TMCBase; aInputDeviceClass: TMCInputDeviceClass; aOutputDeviceClass: TMCOutputDeviceClass );

create the Devices access

Public destructor Destroy; override;

destroy the access

Public procedure CloseAll;

close all topen devices

Public procedure FlushAll;

flush devices from unwanted midi events

Public function GetOutputDeviceFromPort( aPort: TMidiOffset ): TMCOutputDevice;

get the output device mapped to the port number

Public procedure LoadDevices;

load the input and output devices

Protected procedure LoadInputDevices; virtual; abstract;

 

Protected procedure LoadOutputDevices; virtual; abstract;

 

Public procedure Send( const aStatus, aData1, aData2: byte ); overload; virtual;

 

Public procedure Send( aEvent: TMCEvent ); overload;

send a midi event (through the midi mapper over port<-->IO)

Properties

Overview

Public property InputDeviceIndex: integer;
Public property InputList: TMCList;
Public property OutputDeviceIndex: integer;
Public property OutputList: TMCList;

Description

Public property InputDeviceIndex: integer;

device index for recording

Public property InputList: TMCList;

list of input devices

Public property OutputDeviceIndex: integer;

device index for playback

Public property OutputList: TMCList;

list of output devices


MidiMountain 0.4.0 1999-2002 Adrian Meyer, developed with Delphi and Kylix


Generated by DIPasDoc 0.8.0 on Wed 29 Oct 2003 21:59:09