renderizando projetos com sample tracks. basslines ok
Deploy / Deploy (push) Successful in 2m13s
Details
Deploy / Deploy (push) Successful in 2m13s
Details
This commit is contained in:
parent
86900c9a12
commit
a3817ba581
|
|
@ -1213,6 +1213,12 @@ async function applySampleTracksToXmlAndZip(xmlDoc, zip) {
|
||||||
|
|
||||||
const offsetSec = clip.offset || 0;
|
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
|
// ✅ OTIMIZAÇÃO 2: sem offset + sem bake mix
|
||||||
// -> usa arquivo original no zip (sem decode/encode)
|
// -> usa arquivo original no zip (sem decode/encode)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue