Created a Pitch Envelope
App updated to work with pitch envelope. Works with Harmonic Offset. Added Equalizer GUI elements. Still does not work with LFO and does not work with Equalizer.
This commit is contained in:
@@ -13,7 +13,7 @@ x = x + generate_sine(amplitude, (frequency+5), phase, fs, duration, duty);
|
||||
|
||||
%play over 5 counts, should hear both frequencies, 5 beats per second between the 2 frequencies
|
||||
playtime = 5;
|
||||
play_continuous(x, fs, playtime)
|
||||
%play_continuous(x, fs, playtime)
|
||||
|
||||
LOW = 0;
|
||||
HIGH = frequency + 1;
|
||||
@@ -22,7 +22,14 @@ x = DarellbandpassFilter(x,fs,LOW,MED,HIGH);
|
||||
|
||||
%play over 5 counts, should only hear 200hz
|
||||
playtime = 5;
|
||||
play_continuous(x, fs, playtime)
|
||||
%play_continuous(x, fs, playtime)
|
||||
|
||||
attack = 0.2;
|
||||
decay = 0.1;
|
||||
sustain = 0.8;
|
||||
release = 0.4;
|
||||
|
||||
x = DarellAnnePitchEnvelope(x, Fs, attack,decay,sustain,release);
|
||||
|
||||
attack = 0.2;
|
||||
decay = 0.2;
|
||||
|
Reference in New Issue
Block a user