pixi-effects 0.47.4 → 0.47.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/README.md +5 -5
- package/ai/chat-template.html +3 -3
- package/dist/Composition-PMWLJQPI.cjs +16 -0
- package/dist/{Composition-ZYRDRLYB.cjs.map → Composition-PMWLJQPI.cjs.map} +1 -1
- package/dist/Composition-ZCRJHBB5.js +7 -0
- package/dist/{Composition-HTHQ2RLF.js.map → Composition-ZCRJHBB5.js.map} +1 -1
- package/dist/Controller.d.cts +1 -1
- package/dist/Controller.d.ts +1 -1
- package/dist/{Movie-sV8nJr_f.d.ts → Movie--qSYKgAQ.d.ts} +2 -2
- package/dist/{Movie-BqrAWN0g.d.cts → Movie-svZQF-9Z.d.cts} +2 -2
- package/dist/{Spans-JYCTJV4V.js → Spans-FMAVPATS.js} +4 -4
- package/dist/{Spans-JYCTJV4V.js.map → Spans-FMAVPATS.js.map} +1 -1
- package/dist/{Spans-I7P7ZVZO.cjs → Spans-KTUPDFSR.cjs} +9 -9
- package/dist/{Spans-I7P7ZVZO.cjs.map → Spans-KTUPDFSR.cjs.map} +1 -1
- package/dist/{chunk-AES2L75M.cjs → chunk-2AT5WSSV.cjs} +58 -45
- package/dist/chunk-2AT5WSSV.cjs.map +1 -0
- package/dist/{chunk-34YNRCMT.js → chunk-4PYVHLIK.js} +20 -5
- package/dist/chunk-4PYVHLIK.js.map +1 -0
- package/dist/{chunk-CJS2S5XU.cjs → chunk-ECLBZV4N.cjs} +20 -5
- package/dist/chunk-ECLBZV4N.cjs.map +1 -0
- package/dist/{chunk-NCM2WU7R.js → chunk-LHUIEFMH.js} +17 -4
- package/dist/chunk-LHUIEFMH.js.map +1 -0
- package/dist/{chunk-DS2EWRV4.cjs → chunk-OGLRSR6C.cjs} +63 -63
- package/dist/{chunk-DS2EWRV4.cjs.map → chunk-OGLRSR6C.cjs.map} +1 -1
- package/dist/{chunk-RTZ5MW3E.js → chunk-UI7CEUTP.js} +3 -3
- package/dist/{chunk-RTZ5MW3E.js.map → chunk-UI7CEUTP.js.map} +1 -1
- package/dist/index.cjs +33 -33
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/loader.css +1 -1
- package/dist/present.cjs +3 -3
- package/dist/present.d.cts +1 -1
- package/dist/present.d.ts +1 -1
- package/dist/present.js +3 -3
- package/dist/three.cjs +5 -5
- package/dist/three.js +1 -1
- package/docs/api.md +2 -2
- package/docs/dsl.md +7 -7
- package/llms-full.txt +11 -11
- package/package.json +1 -1
- package/skills/pixi-effects/SKILL.md +1 -1
- package/skills/pixi-effects/reference/pitfalls.md +1 -1
- package/skills/pixi-effects/template.html +6 -6
- package/dist/Composition-HTHQ2RLF.js +0 -7
- package/dist/Composition-ZYRDRLYB.cjs +0 -16
- package/dist/chunk-34YNRCMT.js.map +0 -1
- package/dist/chunk-AES2L75M.cjs.map +0 -1
- package/dist/chunk-CJS2S5XU.cjs.map +0 -1
- package/dist/chunk-NCM2WU7R.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CompositionSequence, maskSourceOf } from './chunk-
|
|
2
|
-
import { EXPRESSION_NAMES, createTimeline, lengthen, ensureFilterLibrary, checkEase, parseEase, homeDistance, DEFAULT_FOV, random, noise, flattenSvgPath, trimPolylines, rand, DEG, timeRemapOf, contentLength, resolveAt, parseSpring, springDuration, spansMeta } from './chunk-
|
|
1
|
+
import { CompositionSequence, maskSourceOf } from './chunk-UI7CEUTP.js';
|
|
2
|
+
import { EXPRESSION_NAMES, createTimeline, lengthen, ensureFilterLibrary, checkEase, parseEase, homeDistance, DEFAULT_FOV, random, noise, flattenSvgPath, trimPolylines, rand, DEG, timeRemapOf, contentLength, resolveAt, parseSpring, springDuration, spansMeta } from './chunk-4PYVHLIK.js';
|
|
3
3
|
import { analyzeAudio, fft, resampleThrough, playSpan, measureLoudness } from './chunk-G4PXCV2B.js';
|
|
4
4
|
import { usesAdvancedBlend, enableAdvancedBlend } from './chunk-JBDBICS2.js';
|
|
5
5
|
import { describeLayer } from './chunk-BFRWSV3R.js';
|
|
@@ -248,6 +248,19 @@ async function normalizeMix(buffer, target, between) {
|
|
|
248
248
|
gainDb = next;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
+
if (original && final.integratedLufs !== null && m.integratedLufs !== null) {
|
|
252
|
+
const plainDb = Math.min(target - m.integratedLufs, LOUDNESS_CEILING_DB - m.samplePeakDb);
|
|
253
|
+
if (final.integratedLufs < m.integratedLufs + plainDb - 0.1) {
|
|
254
|
+
const k = 10 ** (plainDb / 20);
|
|
255
|
+
for (let ch = 0; ch < chans.length; ch++) {
|
|
256
|
+
const o = original[ch], d = chans[ch];
|
|
257
|
+
for (let i = 0; i < d.length; i++) d[i] = o[i] * k;
|
|
258
|
+
}
|
|
259
|
+
gainDb = plainDb;
|
|
260
|
+
applied = { reductionDb: 0, at: 0 };
|
|
261
|
+
final = measureLoudness(chans, sr);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
251
264
|
let trimDb = 0;
|
|
252
265
|
if (final.truePeakDb > LOUDNESS_CEILING_DB) {
|
|
253
266
|
trimDb = final.truePeakDb - LOUDNESS_CEILING_DB + 0.01;
|
|
@@ -5000,5 +5013,5 @@ function withFade(spec, opts) {
|
|
|
5000
5013
|
}
|
|
5001
5014
|
|
|
5002
5015
|
export { Movie, animateText, audioEnvelope, bpmEnvelope, cameraPath, computeEnvelope, dismissLoader, failLoader, followPath, kenBurns, measureText, musicBuffer, musicEnvelope, musicEvents, orbit, parseEase2 as parseEase, particles, react, resolveLoader, samplePath, splitText, stagger, wiggle, withFade };
|
|
5003
|
-
//# sourceMappingURL=chunk-
|
|
5004
|
-
//# sourceMappingURL=chunk-
|
|
5016
|
+
//# sourceMappingURL=chunk-LHUIEFMH.js.map
|
|
5017
|
+
//# sourceMappingURL=chunk-LHUIEFMH.js.map
|