# Time error with higher tempo. Some advices

**URL:** <https://in-thread.sonic-pi.net/t/time-error-with-higher-tempo-some-advices/4144>\
**Category:** Support, Help & Resources\
**Created:** [July 1, 2020, 8:47am UTC](https://in-thread.sonic-pi.net/t/time-error-with-higher-tempo-some-advices/4144 "2020-07-01T08:47:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ethancrawford](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@ethancrawford](https://in-thread.sonic-pi.net/u/ethancrawford)\
**Post date:** [July 1, 2020, 9:27am UTC](https://in-thread.sonic-pi.net/t/time-error-with-higher-tempo-some-advices/4144/2 "2020-07-01T09:27:37Z")

</div>

> [@nlb](#):
>
> ```ruby
> define :drums_sn_play do
> with_fx :reverb do
> sample drums_sn, start: 0.25, finish: 0.5, amp: 3
> end
> end
> 
> ```

Most likely this function.  
In your `:sequencer` live\_loop, you play several samples, sleep for 0.25, and repeat.  
However, your `:drums_sn_play` function wraps a sample in a `:reverb` fx.  
Reverb is one of the sorts of fx that need to be used carefully, as they can quickly use up system resources if too many are triggered at once. Here, the `:drums_sn_play` is being called fairly frequently, with very little time in between for each reverb to terminate. The result is that the stacking up of the reverb fx would cause the system to struggle to keep up.

---

_[View the full topic](https://in-thread.sonic-pi.net/t/time-error-with-higher-tempo-some-advices/4144)._
