| 258 | } |
| 259 | |
| 260 | MYFLT DCBlock_tick(DCBlock* p, MYFLT sample) |
| 261 | { |
| 262 | p->outputs = sample - p->inputs + FL(0.99) * p->outputs; |
| 263 | p->inputs = sample; |
| 264 | return p->outputs; |
| 265 | } |
| 266 | |
| 267 | /*******************************************/ |
| 268 | /* ADSR Subclass of the Envelope Class, */ |