C# Класс NScumm.Core.Audio.SoftSynth.AdlibMidiDriver

Наследование: EmulatedMidiDriver
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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