|
1 | | -import('./tests/main.js'); |
2 | | -import('./tests/p5.Helpers.js'); |
3 | | -import('./tests/p5.PeakDetect.js'); |
4 | | -import('./tests/p5.OnsetDetect.js'); |
5 | | -import('./tests/p5.Distortion.js'); |
6 | | -import('./tests/p5.AudioContext.js'); |
7 | | -import('./tests/p5.Looper.js'); |
8 | | -import('./tests/p5.Metro.js'); |
9 | | -import('./tests/p5.Effect.js'); |
10 | | -import('./tests/p5.Filter.js'); |
11 | | -import('./tests/p5.Gain.js'); |
12 | | -import('./tests/p5.FFT.js'); |
13 | | -import('./tests/p5.SoundLoop.js'); |
14 | | -import('./tests/p5.Compressor.js'); |
15 | | -import('./tests/p5.EQ.js'); |
16 | | -import('./tests/p5.AudioIn.js'); |
17 | | -import('./tests/p5.AudioVoice.js'); |
18 | | -import('./tests/p5.MonoSynth.js'); |
19 | | -import('./tests/p5.PolySynth.js'); |
20 | | -import('./tests/p5.SoundRecorder.js'); |
21 | | -import('./tests/p5.SoundFile.js'); |
22 | | -import('./tests/p5.Amplitude.js'); |
23 | | -import('./tests/p5.Oscillator.js'); |
24 | | -import('./tests/p5.Envelope.js'); |
25 | | -import('./tests/p5.Pulse.js'); |
26 | | -import('./tests/p5.Noise.js'); |
27 | | -import('./tests/p5.Panner.js'); |
28 | | -import('./tests/p5.Panner3d.js'); |
29 | | -import('./tests/p5.Delay.js'); |
30 | | -import('./tests/p5.Reverb.js'); |
31 | | -import('./tests/p5.Listener3d.js'); |
| 1 | +let spec = [ |
| 2 | + './tests/main.js', |
| 3 | + './tests/p5.Helpers.js', |
| 4 | + './tests/p5.PeakDetect.js', |
| 5 | + './tests/p5.OnsetDetect.js', |
| 6 | + './tests/p5.Distortion.js', |
| 7 | + './tests/p5.AudioContext.js', |
| 8 | + './tests/p5.Looper.js', |
| 9 | + './tests/p5.Metro.js', |
| 10 | + './tests/p5.Effect.js', |
| 11 | + './tests/p5.Filter.js', |
| 12 | + './tests/p5.Gain.js', |
| 13 | + './tests/p5.FFT.js', |
| 14 | + './tests/p5.SoundLoop.js', |
| 15 | + './tests/p5.Compressor.js', |
| 16 | + './tests/p5.EQ.js', |
| 17 | + './tests/p5.AudioIn.js', |
| 18 | + './tests/p5.AudioVoice.js', |
| 19 | + './tests/p5.MonoSynth.js', |
| 20 | + './tests/p5.PolySynth.js', |
| 21 | + './tests/p5.SoundRecorder.js', |
| 22 | + './tests/p5.SoundFile.js', |
| 23 | + './tests/p5.Amplitude.js', |
| 24 | + './tests/p5.Oscillator.js', |
| 25 | + './tests/p5.Envelope.js', |
| 26 | + './tests/p5.Pulse.js', |
| 27 | + './tests/p5.Noise.js', |
| 28 | + './tests/p5.Panner.js', |
| 29 | + './tests/p5.Panner3d.js', |
| 30 | + './tests/p5.Delay.js', |
| 31 | + './tests/p5.Reverb.js', |
| 32 | + './tests/p5.Listener3d.js', |
| 33 | +]; |
| 34 | + |
| 35 | +spec.map((file) => { |
| 36 | + var string = ['<script src="./', file, '" type="text/javascript" ></script>']; |
| 37 | + document.write(string.join('')); |
| 38 | +}); |
0 commit comments