xxxxxxxxxx
15
async function setup() {
lp = await lpLoad();
timeOutScale = 10;
const code = () => {
lp.onSomething().play([lp.lowPitch,lp.softLevel,lp.soon,lp.midDuration]);
lp.onSomething().play([lp.midPitch,lp.midLevel,lp.soon,lp.midDuration]);
lp.onSomething().play([lp.hiPitch,lp.softLevel,lp.now,lp.midDuration]);
setTimeout(code, lp.soon()*timeOutScale);
timeOutScale = timeOutScale + 0.02;
};
code();
}