C# Class NScumm.Core.Audio.SoftSynth.TownsMidiOutputChannel

Mostrar archivo Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
@out ( byte reg, byte val ) : void
CheckPriority ( int pri ) : int
Connect ( TownsMidiInputChannel chan ) : void
Disconnect ( ) : void
InitNextEnvelopeState ( EffectEnvelope s ) : void
KeyOff ( ) : void
KeyOn ( ) : void
KeyOnSetFreq ( ushort frq ) : void
NoteOn ( byte msb, ushort lsb ) : void
NoteOnPitchBend ( byte msb, ushort lsb ) : void
SetModWheel ( byte value ) : void
SetupEffects ( int index, byte flags, byte effectData, int offset ) : void
SetupProgram ( byte data, byte mLevelPara, byte tLevelPara ) : void
StartEffect ( EffectEnvelope s, byte effectData, int offset ) : void
TownsMidiOutputChannel ( MidiDriver_TOWNS driver, int chanIndex )
Update ( ) : bool
UpdateEffectGenerator ( EffectEnvelope s, EffectDef d ) : void

Private Methods

Method Description
AdvanceEffectEnvelope ( EffectEnvelope s, EffectDef d ) : int
GetEffectModLevel ( int lvl, int mod ) : int
GetEffectStartLevel ( byte type ) : short

Method Details

@out() public method

public @out ( byte reg, byte val ) : void
reg byte
val byte
return void

CheckPriority() public method

public CheckPriority ( int pri ) : int
pri int
return int

Connect() public method

public Connect ( TownsMidiInputChannel chan ) : void
chan TownsMidiInputChannel
return void

Disconnect() public method

public Disconnect ( ) : void
return void

InitNextEnvelopeState() public method

public InitNextEnvelopeState ( EffectEnvelope s ) : void
s EffectEnvelope
return void

KeyOff() public method

public KeyOff ( ) : void
return void

KeyOn() public method

public KeyOn ( ) : void
return void

KeyOnSetFreq() public method

public KeyOnSetFreq ( ushort frq ) : void
frq ushort
return void

NoteOn() public method

public NoteOn ( byte msb, ushort lsb ) : void
msb byte
lsb ushort
return void

NoteOnPitchBend() public method

public NoteOnPitchBend ( byte msb, ushort lsb ) : void
msb byte
lsb ushort
return void

SetModWheel() public method

public SetModWheel ( byte value ) : void
value byte
return void

SetupEffects() public method

public SetupEffects ( int index, byte flags, byte effectData, int offset ) : void
index int
flags byte
effectData byte
offset int
return void

SetupProgram() public method

public SetupProgram ( byte data, byte mLevelPara, byte tLevelPara ) : void
data byte
mLevelPara byte
tLevelPara byte
return void

StartEffect() public method

public StartEffect ( EffectEnvelope s, byte effectData, int offset ) : void
s EffectEnvelope
effectData byte
offset int
return void

TownsMidiOutputChannel() public method

public TownsMidiOutputChannel ( MidiDriver_TOWNS driver, int chanIndex )
driver MidiDriver_TOWNS
chanIndex int

Update() public method

public Update ( ) : bool
return bool

UpdateEffectGenerator() public method

public UpdateEffectGenerator ( EffectEnvelope s, EffectDef d ) : void
s EffectEnvelope
d EffectDef
return void