From 4ab9e594d2473fb8488b03d80d345fdc271990d5 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Thu, 20 Jun 2019 11:54:23 +0200 Subject: [PATCH] implemented getters and setters --- web/js/voice/JavascriptRecorder.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/web/js/voice/JavascriptRecorder.ts b/web/js/voice/JavascriptRecorder.ts index 7af766f1..6fb20058 100644 --- a/web/js/voice/JavascriptRecorder.ts +++ b/web/js/voice/JavascriptRecorder.ts @@ -136,6 +136,24 @@ namespace audio { this._margin_frames = value; } + get_attack_smooth(): number { + return this._smooth_attack; + } + + get_release_smooth(): number { + return this._smooth_release; + } + + set_attack_smooth(value: number) { + this._smooth_attack = value; + } + + set_release_smooth(value: number) { + this._smooth_release = value; + } + + + get_threshold(): number { return this._threshold; }