C# 클래스 NScumm.Scumm.Audio.IMuse.Player

상속: NScumm.Core.Audio.MidiDriverBase
파일 보기 프로젝트 열기: scemino/nscumm 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
_se IMuseInternal

보호된 프로퍼티들

프로퍼티 타입 설명
_active bool
_active_notes ushort[]
_detune sbyte
_hook HookDatas
_id int
_isMIDI bool
_isMT32 bool
_loop_counter uint
_loop_from_beat uint
_loop_from_tick uint
_loop_to_beat uint
_loop_to_tick uint
_midi NScumm.Core.Audio.MidiDriver
_music_tick uint
_note_offset int
_pan sbyte
_parameterFaders NScumm.Scumm.Audio.IMuse.ParameterFader[]
_parser NScumm.Core.MidiParser
_parts Part
_priority byte
_scanning bool
_speed byte
_supportsPercussion bool
_track_index int
_transpose sbyte
_vol_eff byte
_volume byte

공개 메소드들

메소드 설명
AddParameterFader ( ParameterFaderType param, int target, int time ) : int
Clear ( ) : void
ClearLoop ( ) : void
FixAfterLoad ( ) : void
GetActivePart ( byte chan ) : Part
GetBeatIndex ( ) : uint
GetEffectiveVolume ( ) : byte
GetMusicTimer ( ) : int
GetParam ( int param, byte chan ) : int
GetPart ( byte chan ) : Part
GetTicksPerBeat ( ) : uint
GetTranspose ( ) : sbyte
Jump ( uint track, uint beat, uint tick ) : bool
MaybeJump ( byte cmd, uint track, uint beat, uint tick ) : void
MaybePartOnOff ( byte data ) : void
MaybeSetProgram ( byte data ) : void
MaybeSetTranspose ( byte data ) : void
MaybeSetTransposePart ( byte data ) : void
MaybeSetVolume ( byte data ) : void
MetaEvent ( byte type, byte data, ushort length ) : void
OnTimer ( ) : void
Player ( ) : System
RemovePart ( Part part ) : void
SaveOrLoad ( Serializer ser ) : void
Scan ( uint totrack, uint tobeat, uint totick ) : int
Send ( int b ) : void
SetDetune ( int detune ) : void
SetHook ( byte cls, byte value, byte chan ) : int
SetLoop ( uint count, uint tobeat, uint totick, uint frombeat, uint fromtick ) : bool
SetOffsetNote ( int offset ) : void
SetPan ( int pan ) : void
SetPriority ( int pri ) : void
SetSpeed ( byte speed ) : void
SetTranspose ( byte relative, int b ) : int
SetVolume ( byte vol ) : int
StartSound ( int sound, MidiDriver midi ) : bool
SysEx ( byte msg, ushort length ) : void
TransposeClamp ( int a, int b, int c ) : int

보호된 메소드들

메소드 설명
HookClear ( ) : void
LoadStartParameters ( int sound ) : void
PartSetTranspose ( byte chan, byte relative, sbyte b ) : void
PlayActiveNotes ( ) : void
QueryPartParam ( int param, byte chan ) : int
StartSeqSound ( int sound, bool resetVars = true ) : int
TransitionParameters ( ) : void
TurnOffParts ( ) : void
TurnOffPedals ( ) : void
UninitParts ( ) : void

비공개 메소드들

메소드 설명
Extract ( byte msg, int offset ) : byte[]

메소드 상세

AddParameterFader() 공개 메소드

public AddParameterFader ( ParameterFaderType param, int target, int time ) : int
param ParameterFaderType
target int
time int
리턴 int

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

ClearLoop() 공개 메소드

public ClearLoop ( ) : void
리턴 void

FixAfterLoad() 공개 메소드

public FixAfterLoad ( ) : void
리턴 void

GetActivePart() 공개 메소드

public GetActivePart ( byte chan ) : Part
chan byte
리턴 Part

GetBeatIndex() 공개 메소드

public GetBeatIndex ( ) : uint
리턴 uint

GetEffectiveVolume() 공개 메소드

public GetEffectiveVolume ( ) : byte
리턴 byte

GetMusicTimer() 공개 메소드

public GetMusicTimer ( ) : int
리턴 int

GetParam() 공개 메소드

public GetParam ( int param, byte chan ) : int
param int
chan byte
리턴 int

GetPart() 공개 메소드

public GetPart ( byte chan ) : Part
chan byte
리턴 Part

GetTicksPerBeat() 공개 메소드

public GetTicksPerBeat ( ) : uint
리턴 uint

GetTranspose() 공개 메소드

public GetTranspose ( ) : sbyte
리턴 sbyte

HookClear() 보호된 메소드

protected HookClear ( ) : void
리턴 void

Jump() 공개 메소드

public Jump ( uint track, uint beat, uint tick ) : bool
track uint
beat uint
tick uint
리턴 bool

LoadStartParameters() 보호된 메소드

protected LoadStartParameters ( int sound ) : void
sound int
리턴 void

MaybeJump() 공개 메소드

public MaybeJump ( byte cmd, uint track, uint beat, uint tick ) : void
cmd byte
track uint
beat uint
tick uint
리턴 void

MaybePartOnOff() 공개 메소드

public MaybePartOnOff ( byte data ) : void
data byte
리턴 void

MaybeSetProgram() 공개 메소드

public MaybeSetProgram ( byte data ) : void
data byte
리턴 void

MaybeSetTranspose() 공개 메소드

public MaybeSetTranspose ( byte data ) : void
data byte
리턴 void

MaybeSetTransposePart() 공개 메소드

public MaybeSetTransposePart ( byte data ) : void
data byte
리턴 void

MaybeSetVolume() 공개 메소드

public MaybeSetVolume ( byte data ) : void
data byte
리턴 void

MetaEvent() 공개 메소드

public MetaEvent ( byte type, byte data, ushort length ) : void
type byte
data byte
length ushort
리턴 void

OnTimer() 공개 메소드

public OnTimer ( ) : void
리턴 void

PartSetTranspose() 보호된 메소드

protected PartSetTranspose ( byte chan, byte relative, sbyte b ) : void
chan byte
relative byte
b sbyte
리턴 void

PlayActiveNotes() 보호된 메소드

protected PlayActiveNotes ( ) : void
리턴 void

Player() 공개 메소드

public Player ( ) : System
리턴 System

QueryPartParam() 보호된 메소드

protected QueryPartParam ( int param, byte chan ) : int
param int
chan byte
리턴 int

RemovePart() 공개 메소드

public RemovePart ( Part part ) : void
part Part
리턴 void

SaveOrLoad() 공개 메소드

public SaveOrLoad ( Serializer ser ) : void
ser NScumm.Scumm.IO.Serializer
리턴 void

Scan() 공개 메소드

public Scan ( uint totrack, uint tobeat, uint totick ) : int
totrack uint
tobeat uint
totick uint
리턴 int

Send() 공개 메소드

public Send ( int b ) : void
b int
리턴 void

SetDetune() 공개 메소드

public SetDetune ( int detune ) : void
detune int
리턴 void

SetHook() 공개 메소드

public SetHook ( byte cls, byte value, byte chan ) : int
cls byte
value byte
chan byte
리턴 int

SetLoop() 공개 메소드

public SetLoop ( uint count, uint tobeat, uint totick, uint frombeat, uint fromtick ) : bool
count uint
tobeat uint
totick uint
frombeat uint
fromtick uint
리턴 bool

SetOffsetNote() 공개 메소드

public SetOffsetNote ( int offset ) : void
offset int
리턴 void

SetPan() 공개 메소드

public SetPan ( int pan ) : void
pan int
리턴 void

SetPriority() 공개 메소드

public SetPriority ( int pri ) : void
pri int
리턴 void

SetSpeed() 공개 메소드

public SetSpeed ( byte speed ) : void
speed byte
리턴 void

SetTranspose() 공개 메소드

public SetTranspose ( byte relative, int b ) : int
relative byte
b int
리턴 int

SetVolume() 공개 메소드

public SetVolume ( byte vol ) : int
vol byte
리턴 int

StartSeqSound() 보호된 메소드

protected StartSeqSound ( int sound, bool resetVars = true ) : int
sound int
resetVars bool
리턴 int

StartSound() 공개 메소드

public StartSound ( int sound, MidiDriver midi ) : bool
sound int
midi NScumm.Core.Audio.MidiDriver
리턴 bool

SysEx() 공개 메소드

public SysEx ( byte msg, ushort length ) : void
msg byte
length ushort
리턴 void

TransitionParameters() 보호된 메소드

protected TransitionParameters ( ) : void
리턴 void

TransposeClamp() 공개 정적인 메소드

public static TransposeClamp ( int a, int b, int c ) : int
a int
b int
c int
리턴 int

TurnOffParts() 보호된 메소드

protected TurnOffParts ( ) : void
리턴 void

TurnOffPedals() 보호된 메소드

protected TurnOffPedals ( ) : void
리턴 void

UninitParts() 보호된 메소드

protected UninitParts ( ) : void
리턴 void

프로퍼티 상세

_active 보호되어 있는 프로퍼티

protected bool _active
리턴 bool

_active_notes 보호되어 있는 정적으로 프로퍼티

protected static ushort[] _active_notes
리턴 ushort[]

_detune 보호되어 있는 프로퍼티

protected sbyte _detune
리턴 sbyte

_hook 보호되어 있는 프로퍼티

protected HookDatas _hook
리턴 HookDatas

_id 보호되어 있는 프로퍼티

protected int _id
리턴 int

_isMIDI 보호되어 있는 프로퍼티

protected bool _isMIDI
리턴 bool

_isMT32 보호되어 있는 프로퍼티

protected bool _isMT32
리턴 bool

_loop_counter 보호되어 있는 프로퍼티

protected uint _loop_counter
리턴 uint

_loop_from_beat 보호되어 있는 프로퍼티

protected uint _loop_from_beat
리턴 uint

_loop_from_tick 보호되어 있는 프로퍼티

protected uint _loop_from_tick
리턴 uint

_loop_to_beat 보호되어 있는 프로퍼티

protected uint _loop_to_beat
리턴 uint

_loop_to_tick 보호되어 있는 프로퍼티

protected uint _loop_to_tick
리턴 uint

_midi 보호되어 있는 프로퍼티

protected MidiDriver,NScumm.Core.Audio _midi
리턴 NScumm.Core.Audio.MidiDriver

_music_tick 보호되어 있는 프로퍼티

protected uint _music_tick
리턴 uint

_note_offset 보호되어 있는 프로퍼티

protected int _note_offset
리턴 int

_pan 보호되어 있는 프로퍼티

protected sbyte _pan
리턴 sbyte

_parameterFaders 보호되어 있는 프로퍼티

protected ParameterFader[],NScumm.Scumm.Audio.IMuse _parameterFaders
리턴 NScumm.Scumm.Audio.IMuse.ParameterFader[]

_parser 보호되어 있는 프로퍼티

protected MidiParser,NScumm.Core _parser
리턴 NScumm.Core.MidiParser

_parts 보호되어 있는 프로퍼티

protected Part,NScumm.Scumm.Audio.IMuse _parts
리턴 Part

_priority 보호되어 있는 프로퍼티

protected byte _priority
리턴 byte

_scanning 보호되어 있는 프로퍼티

protected bool _scanning
리턴 bool

_se 공개적으로 프로퍼티

public IMuseInternal,NScumm.Scumm.Audio.IMuse _se
리턴 IMuseInternal

_speed 보호되어 있는 프로퍼티

protected byte _speed
리턴 byte

_supportsPercussion 보호되어 있는 프로퍼티

protected bool _supportsPercussion
리턴 bool

_track_index 보호되어 있는 프로퍼티

protected int _track_index
리턴 int

_transpose 보호되어 있는 프로퍼티

protected sbyte _transpose
리턴 sbyte

_vol_eff 보호되어 있는 프로퍼티

protected byte _vol_eff
리턴 byte

_volume 보호되어 있는 프로퍼티

protected byte _volume
리턴 byte