Update README.md

This commit is contained in:
Arthur Lu 2021-12-01 16:10:19 -08:00 committed by GitHub
parent 63d6882bdc
commit c550b0d28e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,14 +6,14 @@
## Function Prototypes ## Function Prototypes
function x = generate_wave(amplitude, frequency, phase, fs, duration, duty)
fuction x = envelope(input, fs, period, attack , decay, sustain, release) 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 attack, decay, sustain release are percentages between 0 to 1 of the period
where period is the time in seconds where period is the time in seconds
function x = generate_wave(amplitude, frequency, phase, fs, duration, duty)
function output_timedomain = Filter(input_soundin_timedomain, Fs, LOW, MED, HIGH) function output_timedomain = Filter(input_soundin_timedomain, Fs, LOW, MED, HIGH)
where LOW, MED, HIGH are user-selected variables of any value where LOW, MED, HIGH are user-selected variables of any value. **try to make an envelope for the filter as well**
## Useful websites ## Useful websites