renderizando projetos com sample tracks. basslines ok
This commit is contained in:
1 parent
43a9aff447
commit
f45f07a632
1 file changed
+6
@@ -1213,6 +1213,12 @@ async function applySampleTracksToXmlAndZip(xmlDoc, zip) {
|
||||
|
||||
const offsetSec = clip.offset || 0;
|
||||
|
||||
// ✅ ADICIONE ISSO
|
||||
const needsOffset = Math.abs(offsetSec) > 1e-6;
|
||||
const needsBake =
|
||||
Math.abs((vol ?? 1) - 1) > 1e-6 ||
|
||||
Math.abs((pan ?? 0) - 0) > 1e-6;
|
||||
|
||||
// -----------------------------------------
|
||||
// ✅ OTIMIZAÇÃO 2: sem offset + sem bake mix
|
||||
// -> usa arquivo original no zip (sem decode/encode)
|
||||
|
||||
Reference in new issue
Block a user