@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.
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
- /** Set a clip's loop mode + loop length in PPQ (undoable). */
4115
- setClipLoop(clipId: number, loopMode: ProjectLoopMode, loopLengthPpq?: number): void;
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. */