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

ファイルを表示 Open project: scemino/nscumm Class Usage Examples

Public Properties

Property Type Description
_activeEffect bool
_activeKey bool
_activeOutput bool
_keyPressed bool
_reserved bool

Public Methods

Method Description
Clear ( ) : void
CurrentSampleLeft ( ) : int
CurrentSampleRight ( ) : int
EnvAttack ( ) : void
EnvDecay ( ) : void
EnvRelease ( ) : void
EnvSustain ( ) : void
InitInstrument ( byte &note, TownsAudio_WaveTable tables, int numTables, TownsAudio_WaveTable &table ) : int
KeyOff ( ) : void
KeyOn ( byte note, byte velo, TownsAudio_WaveTable w ) : void
LoadData ( TownsAudio_WaveTable w ) : void
LoadData ( byte buffer, int offset, int size ) : void
SetBalance ( byte blc ) : void
SetInstrument ( byte instr ) : void
SetLevel ( int lvl ) : void
SetNote ( byte note, TownsAudio_WaveTable w, bool stepLimit ) : void
SetPitch ( uint pt ) : void
SetVelo ( byte velo ) : void
SetupLoop ( uint loopStart, uint len ) : void
UpdateEnvelopeGenerator ( ) : void
UpdateOutput ( ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

CurrentSampleLeft() public method

public CurrentSampleLeft ( ) : int
return int

CurrentSampleRight() public method

public CurrentSampleRight ( ) : int
return int

EnvAttack() public method

public EnvAttack ( ) : void
return void

EnvDecay() public method

public EnvDecay ( ) : void
return void

EnvRelease() public method

public EnvRelease ( ) : void
return void

EnvSustain() public method

public EnvSustain ( ) : void
return void

InitInstrument() public method

public InitInstrument ( byte &note, TownsAudio_WaveTable tables, int numTables, TownsAudio_WaveTable &table ) : int
note byte
tables TownsAudio_WaveTable
numTables int
table TownsAudio_WaveTable
return int

KeyOff() public method

public KeyOff ( ) : void
return void

KeyOn() public method

public KeyOn ( byte note, byte velo, TownsAudio_WaveTable w ) : void
note byte
velo byte
w TownsAudio_WaveTable
return void

LoadData() public method

public LoadData ( TownsAudio_WaveTable w ) : void
w TownsAudio_WaveTable
return void

LoadData() public method

public LoadData ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
return void

SetBalance() public method

public SetBalance ( byte blc ) : void
blc byte
return void

SetInstrument() public method

public SetInstrument ( byte instr ) : void
instr byte
return void

SetLevel() public method

public SetLevel ( int lvl ) : void
lvl int
return void

SetNote() public method

public SetNote ( byte note, TownsAudio_WaveTable w, bool stepLimit ) : void
note byte
w TownsAudio_WaveTable
stepLimit bool
return void

SetPitch() public method

public SetPitch ( uint pt ) : void
pt uint
return void

SetVelo() public method

public SetVelo ( byte velo ) : void
velo byte
return void

SetupLoop() public method

public SetupLoop ( uint loopStart, uint len ) : void
loopStart uint
len uint
return void

UpdateEnvelopeGenerator() public method

public UpdateEnvelopeGenerator ( ) : void
return void

UpdateOutput() public method

public UpdateOutput ( ) : void
return void

Property Details

_activeEffect public_oe property

public bool _activeEffect
return bool

_activeKey public_oe property

public bool _activeKey
return bool

_activeOutput public_oe property

public bool _activeOutput
return bool

_keyPressed public_oe property

public bool _keyPressed
return bool

_reserved public_oe property

public bool _reserved
return bool