C# 클래스 CSharpSynth.Banks.Sfz.SfzInstrument

상속: Instrument
파일 보기 프로젝트 열기: joeriedel/DarkForcesUnity 1 사용 예제들

공개 메소드들

메소드 설명
SfzInstrument ( string Instrumentfile, int sampleRate, InstrumentBank bank ) : System
allSamplesSupportDualChannel ( ) : bool
enforceSampleRate ( int sampleRate ) : void
getAttack ( int note ) : int
getDecay ( int note ) : int
getHold ( int note ) : int
getRelease ( int note ) : int
getSampleAtTime ( int note, int channel, int synthSampleRate, double &time ) : float

비공개 메소드들

메소드 설명
CreateKeyMap ( ) : void
ParseInstrumentData ( string text, string InstrumentPath, InstrumentBank bank ) : void
ReadFromStream ( Stream InstrumentStream, string path, InstrumentBank bank ) : void

메소드 상세

SfzInstrument() 공개 메소드

public SfzInstrument ( string Instrumentfile, int sampleRate, InstrumentBank bank ) : System
Instrumentfile string
sampleRate int
bank InstrumentBank
리턴 System

allSamplesSupportDualChannel() 공개 메소드

public allSamplesSupportDualChannel ( ) : bool
리턴 bool

enforceSampleRate() 공개 메소드

public enforceSampleRate ( int sampleRate ) : void
sampleRate int
리턴 void

getAttack() 공개 메소드

public getAttack ( int note ) : int
note int
리턴 int

getDecay() 공개 메소드

public getDecay ( int note ) : int
note int
리턴 int

getHold() 공개 메소드

public getHold ( int note ) : int
note int
리턴 int

getRelease() 공개 메소드

public getRelease ( int note ) : int
note int
리턴 int

getSampleAtTime() 공개 메소드

public getSampleAtTime ( int note, int channel, int synthSampleRate, double &time ) : float
note int
channel int
synthSampleRate int
time double
리턴 float