C# Class Tsukikage.WinMM.MidiIO.MidiIn

Win32 MidiIn ����N���X
Inheritance: IDisposable
ファイルを表示 Open project: ttsuki/ttsuki Class Usage Examples

Public Methods

Method Description
Close ( ) : void

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

GetDeviceNames ( ) : string[]

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

MidiIn ( uint deviceId ) : System

Open MidiIn. MidiIn��J���܂��B

Start ( ) : void

Start recording. �^���J�n

Start ( int bufferSize ) : void

Start recording. �^���J�n

Start ( int bufferCount, int bufferSize ) : void

Start recording. �^���J�n

Stop ( ) : void

Stop recording. �^����~

Private Methods

Method Description
EnsureOpened ( ) : void
IDisposable ( ) : void

Method Details

Close() public method

Close MidiIn and release all resources. MidiIn��‚��A���ׂẴ��\�[�X�������܂��B
public Close ( ) : 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[]

MidiIn() public method

Open MidiIn. MidiIn��J���܂��B
public MidiIn ( uint deviceId ) : System
deviceId uint index of GetDeviceNames(). GetDeviceNames()��index
return System

Start() public method

Start recording. �^���J�n
public Start ( ) : void
return void

Start() public method

Start recording. �^���J�n
public Start ( int bufferSize ) : void
bufferSize int ex) 1024 : �o�b�t�@�T�C�Y
return void

Start() public method

Start recording. �^���J�n
public Start ( int bufferCount, int bufferSize ) : void
bufferCount int ex) 256 : �o�b�t�@��
bufferSize int ex) 1024 : �o�b�t�@�T�C�Y
return void

Stop() public method

Stop recording. �^����~
public Stop ( ) : void
return void