Merge branch 'main' into DarellsAnnex
This commit is contained in:
commit
eb6b9aaaa8
19
README.md
19
README.md
@ -1,4 +1,10 @@
|
|||||||
# ece45-project
|
# ECE45-project
|
||||||
|
|
||||||
|
Audio synthesizer project created by ECE 45 students, written using the MATLAB language and MATLAB GUI
|
||||||
|
|
||||||
|
Will add member names shortly
|
||||||
|
|
||||||
|
## Function Prototypes
|
||||||
|
|
||||||
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
|
||||||
@ -6,6 +12,15 @@ where period is the time in seconds
|
|||||||
|
|
||||||
function x = generate_wave(amplitude, frequency, phase, fs, duration, duty)
|
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
|
||||||
|
|
||||||
|
## Useful websites
|
||||||
|
|
||||||
|
- https://learningsynths.ableton.com
|
||||||
|
- https://learningsynths.ableton.com/en/playground
|
||||||
|
- https://blog.demofox.org/diy-synthesizer/
|
||||||
|
- http://portaudio.com/
|
||||||
|
- https://ccrma.stanford.edu/software/stk/
|
||||||
|
- https://cycling74.com/products/max
|
||||||
|
- http://msp.ucsd.edu/software.html
|
@ -1,4 +1,4 @@
|
|||||||
function x = generate_sine(amplitude, frequency, phase, fs, duration)
|
function x = generate_sine(amplitude, frequency, phase, fs, duration, duty)
|
||||||
%GENERATE_SINE:Arthur Lu returns a matrix of sampled sine wave, where the
|
%GENERATE_SINE:Arthur Lu returns a matrix of sampled sine wave, where the
|
||||||
%phase shift is in number of periods
|
%phase shift is in number of periods
|
||||||
x = zeros(1, fs * duration);
|
x = zeros(1, fs * duration);
|
||||||
|
Reference in New Issue
Block a user