Audio overlap loop

From Rosetta Code
Revision as of 00:02, 26 July 2011 by Star651 (talk | contribs) (submitting another program source code)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Audio Overlap Loop is a program that sets a file (in these code examples, the file is called loop.wav) to a manipulation level. The manipulation level is set to a certain number, and that is the number of times the file loops. In this program, the files overlappingly loop, so it sounds like multiple, overlapping copies of the same file, all going at once.

JavaScript/HTML

<script> for(i=0, j=prompt("Enter the sound manipulation level you want", ""); i<j; i++){ document.write("<bgsound src='loop.wav'>")} </script>