From befd3be65ba06f88fe2239425178849c3b16b610 Mon Sep 17 00:00:00 2001 From: Darell Chua Yun Da Date: Thu, 2 Dec 2021 14:34:01 +0800 Subject: [PATCH] Update README.md Update to Readme --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c0ddb9d..e2a7772 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,13 @@ function x = generate_wave(amplitude, frequency, phase, fs, duration, duty) fuction x = envelope(input, fs, period, attack , decay, sustain, release) -where attack, decay, sustain release are percentages between 0 to 1 of the period -where period is the time in seconds +where attack, decay, release are percentages between 0 to 1 of the period +sustain is the percentage of the amplitude it should sustain for +**envelope can be pitch or amplitude envelope** function output_timedomain = Filter(input_soundin_timedomain, Fs, LOW, MED, HIGH) -where LOW, MED, HIGH are user-selected variables of any value. **try to make an envelope for the filter as well** +where LOW, MED, HIGH are user-selected variables of any value. +**output should be in time domain for all functions (new sound)** ## Useful websites