Unified · Split
| @@ -121,12 +121,12 @@ float LEAF_shaper(float input, float m_drive) · 120 unmodified lines | |||
| 121 | 121 | ||
| 122 | // reduce sample resolution | 122 | // reduce sample resolution |
| 123 | float hold = 0.f; | 123 | float hold = 0.f; |
| 124 | int count = 0; | 124 | int reduct_count = 0; |
| 125 | 125 | ||
| 126 | float LEAF_reduct (float input, int st) | 126 | float LEAF_reduct (float input, int st) |
| 127 | { | 127 | { |
| 128 | count++; | 128 | reduct_count++; |
| 129 | if (count > st) | 129 | if (reduct_count > st) |
| 130 | { | 130 | { |
| 131 | hold = input; | 131 | hold = input; |
| 132 | count = 0; | 132 | count = 0; |