implemented generate_lullaby,

fixed DarellAnnePitchEnvelope printing statement
This commit is contained in:
Arthur Lu committed 2021-12-12 21:27:41 -08:00
1 parent 9b9e8852de
commit d1707c95a4
3 files changed
-1

No files matched your search

BIN
View File
Binary file not shown.
File renamed without changes.
@@ -42,7 +42,6 @@ function output = DarellAnnePitchEnvelope(input, Fs, attack,decay,sustain,releas
while tcounter <= curr
ncount = round(sustain*curr*(1-log(tcounter)/log(prevcur)) + prevcur);
tcounter = round(tcounter);
output(tcounter)
output(tcounter) = input(ncount);
tcounter = tcounter+1;
end