Unified · Split
| @@ -389,7 +389,6 @@ static void dattorroreverb_init (tDattorroReverb* const rev) · 388 unmodified lines | |||
| 389 | 389 | ||
| 390 | r->size_max = 2.0f; | 390 | r->size_max = 2.0f; |
| 391 | r->size = 1.f; | 391 | r->size = 1.f; |
| 392 | r->t = r->size * leaf.sampleRate * 0.001f; | ||
| 393 | r->frozen = 0; | 392 | r->frozen = 0; |
| 394 | // INPUT | 393 | // INPUT |
| 395 | for (int i = 0; i < 4; i++) | 394 | for (int i = 0; i < 4; i++) |
| @@ -417,6 +416,7 @@ void tDattorroReverb_init (tDattorroReverb* const rev) · 21 unmodified lines | |||
| 417 | { | 416 | { |
| 418 | _tDattorroReverb* r = *rev = (_tDattorroReverb*) leaf_alloc(sizeof(_tDattorroReverb)); | 417 | _tDattorroReverb* r = *rev = (_tDattorroReverb*) leaf_alloc(sizeof(_tDattorroReverb)); |
| 419 | float size_max = 2.0f; | 418 | float size_max = 2.0f; |
| 419 | r->t = r->size * leaf.sampleRate * 0.001f; | ||
| 420 | // INPUT | 420 | // INPUT |
| 421 | tTapeDelay_init(&r->in_delay, 0.f, SAMP(200.f)); | 421 | tTapeDelay_init(&r->in_delay, 0.f, SAMP(200.f)); |
| 422 | tOnePole_init(&r->in_filter, 1.f); | 422 | tOnePole_init(&r->in_filter, 1.f); |
| @@ -502,6 +502,7 @@ void tDattorroReverb_initToPool (tDattorroReverb* const rev, tMempool* · 79 unmodified lines | |||
| 502 | _tMempool* m = *mp; | 502 | _tMempool* m = *mp; |
| 503 | _tDattorroReverb* r = *rev = (_tDattorroReverb*) mpool_alloc(sizeof(_tDattorroReverb), &m->pool); | 503 | _tDattorroReverb* r = *rev = (_tDattorroReverb*) mpool_alloc(sizeof(_tDattorroReverb), &m->pool); |
| 504 | float size_max = 2.0f; | 504 | float size_max = 2.0f; |
| 505 | r->t = r->size * leaf.sampleRate * 0.001f; | ||
| 505 | // INPUT | 506 | // INPUT |
| 506 | tTapeDelay_initToPool(&r->in_delay, 0.f, SAMP(200.f), mp); | 507 | tTapeDelay_initToPool(&r->in_delay, 0.f, SAMP(200.f), mp); |
| 507 | tOnePole_initToPool(&r->in_filter, 1.f, mp); | 508 | tOnePole_initToPool(&r->in_filter, 1.f, mp); |