@libraz/libsonare 1.5.0 → 1.5.2
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/README.md +1 -1
- package/dist/index.d.ts +108 -55
- package/dist/index.js +162 -27
- package/dist/index.js.map +1 -1
- package/dist/sonare.js +2 -2
- package/dist/sonare.wasm +0 -0
- package/dist/worklet.js +8 -1
- package/dist/worklet.js.map +1 -1
- package/package.json +1 -1
- package/src/clip_page_streamer.ts +63 -15
- package/src/effects_voice_change.ts +7 -7
- package/src/feature_music.ts +110 -2
- package/src/features.ts +2 -0
- package/src/index.ts +15 -0
- package/src/mastering_core.ts +10 -0
- package/src/mixer.ts +9 -1
- package/src/project_class.ts +17 -7
- package/src/project_internal.ts +1 -0
- package/src/public_types_music.ts +1 -0
- package/src/public_types_realtime.ts +39 -39
- package/src/sonare.js.d.ts +70 -38
- package/src/stream_analyzer.ts +8 -1
- package/src/stream_types.ts +8 -0
package/README.md
CHANGED
|
@@ -552,7 +552,7 @@ try {
|
|
|
552
552
|
}
|
|
553
553
|
|
|
554
554
|
// Whole-buffer convenience wrapper (constructs/prepares/disposes internally).
|
|
555
|
-
const processed = voiceChangeRealtime(samples,
|
|
555
|
+
const processed = voiceChangeRealtime(samples, 48000, 'deep-narrator');
|
|
556
556
|
```
|
|
557
557
|
|
|
558
558
|
For a simple offline pitch + formant shift without the full chain, use
|
package/dist/index.d.ts
CHANGED
|
@@ -538,6 +538,7 @@ interface KeyCandidate {
|
|
|
538
538
|
interface ChordDetectionOptions extends ValidateOptions {
|
|
539
539
|
minDuration?: number;
|
|
540
540
|
smoothingWindow?: number;
|
|
541
|
+
/** Final-template correlation threshold in [0, 1]; below it emits Unknown / N.C. */
|
|
541
542
|
threshold?: number;
|
|
542
543
|
useTriadsOnly?: boolean;
|
|
543
544
|
nFft?: number;
|
|
@@ -824,49 +825,49 @@ interface RealtimeVoiceChangerPreset {
|
|
|
824
825
|
}
|
|
825
826
|
type RealtimeVoiceChangerConfigInput = VoicePresetId | RealtimeVoiceChangerPreset;
|
|
826
827
|
/**
|
|
827
|
-
* Flat (POD) realtime voice-changer configuration.
|
|
828
|
-
*
|
|
829
|
-
*
|
|
828
|
+
* Flat (POD) realtime voice-changer configuration. Keys are camelCase to match
|
|
829
|
+
* the Node addon getter, so a preset config reads identically across both JS
|
|
830
|
+
* surfaces (the underlying C ABI / Python POD uses the snake_case equivalents).
|
|
830
831
|
*/
|
|
831
832
|
interface RealtimeVoiceChangerPodConfig {
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
833
|
+
inputGainDb: number;
|
|
834
|
+
outputGainDb: number;
|
|
835
|
+
wetMix: number;
|
|
836
|
+
retuneSemitones: number;
|
|
837
|
+
retuneMix: number;
|
|
838
|
+
retuneGrainSize: number;
|
|
839
|
+
formantFactor: number;
|
|
840
|
+
formantAmount: number;
|
|
841
|
+
formantBody: number;
|
|
842
|
+
formantBrightness: number;
|
|
843
|
+
formantNasal: number;
|
|
844
|
+
eqHighpassHz: number;
|
|
845
|
+
eqBodyDb: number;
|
|
846
|
+
eqPresenceDb: number;
|
|
847
|
+
eqAirDb: number;
|
|
848
|
+
gateThresholdDb: number;
|
|
849
|
+
gateAttackMs: number;
|
|
850
|
+
gateReleaseMs: number;
|
|
851
|
+
gateRangeDb: number;
|
|
852
|
+
compressorThresholdDb: number;
|
|
853
|
+
compressorRatio: number;
|
|
854
|
+
compressorAttackMs: number;
|
|
855
|
+
compressorReleaseMs: number;
|
|
856
|
+
compressorMakeupGainDb: number;
|
|
857
|
+
deesserFrequencyHz: number;
|
|
858
|
+
deesserThresholdDb: number;
|
|
859
|
+
deesserRatio: number;
|
|
860
|
+
deesserRangeDb: number;
|
|
861
|
+
reverbMix: number;
|
|
862
|
+
reverbTimeMs: number;
|
|
863
|
+
reverbDamping: number;
|
|
864
|
+
reverbSeed: number;
|
|
865
|
+
limiterCeilingDb: number;
|
|
866
|
+
limiterReleaseMs: number;
|
|
866
867
|
/** Non-zero enables the 4x-oversampled inter-sample-peak limiter (default enabled). */
|
|
867
|
-
|
|
868
|
+
limiterEnableIspLimiter: boolean;
|
|
868
869
|
/** True-peak ceiling in dBTP applied by the ISP limiter (default -1.0). */
|
|
869
|
-
|
|
870
|
+
limiterIspCeilingDbtp: number;
|
|
870
871
|
}
|
|
871
872
|
|
|
872
873
|
/** Options for `pitchCorrectTimevarying`. All fields are optional. */
|
|
@@ -1190,9 +1191,6 @@ interface VoiceChangeOptions extends ValidateOptions {
|
|
|
1190
1191
|
declare function voiceChange(samples: Float32Array, sampleRate?: number, options?: VoiceChangeOptions): Float32Array;
|
|
1191
1192
|
/** Options for the offline {@link voiceChangeRealtime} convenience wrapper. */
|
|
1192
1193
|
interface VoiceChangeRealtimeOptions extends ValidateOptions {
|
|
1193
|
-
sampleRate?: number;
|
|
1194
|
-
/** Voice-changer preset id or full config object. */
|
|
1195
|
-
preset?: RealtimeVoiceChangerConfigInput;
|
|
1196
1194
|
/** Channel count (1 = mono, 2 = interleaved stereo). */
|
|
1197
1195
|
channels?: 1 | 2;
|
|
1198
1196
|
/** Block size for the internal render loop (default 512). */
|
|
@@ -1206,9 +1204,13 @@ interface VoiceChangeRealtimeOptions extends ValidateOptions {
|
|
|
1206
1204
|
* and Node `voiceChangeRealtime` convenience wrappers. For mono, `samples` is a
|
|
1207
1205
|
* plain mono buffer; for stereo, `samples` is interleaved (L0,R0,L1,R1,...).
|
|
1208
1206
|
*
|
|
1207
|
+
* @param samples - Audio samples (mono, or interleaved stereo when channels=2)
|
|
1208
|
+
* @param sampleRate - Sample rate in Hz (default 48000, matching Python/Node)
|
|
1209
|
+
* @param preset - Voice-changer preset id or full config object
|
|
1210
|
+
* @param options - Channel count and block size ({@link VoiceChangeRealtimeOptions})
|
|
1209
1211
|
* @returns The processed buffer (same layout/length as the input).
|
|
1210
1212
|
*/
|
|
1211
|
-
declare function voiceChangeRealtime(samples: Float32Array, options?: VoiceChangeRealtimeOptions): Float32Array;
|
|
1213
|
+
declare function voiceChangeRealtime(samples: Float32Array, sampleRate?: number, preset?: RealtimeVoiceChangerConfigInput, options?: VoiceChangeRealtimeOptions): Float32Array;
|
|
1212
1214
|
|
|
1213
1215
|
/**
|
|
1214
1216
|
* Apply a configurable mastering chain in WASM.
|
|
@@ -1356,6 +1358,16 @@ interface MasteringProcessorCatalogEntry {
|
|
|
1356
1358
|
realtimeInsertable: boolean;
|
|
1357
1359
|
/** True for processors with no mono implementation (stereo-only). */
|
|
1358
1360
|
stereoOnly: boolean;
|
|
1361
|
+
/**
|
|
1362
|
+
* Reported latency for the default 48 kHz / 512-sample probe configuration.
|
|
1363
|
+
* Zero for offline processors; configuration-dependent values are estimates.
|
|
1364
|
+
*/
|
|
1365
|
+
latencySamples: number;
|
|
1366
|
+
/**
|
|
1367
|
+
* Audible decay length for the same default prepared probe. Zero for
|
|
1368
|
+
* offline, dry-only, and no-tail processors.
|
|
1369
|
+
*/
|
|
1370
|
+
tailSamples: number;
|
|
1359
1371
|
/**
|
|
1360
1372
|
* How the mixer wraps the processor on a >2-channel (surround) bus insert:
|
|
1361
1373
|
* "multichannel" (one full-buffer call) or "stereoPairOnly" (front L/R pair,
|
|
@@ -2318,8 +2330,10 @@ declare class Project {
|
|
|
2318
2330
|
* built-in oscillator synth so a MIDI-only arrangement bounces to audible
|
|
2319
2331
|
* audio. Pass a {@link BuiltinSynthBinding} (or an array of them) to choose
|
|
2320
2332
|
* the patch and MIDI destination; omit it (or pass `{}`) for one
|
|
2321
|
-
* default-destination sine patch.
|
|
2322
|
-
*
|
|
2333
|
+
* default-destination sine patch. Because the parameter defaults to `{}`,
|
|
2334
|
+
* omission and explicit `undefined` both create that one default binding.
|
|
2335
|
+
* Use an explicitly empty array `[]` (or runtime `null`) for zero bindings,
|
|
2336
|
+
* so MIDI tracks render silently.
|
|
2323
2337
|
*
|
|
2324
2338
|
* Like {@link bounce}, omitting `totalFrames` auto-derives the render length
|
|
2325
2339
|
* from the arrangement plus the synth's release tail.
|
|
@@ -2342,9 +2356,10 @@ declare class Project {
|
|
|
2342
2356
|
* string (`'saw-lead'` / `'va:saw-lead'`; see {@link synthPresetNames}), or
|
|
2343
2357
|
* an array of either; each object entry may carry a `destinationId` binding
|
|
2344
2358
|
* convenience (default 0), which is not part of the NativeSynth patch itself.
|
|
2345
|
-
*
|
|
2346
|
-
*
|
|
2347
|
-
*
|
|
2359
|
+
* Because the parameter defaults to `{}`, omission and explicit `undefined`
|
|
2360
|
+
* both create one default binding. Use an explicitly empty array `[]` (or
|
|
2361
|
+
* runtime `null`) for zero bindings. Unknown preset names throw.
|
|
2362
|
+
* Deterministic for a fixed project + options + patch.
|
|
2348
2363
|
*/
|
|
2349
2364
|
bounceWithSynthInstrument(instrument?: SynthPatch | string | ReadonlyArray<SynthPatch | string>, options?: ProjectBounceOptions): Float32Array;
|
|
2350
2365
|
/**
|
|
@@ -2376,8 +2391,10 @@ declare class Project {
|
|
|
2376
2391
|
* honored. Programs the SoundFont does not cover — including bouncing with
|
|
2377
2392
|
* no SoundFont loaded at all — play through the built-in synthesizer GM
|
|
2378
2393
|
* fallback bank (the data-free floor; see {@link soundFontManifest} for the
|
|
2379
|
-
* per-program backend).
|
|
2380
|
-
* `
|
|
2394
|
+
* per-program backend). Because the parameter defaults to `{}`, omission and
|
|
2395
|
+
* explicit `undefined` both create one default binding. Use an explicitly
|
|
2396
|
+
* empty array `[]` (or runtime `null`) for zero bindings, so MIDI tracks
|
|
2397
|
+
* render silently.
|
|
2381
2398
|
*/
|
|
2382
2399
|
bounceWithSf2Instrument(instrument?: Sf2InstrumentConfig | ReadonlyArray<Sf2InstrumentConfig>, options?: ProjectBounceOptions): Float32Array;
|
|
2383
2400
|
/** Remove a clip (undoable). */
|
|
@@ -2447,6 +2464,8 @@ declare class Project {
|
|
|
2447
2464
|
markerCount(): number;
|
|
2448
2465
|
/** Number of tracks in the project. */
|
|
2449
2466
|
trackCount(): number;
|
|
2467
|
+
/** Number of clips in the project. */
|
|
2468
|
+
clipCount(): number;
|
|
2450
2469
|
/** Number of audio sources registered on the project. */
|
|
2451
2470
|
sourceCount(): number;
|
|
2452
2471
|
/** Number of tempo-map segments on the project. */
|
|
@@ -2490,6 +2509,7 @@ declare function synthPresetNames(): string[];
|
|
|
2490
2509
|
declare function synthPresetPatch(name: string): SynthPatch;
|
|
2491
2510
|
declare function synthEnumTables(): SynthEnumTables;
|
|
2492
2511
|
|
|
2512
|
+
type ExternalMidiEvent = WasmExternalMidiEvent;
|
|
2493
2513
|
type EngineClip = WasmEngineClip;
|
|
2494
2514
|
type ClipPageRequest = WasmClipPageRequest;
|
|
2495
2515
|
type EngineParameterInfo = WasmEngineParameterInfo;
|
|
@@ -2952,6 +2972,12 @@ declare class ClipPageStreamer {
|
|
|
2952
2972
|
addSource(source: ClipPageStreamSource, initialResidentPages?: Iterable<number>): void;
|
|
2953
2973
|
/** Stop tracking a clip. Does not close its binding (the caller owns that). */
|
|
2954
2974
|
removeSource(clipId: number): void;
|
|
2975
|
+
/**
|
|
2976
|
+
* Explicitly start a new playback generation after a host seek/loop. Resident
|
|
2977
|
+
* pages are evicted and any older in-flight fetch is cleared when it settles.
|
|
2978
|
+
* The next miss establishes the new bounded window.
|
|
2979
|
+
*/
|
|
2980
|
+
resetSource(clipId: number): void;
|
|
2955
2981
|
/**
|
|
2956
2982
|
* Drain pending page-miss requests, fetch the missing pages plus their
|
|
2957
2983
|
* read-ahead window, and evict out-of-window pages. Resolves once this round's
|
|
@@ -2961,6 +2987,7 @@ declare class ClipPageStreamer {
|
|
|
2961
2987
|
/** Close every registered clip's binding and stop tracking. */
|
|
2962
2988
|
close(): void;
|
|
2963
2989
|
private serviceFrontier;
|
|
2990
|
+
private resetState;
|
|
2964
2991
|
}
|
|
2965
2992
|
interface OpfsClipStreamOptions extends OpfsClipPageProviderOptions {
|
|
2966
2993
|
/** Clip schedule id used in `setClips` (matches the page-miss request clipId). */
|
|
@@ -3079,6 +3106,10 @@ declare function hybridCqt(samples: Float32Array, sampleRate?: number, hopLength
|
|
|
3079
3106
|
* @returns VQT magnitude result (same shape as CQT)
|
|
3080
3107
|
*/
|
|
3081
3108
|
declare function vqt(samples: Float32Array, sampleRate?: number, hopLength?: number, fmin?: number, nBins?: number, binsPerOctave?: number, gamma?: number, options?: GuardedOptions$2): CqtResult;
|
|
3109
|
+
/** Reconstruct mono audio from row-major CQT magnitude via Griffin-Lim. */
|
|
3110
|
+
declare function cqtToAudio(magnitude: Float32Array, nBins: number, nFrames: number, sampleRate?: number, hopLength?: number, fmin?: number, binsPerOctave?: number, nIter?: number, options?: GuardedOptions$2): Float32Array;
|
|
3111
|
+
/** Reconstruct mono audio from row-major VQT magnitude via Griffin-Lim. */
|
|
3112
|
+
declare function vqtToAudio(magnitude: Float32Array, nBins: number, nFrames: number, sampleRate?: number, hopLength?: number, fmin?: number, binsPerOctave?: number, gamma?: number, nIter?: number, options?: GuardedOptions$2): Float32Array;
|
|
3082
3113
|
/**
|
|
3083
3114
|
* Detect song-structure sections (intro/verse/chorus/...).
|
|
3084
3115
|
*
|
|
@@ -3163,9 +3194,11 @@ declare function fourierTempogram(onsetEnvelope: Float32Array, sampleRate?: numb
|
|
|
3163
3194
|
* @param winLength - Window length in frames (default: 384)
|
|
3164
3195
|
* @param sampleRate - Sample rate in Hz (default: 22050)
|
|
3165
3196
|
* @param hopLength - Hop length (default: 512)
|
|
3166
|
-
* @
|
|
3197
|
+
* @param factors - Lag ratios to evaluate. When omitted or empty, the library
|
|
3198
|
+
* default {0.5, 1, 2, 3, 4} is used.
|
|
3199
|
+
* @returns Tempogram ratio features (one value per factor)
|
|
3167
3200
|
*/
|
|
3168
|
-
declare function tempogramRatio(tempogramData: Float32Array, winLength?: number, sampleRate?: number, hopLength?: number, options?: GuardedOptions$2): Float32Array;
|
|
3201
|
+
declare function tempogramRatio(tempogramData: Float32Array, winLength?: number, sampleRate?: number, hopLength?: number, factors?: Float32Array | number[], options?: GuardedOptions$2): Float32Array;
|
|
3169
3202
|
/**
|
|
3170
3203
|
* Measure loudness (EBU R128 / ITU-R BS.1770).
|
|
3171
3204
|
*
|
|
@@ -4475,6 +4508,10 @@ interface AnalyzerStats {
|
|
|
4475
4508
|
totalFrames: number;
|
|
4476
4509
|
totalSamples: number;
|
|
4477
4510
|
durationSeconds: number;
|
|
4511
|
+
pendingFrames: number;
|
|
4512
|
+
droppedOutputFrames: number;
|
|
4513
|
+
droppedChordProgressionEntries: number;
|
|
4514
|
+
droppedBarProgressionEntries: number;
|
|
4478
4515
|
estimate: ProgressiveEstimate;
|
|
4479
4516
|
}
|
|
4480
4517
|
/**
|
|
@@ -4565,6 +4602,10 @@ interface StreamConfig {
|
|
|
4565
4602
|
computeSpectral?: boolean;
|
|
4566
4603
|
emitEveryNFrames?: number;
|
|
4567
4604
|
magnitudeDownsample?: number;
|
|
4605
|
+
/** Maximum unread frames; overflow drops the oldest frame. */
|
|
4606
|
+
maxPendingFrames?: number;
|
|
4607
|
+
/** Maximum retained chord and bar progression entries; overflow drops oldest. */
|
|
4608
|
+
maxProgressionEntries?: number;
|
|
4568
4609
|
keyUpdateIntervalSec?: number;
|
|
4569
4610
|
bpmUpdateIntervalSec?: number;
|
|
4570
4611
|
window?: number;
|
|
@@ -4609,7 +4650,8 @@ declare class StreamAnalyzer {
|
|
|
4609
4650
|
*/
|
|
4610
4651
|
process(samples: Float32Array): void;
|
|
4611
4652
|
/**
|
|
4612
|
-
* Process audio samples with explicit sample offset.
|
|
4653
|
+
* Process audio samples with a contiguous explicit sample offset. A gap,
|
|
4654
|
+
* seek, or switch from `process()` requires `reset()` first.
|
|
4613
4655
|
*
|
|
4614
4656
|
* @param samples - Audio samples (mono, float32)
|
|
4615
4657
|
* @param sampleOffset - Cumulative sample count at start of this chunk
|
|
@@ -4954,10 +4996,15 @@ declare class Mixer {
|
|
|
4954
4996
|
/** Serialize the current scene (strips, buses, sends, connections) to JSON. */
|
|
4955
4997
|
toSceneJson(): string;
|
|
4956
4998
|
/**
|
|
4957
|
-
*
|
|
4999
|
+
* Longest audible serial processor-tail path to the master, in samples. Lazily
|
|
4958
5000
|
* compiles the routing graph if the topology is dirty.
|
|
4959
5001
|
*/
|
|
4960
5002
|
tailSamples(): number;
|
|
5003
|
+
/**
|
|
5004
|
+
* Reported latency (samples) of the compiled mixer graph, for aligning
|
|
5005
|
+
* dry/wet material. Lazily compiles the routing graph if the topology is dirty.
|
|
5006
|
+
*/
|
|
5007
|
+
latencySamples(): number;
|
|
4961
5008
|
/**
|
|
4962
5009
|
* Drain delayed / tail audio by processing a zero-input block of `numSamples`
|
|
4963
5010
|
* frames after the host stops feeding strip inputs. Returns the mixed stereo
|
|
@@ -5368,6 +5415,12 @@ declare function isInitialized(): boolean;
|
|
|
5368
5415
|
* Get the library version.
|
|
5369
5416
|
*/
|
|
5370
5417
|
declare function version(): string;
|
|
5418
|
+
/**
|
|
5419
|
+
* Aggregate native ABI version: the per-subsystem ABI macros folded into one
|
|
5420
|
+
* 32-bit value. It bumps whenever any flat C POD layout changes, so callers can
|
|
5421
|
+
* detect an incompatible prebuilt binary. Matches the Node/Python `abiVersion()`.
|
|
5422
|
+
*/
|
|
5423
|
+
declare function abiVersion(): number;
|
|
5371
5424
|
declare function engineAbiVersion(): number;
|
|
5372
5425
|
declare function voiceChangerAbiVersion(): number;
|
|
5373
5426
|
/**
|
|
@@ -5382,4 +5435,4 @@ declare function voiceCharacterPresetId(preset: VoicePresetId | number): string
|
|
|
5382
5435
|
*/
|
|
5383
5436
|
declare function realtimeVoiceChangerPresetConfig(preset: VoicePresetId | number): RealtimeVoiceChangerPodConfig | null;
|
|
5384
5437
|
|
|
5385
|
-
export { type AcousticOptions, type AcousticResult, type AnalysisResult, type AnalyzeBpmOptions, type AnalyzeDynamicsOptions, type AnalyzeRhythmOptions, type AnalyzeSectionsOptions, type AnalyzeTimbreOptions, type AnalyzerStats, Audio, type AutomationCurve, type BarChord, type Beat, type BindMicrophoneInputOptions, type BindWebMidiOptions, type BpmAnalysisResult, type BpmCandidate, type BrowserAudioDecodeOptions, type BuiltinSynthBinding, type BuiltinSynthConfig, type BuiltinSynthWaveform, type Chord, type ChordAnalysisResult, type ChordChange, type ChordDetectionOptions, ChordQuality, type ChromaResult, type ClipPageStreamSource, ClipPageStreamer, type ClipPageStreamerEngine, type ClipPageStreamerOptions, type ClippingRegion, type ClippingReport, type CompressorDetector, type CompressorOptions, type CqtResult, type DeclickOptions, type DeclipOptions, type DecomposeResult, type DecrackleMode, type DecrackleOptions, type DehumOptions, type DenoiseClassicalMode, type DenoiseClassicalNoiseEstimator, type DenoiseClassicalOptions, type DereverbClassicalOptions, type DynamicRangeReport, type Dynamics, type DynamicsAnalysisResult, type DynamicsResult, EXPECTED_ENGINE_ABI_VERSION, EXPECTED_PROJECT_ABI_VERSION, type EngineAutomationPoint, type EngineBounceOptions, type EngineBounceResult, type EngineBus, type EngineCapabilities, type EngineCaptureStatus, type EngineClip, type EngineFreezeOptions, type EngineFreezeResult, type EngineGraphSpec, type EngineMarker, type EngineMeterTelemetry, type EngineMeterTelemetryWide, type EngineMetronomeConfig, type EngineMidiClipSchedule, type EngineMidiEvent, type EngineParameterInfo, type EngineScopeTelemetry, type EngineTelemetry, type EngineTempoSegment, type EngineTimeSignatureSegment, type EngineTrackLane, type EngineTrackSend, type EngineTransportState, type EqBand, type EqBandPhase, type EqBandType, type EqCoeffMode, type EqMatchOptions, type EqSpectrumSnapshot, type EqStereoPlacement, ErrorCode, type FrameBuffer, type GateOptions, type GoniometerPoint, type HpssResult, type HpssWithResidualResult, type Key, type KeyCandidate, type KeyDetectionOptions, KeyProfile, type KeyProfileName, type LufsResult, MarkerKind, type MasteringChainConfig, type MasteringChainResult, type MasteringChannelPolicy, type MasteringInsertParamInfo, type MasteringOptions, type MasteringPreset, type MasteringProcessorCatalogEntry, type MasteringProcessorParams, type MasteringResult, type MasteringStereoChainResult, type MasteringStereoResult, type Matrix2dResult, type MelPowerResult, type MelSpectrogramResult, type MelodyOptions, type MelodyPoint, type MelodyResult, type MeterTap, type MeteringDetectClippingOptions, type MeteringDynamicRangeOptions, type MfccResult, type MicrophoneInputBinding, type MidiCcBindOptions, type MidiCcLearnOptions, type MixMeterSnapshot, type MixOptions, type MixResult, Mixer, type MixerProcessResult, type MixerRealtimeBuffer, Mode, type NoteStretchOptions, type OpfsClipPageProviderBinding, type OpfsClipPageProviderOptions, type OpfsClipStream, type OpfsClipStreamOptions, type PairAnalysis, type PairProcessor, type PanLaw, type PanMode, type PatternScore, type PhaseScopeReport, PitchClass as Pitch, PitchClass, type PitchCorrectOptions, type PitchResult, type ProgressiveEstimate, Project, type ProjectAssistSidecar, type ProjectAutomationCurve, type ProjectAutomationLaneDesc, type ProjectAutomationPoint, type ProjectBounceOptions, type ProjectChordSymbol, type ProjectClipCompSegment, type ProjectClipDesc, type ProjectClipFade, type ProjectClipTake, type ProjectCompileResult, type ProjectFadeCurve, type ProjectKeySegment, type ProjectLoopMode, type ProjectLoopRecordingDesc, type ProjectLoopRecordingResult, type ProjectMarker, type ProjectMidiClipResult, type ProjectMidiEvent, type ProjectNotePairValidation, type ProjectTrackDesc, type ProjectTrackKind, type ProjectWarpAnchor, type ProjectWarpMapDesc, RealtimeEngine, RealtimeVoiceChanger, type RealtimeVoiceChangerConfigInput, type RealtimeVoiceChangerInterleavedBuffer, type RealtimeVoiceChangerMonoBuffer, type RealtimeVoiceChangerPlanarBuffer, type RealtimeVoiceChangerPodConfig, type RhythmAnalysisResult, type RhythmFeatures, type RirResult, type RirSynthOptions, type RoomEstimateOptions, type RoomEstimateResult, type RoomGeometryOptions, type RoomMorphOptions, SYNTH_BODY_TYPES, SYNTH_ENGINE_MODES, SYNTH_FILTER_MODELS, SYNTH_FILTER_OUTPUTS, SYNTH_MOD_DESTINATIONS, SYNTH_MOD_SOURCES, SYNTH_OSC_WAVEFORMS, type Section, SectionType, type SendTiming, type Sf2InstrumentConfig, type Sf2ProgramStatus, type SoloProcessor, SonareError, type SourceBackend, type SpectralEditMode, type SpectralEditOptions, type SpectralEditWindow, type SpectralRegionOp, type SpectrumOptions, type SpectrumReport, type StereoAnalysis, type StftPowerResult, type StftResult, StreamAnalyzer, type StreamConfig, type StreamConfigDefaults, type StreamFramesI16, type StreamFramesU8, type StreamQuantizeConfig, StreamingEqualizer, type StreamingEqualizerConfig, StreamingMasteringChain, type StreamingMasteringChainConfig, type StreamingPlatform, StreamingRetune, type StreamingRetuneConfig, type SynthBodyType, type SynthEngineMode, type SynthEnumTables, type SynthFilterModel, type SynthFilterOutput, type SynthModDestination, type SynthModRouting, type SynthModSource, type SynthOscWaveform, type SynthPatch, type TempogramMode, type Timbre, type TimbreAnalysisResult, type TimbreFrame, type TimeSignature, type TransientShaperOptions, type TrimSilenceMode, type TrimSilenceOptions, type ValidateOptions, type VectorscopeReport, type VoiceChangeOptions, type VoiceChangeRealtimeOptions, type VoicePresetId, type WaveformPeakPyramidOptions, type WaveformPeaksOptions, type WaveformPeaksReport, type WebMidiBinding, type WebMidiCcBinding, type WebMidiInputInfo, amplitudeToDb, analyze, analyzeBpm, analyzeDynamics, analyzeImpulseResponse, analyzeMelody, analyzeRhythm, analyzeSections, analyzeTimbre, analyzeWithProgress, attachOpfsClipStream, bassChroma, bindMicrophoneInput, bindWebMidi, chordFunctionalAnalysis, chroma, chromaCens, chromaCqt, cqt, createOpfsClipPageProvider, createOpfsClipPageWorker, cyclicTempogram, dbToAmplitude, dbToPower, decompose, decomposeWithInit, deemphasis, detectAcoustic, detectBeats, detectBpm, detectChords, detectDownbeats, detectKey, detectKeyCandidates, detectOnsets, ebur128LoudnessRange, engineAbiVersion, engineCapabilities, estimateRoom, estimateTuning, fixFrames, fixLength, fourierTempogram, frameSignal, framesToSamples, framesToTime, harmonic, hasFfmpegSupport, hpss, hpssWithResidual, hybridCqt, hzToMel, hzToMidi, hzToNote, init, isInitialized, isSonareError, isWebMidiAvailable, lufs, lufsInterleaved, masterAudio, masterAudioStereo, masterAudioStereoWithProgress, masterAudioWithProgress, mastering, masteringAssistantSuggest, masteringAudioProfile, masteringChain, masteringChainStereo, masteringChainStereoWithProgress, masteringChainWithProgress, masteringDynamicsCompressor, masteringDynamicsGate, masteringDynamicsTransientShaper, masteringInsertNames, masteringInsertParamInfo, masteringInsertParamNames, masteringPairAnalysisNames, masteringPairAnalyze, masteringPairProcess, masteringPairProcessorNames, masteringPresetNames, masteringProcess, masteringProcessStereo, masteringProcessorCatalog, masteringProcessorNames, masteringRepairDeclick, masteringRepairDeclip, masteringRepairDecrackle, masteringRepairDehum, masteringRepairDenoiseClassical, masteringRepairDereverbClassical, masteringRepairTrimSilence, masteringStereoAnalysisNames, masteringStereoAnalyze, masteringStreamingPreview, melSpectrogram, melToAudio, melToHz, melToStft, meteringCrestFactorDb, meteringDcOffset, meteringDetectClipping, meteringDynamicRange, meteringPeakDb, meteringPhaseScope, meteringPhaseScopeDecimated, meteringRmsDb, meteringSpectrum, meteringSpectrumFrame, meteringStereoCorrelation, meteringStereoWidth, meteringTruePeakDb, meteringVectorscope, meteringVectorscopeDecimated, mfcc, mfccToAudio, mfccToMel, midiToHz, mixStereo, mixingScenePresetJson, mixingScenePresetNames, momentaryLufs, nnFilter, nnlsChroma, normalize, noteStretch, noteToHz, onsetEnvelope, onsetStrengthMulti, opfsClipPageWorkerSource, padCenter, pcen, peakPick, percussive, phaseVocoder, pitchCorrectTimevarying, pitchCorrectToMidi, pitchCorrectToMidiTimevarying, pitchPyin, pitchShift, pitchTuning, pitchYin, plp, polyFeatures, powerToDb, preemphasis, projectAbiVersion, pseudoCqt, realtimeVoiceChangerPresetConfig, realtimeVoiceChangerPresetJson, realtimeVoiceChangerPresetNames, remix, resample, rmsEnergy, roomMorph, samplesToFrames, scaleCorrectionSemitones, scalePitchClassEnabled, scaleQuantizeMidi, shortTermLufs, spectralBandwidth, spectralCentroid, spectralContrast, spectralEdit, spectralFlatness, spectralRolloff, splitSilence, stft, stftDb, streamAnalyzerConfigDefaults, synthEnumTables, synthPresetNames, synthPresetPatch, synthesizeRir, tempogram, tempogramRatio, timeStretch, timeToFrames, tonnetz, trim, trimSilence, validateRealtimeVoiceChangerPresetJson, vectorNormalize, version, voiceChange, voiceChangeRealtime, voiceChangerAbiVersion, voiceCharacterPresetId, vqt, waveformPeakPyramid, waveformPeaks, zeroCrossingRate, zeroCrossings };
|
|
5438
|
+
export { type AcousticOptions, type AcousticResult, type AnalysisResult, type AnalyzeBpmOptions, type AnalyzeDynamicsOptions, type AnalyzeRhythmOptions, type AnalyzeSectionsOptions, type AnalyzeTimbreOptions, type AnalyzerStats, Audio, type AutomationCurve, type BarChord, type Beat, type BindMicrophoneInputOptions, type BindWebMidiOptions, type BpmAnalysisResult, type BpmCandidate, type BrowserAudioDecodeOptions, type BuiltinSynthBinding, type BuiltinSynthConfig, type BuiltinSynthWaveform, type Chord, type ChordAnalysisResult, type ChordChange, type ChordDetectionOptions, ChordQuality, type ChromaResult, type ClipPageStreamSource, ClipPageStreamer, type ClipPageStreamerEngine, type ClipPageStreamerOptions, type ClippingRegion, type ClippingReport, type CompressorDetector, type CompressorOptions, type CqtResult, type DeclickOptions, type DeclipOptions, type DecomposeResult, type DecrackleMode, type DecrackleOptions, type DehumOptions, type DenoiseClassicalMode, type DenoiseClassicalNoiseEstimator, type DenoiseClassicalOptions, type DereverbClassicalOptions, type DynamicRangeReport, type Dynamics, type DynamicsAnalysisResult, type DynamicsResult, EXPECTED_ENGINE_ABI_VERSION, EXPECTED_PROJECT_ABI_VERSION, type EngineAutomationPoint, type EngineBounceOptions, type EngineBounceResult, type EngineBus, type EngineCapabilities, type EngineCaptureStatus, type EngineClip, type EngineFreezeOptions, type EngineFreezeResult, type EngineGraphSpec, type EngineMarker, type EngineMeterTelemetry, type EngineMeterTelemetryWide, type EngineMetronomeConfig, type EngineMidiClipSchedule, type EngineMidiEvent, type EngineParameterInfo, type EngineScopeTelemetry, type EngineTelemetry, type EngineTempoSegment, type EngineTimeSignatureSegment, type EngineTrackLane, type EngineTrackSend, type EngineTransportState, type EqBand, type EqBandPhase, type EqBandType, type EqCoeffMode, type EqMatchOptions, type EqSpectrumSnapshot, type EqStereoPlacement, ErrorCode, type ExternalMidiEvent, type FrameBuffer, type GateOptions, type GoniometerPoint, type HpssResult, type HpssWithResidualResult, type Key, type KeyCandidate, type KeyDetectionOptions, KeyProfile, type KeyProfileName, type LufsResult, MarkerKind, type MasteringChainConfig, type MasteringChainResult, type MasteringChannelPolicy, type MasteringInsertParamInfo, type MasteringOptions, type MasteringPreset, type MasteringProcessorCatalogEntry, type MasteringProcessorParams, type MasteringResult, type MasteringStereoChainResult, type MasteringStereoResult, type Matrix2dResult, type MelPowerResult, type MelSpectrogramResult, type MelodyOptions, type MelodyPoint, type MelodyResult, type MeterTap, type MeteringDetectClippingOptions, type MeteringDynamicRangeOptions, type MfccResult, type MicrophoneInputBinding, type MidiCcBindOptions, type MidiCcLearnOptions, type MixMeterSnapshot, type MixOptions, type MixResult, Mixer, type MixerProcessResult, type MixerRealtimeBuffer, Mode, type NoteStretchOptions, type OpfsClipPageProviderBinding, type OpfsClipPageProviderOptions, type OpfsClipStream, type OpfsClipStreamOptions, type PairAnalysis, type PairProcessor, type PanLaw, type PanMode, type PatternScore, type PhaseScopeReport, PitchClass as Pitch, PitchClass, type PitchCorrectOptions, type PitchResult, type ProgressiveEstimate, Project, type ProjectAssistSidecar, type ProjectAutomationCurve, type ProjectAutomationLaneDesc, type ProjectAutomationPoint, type ProjectBounceOptions, type ProjectChordSymbol, type ProjectClipCompSegment, type ProjectClipDesc, type ProjectClipFade, type ProjectClipTake, type ProjectCompileResult, type ProjectFadeCurve, type ProjectKeySegment, type ProjectLoopMode, type ProjectLoopRecordingDesc, type ProjectLoopRecordingResult, type ProjectMarker, type ProjectMidiClipResult, type ProjectMidiEvent, type ProjectNotePairValidation, type ProjectTrackDesc, type ProjectTrackKind, type ProjectWarpAnchor, type ProjectWarpMapDesc, RealtimeEngine, RealtimeVoiceChanger, type RealtimeVoiceChangerConfigInput, type RealtimeVoiceChangerInterleavedBuffer, type RealtimeVoiceChangerMonoBuffer, type RealtimeVoiceChangerPlanarBuffer, type RealtimeVoiceChangerPodConfig, type RhythmAnalysisResult, type RhythmFeatures, type RirResult, type RirSynthOptions, type RoomEstimateOptions, type RoomEstimateResult, type RoomGeometryOptions, type RoomMorphOptions, SYNTH_BODY_TYPES, SYNTH_ENGINE_MODES, SYNTH_FILTER_MODELS, SYNTH_FILTER_OUTPUTS, SYNTH_MOD_DESTINATIONS, SYNTH_MOD_SOURCES, SYNTH_OSC_WAVEFORMS, type Section, SectionType, type SendTiming, type Sf2InstrumentConfig, type Sf2ProgramStatus, type SoloProcessor, SonareError, type SourceBackend, type SpectralEditMode, type SpectralEditOptions, type SpectralEditWindow, type SpectralRegionOp, type SpectrumOptions, type SpectrumReport, type StereoAnalysis, type StftPowerResult, type StftResult, StreamAnalyzer, type StreamConfig, type StreamConfigDefaults, type StreamFramesI16, type StreamFramesU8, type StreamQuantizeConfig, StreamingEqualizer, type StreamingEqualizerConfig, StreamingMasteringChain, type StreamingMasteringChainConfig, type StreamingPlatform, StreamingRetune, type StreamingRetuneConfig, type SynthBodyType, type SynthEngineMode, type SynthEnumTables, type SynthFilterModel, type SynthFilterOutput, type SynthModDestination, type SynthModRouting, type SynthModSource, type SynthOscWaveform, type SynthPatch, type TempogramMode, type Timbre, type TimbreAnalysisResult, type TimbreFrame, type TimeSignature, type TransientShaperOptions, type TrimSilenceMode, type TrimSilenceOptions, type ValidateOptions, type VectorscopeReport, type VoiceChangeOptions, type VoiceChangeRealtimeOptions, type VoicePresetId, type WaveformPeakPyramidOptions, type WaveformPeaksOptions, type WaveformPeaksReport, type WebMidiBinding, type WebMidiCcBinding, type WebMidiInputInfo, abiVersion, amplitudeToDb, analyze, analyzeBpm, analyzeDynamics, analyzeImpulseResponse, analyzeMelody, analyzeRhythm, analyzeSections, analyzeTimbre, analyzeWithProgress, attachOpfsClipStream, bassChroma, bindMicrophoneInput, bindWebMidi, chordFunctionalAnalysis, chroma, chromaCens, chromaCqt, cqt, cqtToAudio, createOpfsClipPageProvider, createOpfsClipPageWorker, cyclicTempogram, dbToAmplitude, dbToPower, decompose, decomposeWithInit, deemphasis, detectAcoustic, detectBeats, detectBpm, detectChords, detectDownbeats, detectKey, detectKeyCandidates, detectOnsets, ebur128LoudnessRange, engineAbiVersion, engineCapabilities, estimateRoom, estimateTuning, fixFrames, fixLength, fourierTempogram, frameSignal, framesToSamples, framesToTime, harmonic, hasFfmpegSupport, hpss, hpssWithResidual, hybridCqt, hzToMel, hzToMidi, hzToNote, init, isInitialized, isSonareError, isWebMidiAvailable, lufs, lufsInterleaved, masterAudio, masterAudioStereo, masterAudioStereoWithProgress, masterAudioWithProgress, mastering, masteringAssistantSuggest, masteringAudioProfile, masteringChain, masteringChainStereo, masteringChainStereoWithProgress, masteringChainWithProgress, masteringDynamicsCompressor, masteringDynamicsGate, masteringDynamicsTransientShaper, masteringInsertNames, masteringInsertParamInfo, masteringInsertParamNames, masteringPairAnalysisNames, masteringPairAnalyze, masteringPairProcess, masteringPairProcessorNames, masteringPresetNames, masteringProcess, masteringProcessStereo, masteringProcessorCatalog, masteringProcessorNames, masteringRepairDeclick, masteringRepairDeclip, masteringRepairDecrackle, masteringRepairDehum, masteringRepairDenoiseClassical, masteringRepairDereverbClassical, masteringRepairTrimSilence, masteringStereoAnalysisNames, masteringStereoAnalyze, masteringStreamingPreview, melSpectrogram, melToAudio, melToHz, melToStft, meteringCrestFactorDb, meteringDcOffset, meteringDetectClipping, meteringDynamicRange, meteringPeakDb, meteringPhaseScope, meteringPhaseScopeDecimated, meteringRmsDb, meteringSpectrum, meteringSpectrumFrame, meteringStereoCorrelation, meteringStereoWidth, meteringTruePeakDb, meteringVectorscope, meteringVectorscopeDecimated, mfcc, mfccToAudio, mfccToMel, midiToHz, mixStereo, mixingScenePresetJson, mixingScenePresetNames, momentaryLufs, nnFilter, nnlsChroma, normalize, noteStretch, noteToHz, onsetEnvelope, onsetStrengthMulti, opfsClipPageWorkerSource, padCenter, pcen, peakPick, percussive, phaseVocoder, pitchCorrectTimevarying, pitchCorrectToMidi, pitchCorrectToMidiTimevarying, pitchPyin, pitchShift, pitchTuning, pitchYin, plp, polyFeatures, powerToDb, preemphasis, projectAbiVersion, pseudoCqt, realtimeVoiceChangerPresetConfig, realtimeVoiceChangerPresetJson, realtimeVoiceChangerPresetNames, remix, resample, rmsEnergy, roomMorph, samplesToFrames, scaleCorrectionSemitones, scalePitchClassEnabled, scaleQuantizeMidi, shortTermLufs, spectralBandwidth, spectralCentroid, spectralContrast, spectralEdit, spectralFlatness, spectralRolloff, splitSilence, stft, stftDb, streamAnalyzerConfigDefaults, synthEnumTables, synthPresetNames, synthPresetPatch, synthesizeRir, tempogram, tempogramRatio, timeStretch, timeToFrames, tonnetz, trim, trimSilence, validateRealtimeVoiceChangerPresetJson, vectorNormalize, version, voiceChange, voiceChangeRealtime, voiceChangerAbiVersion, voiceCharacterPresetId, vqt, vqtToAudio, waveformPeakPyramid, waveformPeaks, zeroCrossingRate, zeroCrossings };
|