# Playing +6 Audio Files Simultaneously, Without Delay or Lag

**URL:** <https://discourse.processing.org/t/playing-6-audio-files-simultaneously-without-delay-or-lag/25034>\
**Category:** Libraries\
**Created:** [October 29, 2020, 11:06pm UTC](https://discourse.processing.org/t/playing-6-audio-files-simultaneously-without-delay-or-lag/25034 "2020-10-29T23:06:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![SomeOne](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/someone/32/8639_2.png) [@SomeOne](https://discourse.processing.org/u/SomeOne)\
**Post date:** [October 30, 2020, 5:22am UTC](https://discourse.processing.org/t/playing-6-audio-files-simultaneously-without-delay-or-lag/25034/2 "2020-10-30T05:22:19Z")

</div>

> [@Optimizing for a CPU-Intensive Music Visualizer](https://discourse.processing.org/t/optimizing-for-a-cpu-intensive-music-visualizer/22358/5):
>
> That’s fine. Setup should be used to load files, because it may take a lot of time. Draw() cycle starts after that prep works has been done. So to get the audio in sync load files in setup. Do all the time consuming stuff there start audio in draw(). Then they’ll start at more or less same time. You can stop looping of draw()-function with [noLoop()](https://processing.org/reference/noLoop_.html)

---

_[View the full topic](https://discourse.processing.org/t/playing-6-audio-files-simultaneously-without-delay-or-lag/25034)._
