C# Class Tsukikage.WinMM.MidiIO.MidiOut

Win32 MidiOut����N���X
Inheritance: IDisposable
显示文件 Open project: ttsuki/ttsuki Class Usage Examples

Public Methods

Method Description
Close ( ) : void

Close MidiOut and release all resources. MidiOut��‚��A���ׂẴ��\�[�X�������܂��B

EnsureOpened ( ) : void
GetDeviceNames ( ) : string[]

Get names of installed devices. �C���X�g�[���ς݂̃f�o�C�X���𓾂܂��B

IDisposable ( ) : void
MidiOut ( int deviceId ) : System

Open MidiOut. MidiOut��J���܂��B

ShortMessage ( uint data ) : void

Send short midi message. �Z��midi�f�[�^�𑗂�܂��B

Stop ( ) : void

Stop. �Đ���~�߁A�܂��B

Write ( ) : void

Send long midi message. ����midi�f�[�^�𑗂�܂��B

Write ( IntPtr src, int length ) : void

Send long midi message. ����midi�f�[�^�𑗂�܂��B

Write ( byte data, int offset, int count ) : void

Send long midi message. ����midi�f�[�^�𑗂�܂��B

Private Methods

Method Description
Write ( MidiBuffer buffer ) : void

Send long midi message. ����midi�f�[�^�𑗂�܂��B

Method Details

Close() public method

Close MidiOut and release all resources. MidiOut��‚��A���ׂẴ��\�[�X�������܂��B
public Close ( ) : void
return void

EnsureOpened() public method

public EnsureOpened ( ) : void
return void

GetDeviceNames() public static method

Get names of installed devices. �C���X�g�[���ς݂̃f�o�C�X���𓾂܂��B
public static GetDeviceNames ( ) : string[]
return string[]

IDisposable() public method

public IDisposable ( ) : void
return void

MidiOut() public method

Open MidiOut. MidiOut��J���܂��B
public MidiOut ( int deviceId ) : System
deviceId int MidiOut.MidiMapper or index of GetDeviceNames(). MidiOut.MidiMapper���AGetDeviceNames()��index
return System

ShortMessage() public method

Send short midi message. �Z��midi�f�[�^�𑗂�܂��B
public ShortMessage ( uint data ) : void
data uint �f�[�^
return void

Stop() public method

Stop. �Đ���~�߁A�܂��B
public Stop ( ) : void
return void

Write() public method

Send long midi message. ����midi�f�[�^�𑗂�܂��B
public Write ( ) : void
return void

Write() public method

Send long midi message. ����midi�f�[�^�𑗂�܂��B
public Write ( IntPtr src, int length ) : void
src System.IntPtr �f�[�^
length int �ǂݏo���o�C�g��
return void

Write() public method

Send long midi message. ����midi�f�[�^�𑗂�܂��B
public Write ( byte data, int offset, int count ) : void
data byte �f�[�^
offset int �ǂݏo���ʒu
count int �ǂݏo���o�C�g��
return void