@libraz/libsonare 1.4.0 → 1.4.1
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/dist/index.js +34 -18
- package/dist/index.js.map +1 -1
- package/dist/sonare-rt.wasm +0 -0
- package/dist/sonare.wasm +0 -0
- package/dist/worklet.d.ts +10 -2
- package/dist/worklet.js.map +1 -1
- package/package.json +1 -1
- package/src/effects_mastering.ts +16 -9
- package/src/feature_music.ts +13 -9
- package/src/project.ts +30 -6
- package/src/public_types.ts +4 -0
- package/src/quick_analysis.ts +18 -14
- package/src/realtime_voice_changer.ts +2 -1
- package/src/sonare.js.d.ts +2 -0
package/dist/sonare-rt.wasm
CHANGED
|
Binary file
|
package/dist/sonare.wasm
CHANGED
|
Binary file
|
package/dist/worklet.d.ts
CHANGED
|
@@ -224,6 +224,10 @@ interface MasteringOptions {
|
|
|
224
224
|
ceilingDb?: number;
|
|
225
225
|
/** Oversampling factor used for peak estimation. Default 4. */
|
|
226
226
|
truePeakOversample?: number;
|
|
227
|
+
/** Post true-peak limiter release in ms. Default 0 => library default (50 ms). */
|
|
228
|
+
releaseMs?: number;
|
|
229
|
+
/** Apply the static loudness gain at the input (pre-oversample) rate. Default false. */
|
|
230
|
+
applyGainAtInputRate?: boolean;
|
|
227
231
|
}
|
|
228
232
|
/** Options for `noteStretch`. All fields are optional. */
|
|
229
233
|
interface NoteStretchOptions {
|
|
@@ -4111,8 +4115,12 @@ declare class Project {
|
|
|
4111
4115
|
setClipTakes(clipId: number, takes: ReadonlyArray<ProjectClipTake>, activeTakeId?: number): void;
|
|
4112
4116
|
/** Replace a clip's comp segments (undoable). */
|
|
4113
4117
|
setClipCompSegments(clipId: number, segments: ReadonlyArray<ProjectClipCompSegment>): void;
|
|
4114
|
-
/**
|
|
4115
|
-
|
|
4118
|
+
/**
|
|
4119
|
+
* Set a clip's loop mode + loop length in PPQ (undoable). `loopCrossfadePpq`
|
|
4120
|
+
* is an optional equal-power crossfade at the loop seam (PPQ, finite and >= 0;
|
|
4121
|
+
* 0 = hard loop); the engine clamps it to the clip's pre-roll and half the loop.
|
|
4122
|
+
*/
|
|
4123
|
+
setClipLoop(clipId: number, loopMode: ProjectLoopMode, loopLengthPpq?: number, loopCrossfadePpq?: number): void;
|
|
4116
4124
|
/** Rebind a clip to a different (already-registered) source (undoable). */
|
|
4117
4125
|
setClipSource(clipId: number, sourceId: number): void;
|
|
4118
4126
|
/** Duplicate a clip at `newStartPpq` (same track); returns the new clip id. */
|