diff options
author | Florian Jung <flo@thinkpad.(none)> | 2011-01-16 18:18:39 +0100 |
---|---|---|
committer | Florian Jung <flo@thinkpad.(none)> | 2011-01-16 18:30:53 +0100 |
commit | 12f20783b7ec8804825282fd04d9333ec83e31eb (patch) | |
tree | aae39218ace9c7c12c14cf1246cd2485bf1323f1 /synth/envelope.cpp | |
parent | 527e7400f227703b9f0932b685f2bf7f2c2c005b (diff) |
Added waveforms and noise, changed foo++ into ++foo
List of waveforms:
0=sin
1=abssin
2=half_sin
3=pulse-sin
4=square
5=sawtooth
6=pyramid
7=white noise
Diffstat (limited to 'synth/envelope.cpp')
-rw-r--r-- | synth/envelope.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synth/envelope.cpp b/synth/envelope.cpp index a6e79e0..13b1044 100644 --- a/synth/envelope.cpp +++ b/synth/envelope.cpp @@ -160,6 +160,6 @@ fixed_t Envelope::get_level() //must be called each frame break; } - t++; + ++t; return level; } |