Skip to content

Commit

Permalink
Improve as impulse #64
Browse files Browse the repository at this point in the history
  • Loading branch information
timowest committed Aug 27, 2013
1 parent 433317f commit 3a41e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsp/oscillator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ void AS::square(float* output, float* out_sync, int samples) {
void AS::impulse(float* output, float* out_sync, int samples) {
float inc = freq / sample_rate;
float p = phase;
int max = 40.0f * wt;
int max = 20.0f * wt;

// first
for (uint i = 0; i < samples; i++) {
Expand Down

0 comments on commit 3a41e95

Please sign in to comment.