This commit is contained in:
Felix Roos 2025-06-12 10:22:35 +02:00
parent 30f7127a92
commit 8363ba5a41
No known key found for this signature in database

View file

@ -90,7 +90,7 @@ const dough = new Dough(sampleRate);
console.log('spawn voices...');
haps.forEach((hap) => {
hap.value._begin = Number(hap.whole.begin);
hap.value._duration = hap.duration/* / cps */;
hap.value._duration = hap.duration /* / cps */;
dough.scheduleSpawn(hap.value);
});
console.log(`render ${seconds}s long buffer, each dot is 1 second:`);