# "Sound Stops After Repeating Last Pattern: Consistent Console Error Message"

**URL:** <https://forum.cabbageaudio.com/t/sound-stops-after-repeating-last-pattern-consistent-console-error-message/4486>\
**Category:** Csound Noobs\
**Created:** [2 September 2024 07:32 UTC](https://forum.cabbageaudio.com/t/sound-stops-after-repeating-last-pattern-consistent-console-error-message/4486 "2024-09-02T07:32:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dongs14](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/dongs14/32/5681_2.png) [@dongs14](https://forum.cabbageaudio.com/u/dongs14)\
**Post date:** [2 September 2024 07:32 UTC](https://forum.cabbageaudio.com/t/sound-stops-after-repeating-last-pattern-consistent-console-error-message/4486/1 "2024-09-02T07:32:54Z")

</div>

I’m encountering an issue with my code that includes 4 bass patterns. After the last pattern is played about three times, the sound always stops at the same point, and a similar message is displayed in the console each time. The composition itself is quite straightforward, and I can’t identify any significant differences in the part where the problem occurs.

Does anyone know why this might be happening, especially since the issue consistently occurs at the same place?

I’ll attach my code and the console message below.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [2 September 2024 07:33 UTC](https://forum.cabbageaudio.com/t/sound-stops-after-repeating-last-pattern-consistent-console-error-message/4486/2 "2024-09-02T07:33:38Z")

</div>

Hi @dongs14, can you post your code?
