C# 클래스 NAudio.Dsp.EnvelopeGenerator

Envelope generator (ADSR)
파일 보기 프로젝트 열기: jishi/Jishi.StreamToSonos 1 사용 예제들

공개 메소드들

메소드 설명
EnvelopeGenerator ( ) : System

Creates and Initializes an Envelope Generator

Gate ( bool gate ) : void

Trigger the gate

GetOutput ( ) : float

Get the current output level

Process ( ) : float

Read the next volume multiplier from the envelope generator

Reset ( ) : void

Reset to idle state

비공개 메소드들

메소드 설명
CalcCoef ( float rate, float targetRatio ) : float
SetTargetRatioA ( float targetRatio ) : void
SetTargetRatioDR ( float targetRatio ) : void

메소드 상세

EnvelopeGenerator() 공개 메소드

Creates and Initializes an Envelope Generator
public EnvelopeGenerator ( ) : System
리턴 System

Gate() 공개 메소드

Trigger the gate
public Gate ( bool gate ) : void
gate bool If true, enter attack phase, if false enter release phase (unless already idle)
리턴 void

GetOutput() 공개 메소드

Get the current output level
public GetOutput ( ) : float
리턴 float

Process() 공개 메소드

Read the next volume multiplier from the envelope generator
public Process ( ) : float
리턴 float

Reset() 공개 메소드

Reset to idle state
public Reset ( ) : void
리턴 void