C# 클래스 NScumm.Core.Audio.SoftSynth.AdlibMidiDriver

상속: EmulatedMidiDriver
파일 보기 프로젝트 열기: scemino/nscumm 1 사용 예제들

공개 메소드들

메소드 설명
AdlibMidiDriver ( IMixer mixer ) : System
AllocateChannel ( ) : MidiChannel
GetPercussionChannel ( ) : MidiChannel
Open ( ) : MidiDriverError
Property ( int prop, int param ) : int
Send ( byte chan, uint b ) : void
Send ( int b ) : void
SysExCustomInstrument ( byte channel, uint type, byte instr ) : void
ToType ( string type ) : uint

보호된 메소드들

메소드 설명
GenerateSamples ( short buf, int pos, int len ) : void
OnTimer ( ) : void

비공개 메소드들

메소드 설명
AdlibGetRegValue ( byte reg ) : byte
AdlibGetRegValueParam ( int chan, byte param ) : int
AdlibKeyOff ( int chan ) : void
AdlibKeyOnOff ( int channel ) : void
AdlibNoteOn ( int chan, byte note, int mod ) : void
AdlibNoteOnEx ( int chan, byte note, int mod ) : void
AdlibPlayNote ( int channel, int note ) : void
AdlibSetParam ( int channel, byte param, int value, bool primary = true ) : void
AdlibSetupChannel ( int chan, AdLibInstrument instr, byte vol1, byte vol2 ) : void
AdlibWrite ( byte reg, byte value ) : void
AllocateVoice ( byte pri ) : AdLibVoice
Close ( ) : void
CreateLookupTable ( ) : ].byte[
LinkMc ( AdLibPart part, AdLibVoice voice ) : void
LookupVolume ( int a, int b ) : int
McIncStuff ( AdLibVoice voice, Struct10 s10, Struct11 s11 ) : void
McInitStuff ( AdLibVoice voice, Struct10 s10, Struct11 s11, byte flags, InstrumentExtra ie ) : void
McKeyOn ( AdLibVoice voice, AdLibInstrument instr, byte note, byte velocity, AdLibInstrument second, byte pan ) : void
McOff ( AdLibVoice voice ) : void
PartKeyOff ( AdLibPart part, byte note ) : void
PartKeyOn ( AdLibPart part, AdLibInstrument instr, byte note, byte velocity, AdLibInstrument second, byte pan ) : void
RandomNr ( int a ) : int
SetPitchBendRange ( byte channel, uint range ) : void
Struct10Init ( Struct10 s10, InstrumentExtra ie ) : void
Struct10OnTimer ( Struct10 s10, Struct11 s11 ) : byte
Struct10Setup ( Struct10 s10 ) : void

메소드 상세

AdlibMidiDriver() 공개 메소드

public AdlibMidiDriver ( IMixer mixer ) : System
mixer IMixer
리턴 System

AllocateChannel() 공개 메소드

public AllocateChannel ( ) : MidiChannel
리턴 MidiChannel

GenerateSamples() 보호된 메소드

protected GenerateSamples ( short buf, int pos, int len ) : void
buf short
pos int
len int
리턴 void

GetPercussionChannel() 공개 메소드

public GetPercussionChannel ( ) : MidiChannel
리턴 MidiChannel

OnTimer() 보호된 메소드

protected OnTimer ( ) : void
리턴 void

Open() 공개 메소드

public Open ( ) : MidiDriverError
리턴 MidiDriverError

Property() 공개 메소드

public Property ( int prop, int param ) : int
prop int
param int
리턴 int

Send() 공개 메소드

public Send ( byte chan, uint b ) : void
chan byte
b uint
리턴 void

Send() 공개 메소드

public Send ( int b ) : void
b int
리턴 void

SysExCustomInstrument() 공개 메소드

public SysExCustomInstrument ( byte channel, uint type, byte instr ) : void
channel byte
type uint
instr byte
리턴 void

ToType() 공개 정적인 메소드

public static ToType ( string type ) : uint
type string
리턴 uint