implemented generate_lullaby,

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

BIN
app.mlapp

Binary file not shown.

View File

@ -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