C# 클래스 NScumm.Core.Audio.Tfmx

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

공개 메소드들

메소드 설명
AdvancePatterns ( ) : void
DoSfx ( ushort sfxIndex, bool unlockChannel = false ) : int

Plays an effect from the sfx-table, does not start audio-playback.

DoSong ( int songPos, bool stopAudio = false ) : void

Stops currently playing Song (if any) and cues up a new one. if stopAudio is specified, the player gets reset before starting the new song

Effects ( ChannelContext channel ) : void
FreeResourceDataImpl ( ) : void
FreeResources ( ) : void
InitFadeCommand ( byte fadeTempo, sbyte endVol ) : void
InitPattern ( PatternContext pattern, byte cmd, sbyte expose, uint offset ) : void
Load ( Stream musicData, Stream sampleData, bool autoDelete ) : bool
MacroRun ( ChannelContext channel ) : void
NoteCommand ( byte note, byte param1, byte param2, byte param3 ) : void
SetModuleData ( MdatResource resource, byte sampleData, bool autoDelete ) : void
SetModuleData ( Tfmx otherPlayer ) : void
SetNoteMacro ( ChannelContext channel, int note, int fineTune ) : void
SetSignalAction ( ushort>.Action action ) : void
StopMacroEffect ( int channel ) : void
StopSong ( bool stopAudio = true ) : void

Stops a playing Song (but leaves macros running) and optionally also stops the player

StopSongImpl ( bool stopAudio = true ) : void
Tfmx ( int rate, bool stereo ) : System.Diagnostics

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
Interrupt ( ) : void

비공개 메소드들

메소드 설명
ClearEffects ( ChannelContext channel ) : void
CreateChannelContexts ( ) : ChannelContext[]
CreatePatternContext ( ) : PatternContext[]
GetSamplePtr ( int offset ) : byte[]
HaltMacroProgramm ( ChannelContext channel ) : void
HasResources ( ) : bool
InitMacroProgramm ( ChannelContext channel ) : void
LoadMdatFile ( Stream musicData ) : MdatResource
LoadSampleFile ( Stream sampleStream ) : byte[]
PatternRun ( PatternContext pattern ) : bool
TrackRun ( bool incStep = false ) : bool
UnlockMacroChannel ( ChannelContext channel ) : void

메소드 상세

AdvancePatterns() 공개 메소드

public AdvancePatterns ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

DoSfx() 공개 메소드

Plays an effect from the sfx-table, does not start audio-playback.
public DoSfx ( ushort sfxIndex, bool unlockChannel = false ) : int
sfxIndex ushort index of effect to play.
unlockChannel bool If set to true overwrite higher priority effects.
리턴 int

DoSong() 공개 메소드

Stops currently playing Song (if any) and cues up a new one. if stopAudio is specified, the player gets reset before starting the new song
public DoSong ( int songPos, bool stopAudio = false ) : void
songPos int index of Song to play.
stopAudio bool If set to true stops player and audio output.
리턴 void

Effects() 공개 메소드

public Effects ( ChannelContext channel ) : void
channel ChannelContext
리턴 void

FreeResourceDataImpl() 공개 메소드

public FreeResourceDataImpl ( ) : void
리턴 void

FreeResources() 공개 메소드

public FreeResources ( ) : void
리턴 void

InitFadeCommand() 공개 메소드

public InitFadeCommand ( byte fadeTempo, sbyte endVol ) : void
fadeTempo byte
endVol sbyte
리턴 void

InitPattern() 공개 메소드

public InitPattern ( PatternContext pattern, byte cmd, sbyte expose, uint offset ) : void
pattern PatternContext
cmd byte
expose sbyte
offset uint
리턴 void

Interrupt() 보호된 메소드

protected Interrupt ( ) : void
리턴 void

Load() 공개 메소드

public Load ( Stream musicData, Stream sampleData, bool autoDelete ) : bool
musicData Stream
sampleData Stream
autoDelete bool
리턴 bool

MacroRun() 공개 메소드

public MacroRun ( ChannelContext channel ) : void
channel ChannelContext
리턴 void

NoteCommand() 공개 메소드

public NoteCommand ( byte note, byte param1, byte param2, byte param3 ) : void
note byte
param1 byte
param2 byte
param3 byte
리턴 void

SetModuleData() 공개 메소드

public SetModuleData ( MdatResource resource, byte sampleData, bool autoDelete ) : void
resource MdatResource
sampleData byte
autoDelete bool
리턴 void

SetModuleData() 공개 메소드

public SetModuleData ( Tfmx otherPlayer ) : void
otherPlayer Tfmx
리턴 void

SetNoteMacro() 공개 메소드

public SetNoteMacro ( ChannelContext channel, int note, int fineTune ) : void
channel ChannelContext
note int
fineTune int
리턴 void

SetSignalAction() 공개 메소드

public SetSignalAction ( ushort>.Action action ) : void
action ushort>.Action
리턴 void

StopMacroEffect() 공개 메소드

public StopMacroEffect ( int channel ) : void
channel int
리턴 void

StopSong() 공개 메소드

Stops a playing Song (but leaves macros running) and optionally also stops the player
public StopSong ( bool stopAudio = true ) : void
stopAudio bool If set to true stops player and audio output.
리턴 void

StopSongImpl() 공개 메소드

public StopSongImpl ( bool stopAudio = true ) : void
stopAudio bool
리턴 void

Tfmx() 공개 메소드

public Tfmx ( int rate, bool stereo ) : System.Diagnostics
rate int
stereo bool
리턴 System.Diagnostics