C# Class ADSRWavetableEnvelope, coderelay-audio

Inheritance: IWaveTableEnvelope
显示文件 Open project: FacepunchProgrammers/coderelay-audio

Public Methods

Method Description
ADSRWavetableEnvelope ( double attack, double decay, double sustainLevel, double release )
IsPlaying ( ) : bool
NoteOff ( ) : void
NoteOn ( ) : void
Sample ( ) : double

Method Details

ADSRWavetableEnvelope() public method

public ADSRWavetableEnvelope ( double attack, double decay, double sustainLevel, double release )
attack double
decay double
sustainLevel double
release double

IsPlaying() public method

public IsPlaying ( ) : bool
return bool

NoteOff() public method

public NoteOff ( ) : void
return void

NoteOn() public method

public NoteOn ( ) : void
return void

Sample() public method

public Sample ( ) : double
return double