Audio overlap loop: Difference between revisions

Content added Content deleted
Line 76: Line 76:


=={{header|Julia}}==
=={{header|Julia}}==
Uses Julia's ability to run iterations of a 4 loop in separate threads to play a file 4 times, with each play 0.1 seconds out of sync with the previous play. Requires 4 available threads on the CPU at Julia startup.
Uses Julia's ability to run iterations of a 4 loop in separate threads to play a file 4 times, with each play 0.1 seconds out of sync with the previous play. Requires available threads on the CPU at Julia startup.
<lang julia>const soundfile = "loop.wav"
<lang julia>const soundfile = "loop.wav"