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

Inheritance: ITownsAudioInterfacePluginDriver
Show file Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
AssignChannel ( int chan, int tableEntry ) : int
ChanVolume ( int chan, int vol ) : void
ConfigChanAdjustVolume ( int tableEntry, int val ) : int
ConfigChanEnable ( int tableEntry, int val ) : int
ConfigChanRemap ( int tableEntry, int val ) : int
ConfigChanSetMode ( int tableEntry, int val ) : int
ConfigChanSetTranspose ( int tableEntry, int val ) : int
ContinueParsing ( ) : void
FlushEventBuffer ( ) : void
Init ( ) : bool
JumpNextLoop ( ) : void
LoadInstrument ( int chanType, int id, byte data, int offset ) : void
PlaySoundEffect ( int chan, byte note, byte velo, byte data ) : void
ProcessBufferNote ( int mode, int evt, int note, int velo ) : void
ReserveSoundEffectChannels ( int num ) : void
Reset ( ) : void
ResetControl ( ) : void
ResetControlIntern ( int mode, int chan ) : void
ResetTables ( ) : void
ResetTempo ( ) : void
SendAllNotesOff ( ) : void
SendChanVolume ( ) : void
SendEvent ( int mode, int command ) : void
SendNoteOff ( ) : void
SendNoteOn ( ) : void
SendPanPosition ( ) : void
SendPitch ( ) : void
SendSetInstrument ( ) : void
SetMusicLoop ( bool loop ) : void
SetMusicTempo ( int tempo ) : int
SetMusicVolume ( int volume ) : void
SetTempoIntern ( int tempo ) : void
SetTimerA ( bool enable, int tempo ) : void
SetTimerB ( bool enable, int tempo ) : void
SoundEffectIsPlaying ( int chan ) : bool
StartMusicTrack ( byte data, int offset, int trackSize, int startTick ) : int
StopParser ( ) : void
StopSoundEffect ( int chan ) : void
TimerCallback ( int timerId ) : void
TownsEuphonyDriver ( IMixer mixer ) : System
UpdateCheckEot ( ) : void
UpdateEventBuffer ( ) : void
UpdateParser ( ) : void
UpdatePulseCount ( ) : void
UpdateTimeStampBase ( ) : void

Private Methods

Method Description
AppendEvent ( byte evt, byte chan ) : byte
ApplyTranspose ( byte @in ) : byte
ApplyVolumeAdjust ( byte @in ) : byte
ParseNext ( ) : bool
evtAdvanceTimestampOffset ( ) : bool
evtControlPitch ( ) : bool
evtInstrumentChanAftertouch ( ) : bool
evtLoadInstrument ( ) : bool
evtModeOrdrChange ( ) : bool
evtNotImpl ( ) : bool
evtPolyphonicAftertouch ( ) : bool
evtSetupNote ( ) : bool
evtTempo ( ) : bool

Method Details

AssignChannel() public method

public AssignChannel ( int chan, int tableEntry ) : int
chan int
tableEntry int
return int

ChanVolume() public method

public ChanVolume ( int chan, int vol ) : void
chan int
vol int
return void

ConfigChanAdjustVolume() public method

public ConfigChanAdjustVolume ( int tableEntry, int val ) : int
tableEntry int
val int
return int

ConfigChanEnable() public method

public ConfigChanEnable ( int tableEntry, int val ) : int
tableEntry int
val int
return int

ConfigChanRemap() public method

public ConfigChanRemap ( int tableEntry, int val ) : int
tableEntry int
val int
return int

ConfigChanSetMode() public method

public ConfigChanSetMode ( int tableEntry, int val ) : int
tableEntry int
val int
return int

ConfigChanSetTranspose() public method

public ConfigChanSetTranspose ( int tableEntry, int val ) : int
tableEntry int
val int
return int

ContinueParsing() public method

public ContinueParsing ( ) : void
return void

FlushEventBuffer() public method

public FlushEventBuffer ( ) : void
return void

Init() public method

public Init ( ) : bool
return bool

JumpNextLoop() public method

public JumpNextLoop ( ) : void
return void

LoadInstrument() public method

public LoadInstrument ( int chanType, int id, byte data, int offset ) : void
chanType int
id int
data byte
offset int
return void

PlaySoundEffect() public method

public PlaySoundEffect ( int chan, byte note, byte velo, byte data ) : void
chan int
note byte
velo byte
data byte
return void

ProcessBufferNote() public method

public ProcessBufferNote ( int mode, int evt, int note, int velo ) : void
mode int
evt int
note int
velo int
return void

ReserveSoundEffectChannels() public method

public ReserveSoundEffectChannels ( int num ) : void
num int
return void

Reset() public method

public Reset ( ) : void
return void

ResetControl() public method

public ResetControl ( ) : void
return void

ResetControlIntern() public method

public ResetControlIntern ( int mode, int chan ) : void
mode int
chan int
return void

ResetTables() public method

public ResetTables ( ) : void
return void

ResetTempo() public method

public ResetTempo ( ) : void
return void

SendAllNotesOff() public method

public SendAllNotesOff ( ) : void
return void

SendChanVolume() public method

public SendChanVolume ( ) : void
return void

SendEvent() public method

public SendEvent ( int mode, int command ) : void
mode int
command int
return void

SendNoteOff() public method

public SendNoteOff ( ) : void
return void

SendNoteOn() public method

public SendNoteOn ( ) : void
return void

SendPanPosition() public method

public SendPanPosition ( ) : void
return void

SendPitch() public method

public SendPitch ( ) : void
return void

SendSetInstrument() public method

public SendSetInstrument ( ) : void
return void

SetMusicLoop() public method

public SetMusicLoop ( bool loop ) : void
loop bool
return void

SetMusicTempo() public method

public SetMusicTempo ( int tempo ) : int
tempo int
return int

SetMusicVolume() public method

public SetMusicVolume ( int volume ) : void
volume int
return void

SetTempoIntern() public method

public SetTempoIntern ( int tempo ) : void
tempo int
return void

SetTimerA() public method

public SetTimerA ( bool enable, int tempo ) : void
enable bool
tempo int
return void

SetTimerB() public method

public SetTimerB ( bool enable, int tempo ) : void
enable bool
tempo int
return void

SoundEffectIsPlaying() public method

public SoundEffectIsPlaying ( int chan ) : bool
chan int
return bool

StartMusicTrack() public method

public StartMusicTrack ( byte data, int offset, int trackSize, int startTick ) : int
data byte
offset int
trackSize int
startTick int
return int

StopParser() public method

public StopParser ( ) : void
return void

StopSoundEffect() public method

public StopSoundEffect ( int chan ) : void
chan int
return void

TimerCallback() public method

public TimerCallback ( int timerId ) : void
timerId int
return void

TownsEuphonyDriver() public method

public TownsEuphonyDriver ( IMixer mixer ) : System
mixer IMixer
return System

UpdateCheckEot() public method

public UpdateCheckEot ( ) : void
return void

UpdateEventBuffer() public method

public UpdateEventBuffer ( ) : void
return void

UpdateParser() public method

public UpdateParser ( ) : void
return void

UpdatePulseCount() public method

public UpdatePulseCount ( ) : void
return void

UpdateTimeStampBase() public method

public UpdateTimeStampBase ( ) : void
return void