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