@codexo/exojs-audio-fx 0.18.0 → 0.19.0
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 +47 -7
- package/dist/esm/AudioAnalyser.d.ts.map +1 -1
- package/dist/esm/BeatDetector.d.ts.map +1 -1
- package/dist/esm/PcmStreamSource.d.ts +127 -0
- package/dist/esm/PcmStreamSource.d.ts.map +1 -0
- package/dist/esm/PcmStreamSource.js +308 -0
- package/dist/esm/PcmStreamSource.js.map +1 -0
- package/dist/esm/dsp/fft.d.ts.map +1 -1
- package/dist/esm/dsp/mel.d.ts.map +1 -1
- package/dist/esm/dsp/tempogram.d.ts.map +1 -1
- package/dist/esm/effects/AutoWahEffect.d.ts.map +1 -1
- package/dist/esm/effects/BitCrusherEffect.d.ts.map +1 -1
- package/dist/esm/effects/ChorusEffect.d.ts.map +1 -1
- package/dist/esm/effects/CompressorEffect.d.ts.map +1 -1
- package/dist/esm/effects/ConvolutionEffect.d.ts.map +1 -1
- package/dist/esm/effects/DelayEffect.d.ts.map +1 -1
- package/dist/esm/effects/DistortionEffect.d.ts.map +1 -1
- package/dist/esm/effects/DuckingEffect.d.ts.map +1 -1
- package/dist/esm/effects/EqualizerEffect.d.ts.map +1 -1
- package/dist/esm/effects/FlangerEffect.d.ts.map +1 -1
- package/dist/esm/effects/GranularEffect.d.ts.map +1 -1
- package/dist/esm/effects/LimiterEffect.d.ts.map +1 -1
- package/dist/esm/effects/PhaserEffect.d.ts.map +1 -1
- package/dist/esm/effects/PingPongDelayEffect.d.ts.map +1 -1
- package/dist/esm/effects/PitchShiftEffect.d.ts.map +1 -1
- package/dist/esm/effects/ReverbEffect.d.ts.map +1 -1
- package/dist/esm/effects/RingModulatorEffect.d.ts.map +1 -1
- package/dist/esm/effects/TremoloEffect.d.ts.map +1 -1
- package/dist/esm/effects/VocoderEffect.d.ts.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/worklets/pcm-stream.worklet.js +6 -0
- package/dist/esm/worklets/pcm-stream.worklet.js.map +1 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,19 +1,59 @@
|
|
|
1
1
|
# @codexo/exojs-audio-fx
|
|
2
2
|
|
|
3
|
-
Audio effects,
|
|
3
|
+
Audio effects, spectrum analysis, worklet-backed processing, and beat detection for ExoJS. Core already provides audio assets, voices, buses, and basic routing. Add this package when a project needs analysis or the additional effect processors.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Install
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
```sh
|
|
8
|
+
npm install --save-exact @codexo/exojs @codexo/exojs-audio-fx
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Core is a peer dependency. Construct the required objects directly; there is no application extension descriptor to install for ordinary audio analysis.
|
|
12
|
+
|
|
13
|
+
## Inspect a live music bus
|
|
14
|
+
|
|
15
|
+
This helper expects an initialized application with audio already playing on its music bus. It does not load or start a track:
|
|
9
16
|
|
|
10
17
|
```ts
|
|
11
|
-
import {
|
|
18
|
+
import type { Application } from '@codexo/exojs';
|
|
19
|
+
import { AudioAnalyser } from '@codexo/exojs-audio-fx';
|
|
20
|
+
|
|
21
|
+
export const inspectMusic = (app: Application): { read: () => Uint8Array; destroy: () => void } => {
|
|
22
|
+
const analyser = new AudioAnalyser({ source: app.audio.music, fftSize: 1024 });
|
|
12
23
|
|
|
13
|
-
|
|
14
|
-
|
|
24
|
+
return {
|
|
25
|
+
read: () => analyser.getSpectrumLog(undefined, { bands: 16 }),
|
|
26
|
+
destroy: () => analyser.destroy(),
|
|
27
|
+
};
|
|
28
|
+
};
|
|
15
29
|
```
|
|
16
30
|
|
|
31
|
+
Call `read` from the owner's update path and destroy the helper when that owner ends. An analyser taps a live bus or voice, not an unloaded asset descriptor. A silent or muted routing path is not repaired by repeatedly creating analysers.
|
|
32
|
+
|
|
33
|
+
## Externally produced PCM
|
|
34
|
+
|
|
35
|
+
Use `PcmStreamSource` for bounded mono/stereo Float32 streaming into an `AudioBus`. Await readiness, enqueue at the source's sample rate, then explicitly start playback; caller-owned arrays are copied and remain reusable. See [the PCM contract and lifecycle guide](docs/pcm-streaming.md) and [the runnable streaming example](../../examples/audio-fx/pcm-stream.ts) for scheduling, overflow, underrun telemetry, clear and drain.
|
|
36
|
+
|
|
37
|
+
For GPU-generated samples, the [GPU stereo PCM guide](docs/gpu-pcm.md) and [example](../../examples/audio-fx/gpu-pcm-stream.ts) connect bounded readback slots to the source, with explicit byte packing or typed float readback on both rendering backends.
|
|
38
|
+
|
|
39
|
+
## Important boundaries
|
|
40
|
+
|
|
41
|
+
Browser audio needs a real user-gesture path. Worklet-backed processors can have asynchronous initialization and capability requirements; handle failure and teardown rather than assuming construction means readiness.
|
|
42
|
+
|
|
43
|
+
Effects, analyser nodes, detectors, and playing voices have distinct lifetimes. Track caller-created resources with their scene or dispose them at their own boundary. Do not leave a detector connected merely because its visual widget was removed.
|
|
44
|
+
|
|
45
|
+
Beat detection estimates tempo and phase. Polling windows such as `justBeat` are not one-shot events, and asynchronous messages are not hard real-time delivery. A rhythm-game scoring timeline needs an explicit authoritative timing design. Analysis values are not a calibrated acoustic loudness measurement.
|
|
46
|
+
|
|
47
|
+
## Documentation
|
|
48
|
+
|
|
49
|
+
[Audio basics](https://exoridus.github.io/ExoJS/en/guide/audio/audio-basics/) · [Effects and routing](https://exoridus.github.io/ExoJS/en/guide/audio/audio-effects/) · [Beat detection](https://exoridus.github.io/ExoJS/en/guide/audio/beat-detection/) · [Audio-reactive visuals](https://exoridus.github.io/ExoJS/en/guide/audio/audio-reactive-visualization/) · [AudioAnalyser API](https://exoridus.github.io/ExoJS/en/api/audio-analyser/)
|
|
50
|
+
|
|
51
|
+
## Beat evaluation
|
|
52
|
+
|
|
53
|
+
[The synthetic MIR evaluation](docs/mir-evaluation.md) documents reproducible quality and posting-latency measurements, adversarial fixtures, provisional-versus-locked comparisons, and their limits. Run the named evaluation test from the repository root; no external audio dataset is required.
|
|
54
|
+
|
|
55
|
+
[The recorded music corpus](test/fixtures/music/README.md) complements it with five committed CC0 excerpts. Its tests run offline and distinguish unreviewed beat proposals from reviewed references; passing integration checks alone does not establish accuracy on music.
|
|
56
|
+
|
|
17
57
|
## License
|
|
18
58
|
|
|
19
59
|
MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AudioAnalyser.d.ts","sourceRoot":"","sources":["../../src/AudioAnalyser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAA6D,KAAK,KAAK,EAAE,MAAM,eAAe,CAAC;AAIrH,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,KAAK,GAAG,WAAW,GAAG,SAAS,GAAG,IAAI,CAAC;AAEpF,sDAAsD;AACtD,MAAM,WAAW,oBAAoB;IACnC,kFAAkF;IAClF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+FAA+F;IAC/F,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,+EAA+E;IAC/E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B;AAED,yGAAyG;AACzG,MAAM,WAAW,sBAAsB;IACrC,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kFAAkF;IAClF,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAID;;;;;;;GAOG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,SAAS,CAA6B;IAC9C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA0B;IACnD,OAAO,CAAC,OAAO,CAA6B;IAC5C,OAAO,CAAC,UAAU,CAA0B;IAC5C,OAAO,CAAC,aAAa,CAA2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GG;IACH,IAAW,oBAAoB,IAAI,MAAM,CAGxC;IAED;;;;OAIG;IACH,IAAW,KAAK,IAAI,MAAM,CAGzB;IAED;;;;OAIG;IACH,IAAW,QAAQ,IAAI,MAAM,CAM5B;IAED;;;;OAIG;IACH,IAAW,QAAQ,IAAI,OAAO,CAE7B;IAED;;;;;;;OAOG;IACI,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGhD;IAMM,OAAO,IAAI,IAAI,CAgBrB;IAMD,OAAO,CAAC,MAAM;IA+Bd,OAAO,CAAC,iBAAiB;IAkEzB,OAAO,CAAC,cAAc;IAatB,OAAO,CAAC,mBAAmB;IAoC3B,OAAO,CAAC,sBAAsB;IAkB9B,OAAO,CAAC,cAAc;CAevB"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { type AudioBus, type Seconds, Signal } from '@codexo/exojs';
|
|
2
|
+
export interface PcmStreamSourceOptions {
|
|
3
|
+
/** Fixed channel count. PCM is not remixed or resampled by this source. */
|
|
4
|
+
channels: 1 | 2;
|
|
5
|
+
/** Maximum outstanding frames, including messages in transit. Integer 1..1048576; default 8192. This is a capacity, not a target latency. */
|
|
6
|
+
capacityFrames?: number;
|
|
7
|
+
/** Destination bus. Default `null` leaves the output disconnected. Ownership stays with the caller. */
|
|
8
|
+
bus?: AudioBus | null;
|
|
9
|
+
}
|
|
10
|
+
export type PcmStreamState = 'loading' | 'ready' | 'running' | 'closing' | 'closed' | 'failed' | 'destroyed';
|
|
11
|
+
/**
|
|
12
|
+
* A bounded, externally fed Float32 PCM source at the shared AudioContext's
|
|
13
|
+
* sample rate. Lives in `@codexo/exojs-audio-fx`; no extension registration is
|
|
14
|
+
* required. Feed a bus or connect {@link output} to an analysis tap.
|
|
15
|
+
*
|
|
16
|
+
* Await {@link ready}, enqueue a caller-chosen amount of audio, then call
|
|
17
|
+
* {@link start}. The worklet consumes FIFO samples without waiting for the
|
|
18
|
+
* producer. An empty running queue emits silence; later blocks resume at the
|
|
19
|
+
* next available render quantum, without catching up or skipping samples.
|
|
20
|
+
* Browser suspension freezes the audio clock and playback, but writes remain
|
|
21
|
+
* bounded. Readiness does not unlock browser autoplay.
|
|
22
|
+
*
|
|
23
|
+
* Input arrays are copied synchronously and never detached. The private copy
|
|
24
|
+
* is transferred without requiring cross-origin isolation. Values must be
|
|
25
|
+
* finite; nominal full scale is -1..1, with no clipping or normalization here.
|
|
26
|
+
* Resampling, producer timestamps and audiovisual lookahead belong to callers.
|
|
27
|
+
*
|
|
28
|
+
* Own and destroy the source separately from its bus, for example with a scene
|
|
29
|
+
* DestroyScope. Destroying an AudioSystem or bus does not destroy this source.
|
|
30
|
+
*/
|
|
31
|
+
export declare class PcmStreamSource {
|
|
32
|
+
readonly channels: 1 | 2;
|
|
33
|
+
readonly capacityFrames: number;
|
|
34
|
+
readonly sampleRate: number;
|
|
35
|
+
/** Resolves after module loading, even while audio is suspended. Rejects on loading failure or destruction during loading (`AbortError`). */
|
|
36
|
+
readonly ready: Promise<void>;
|
|
37
|
+
/** Fires once after close has drained, not on destroy or failure. */
|
|
38
|
+
readonly onEnd: Signal<[]>;
|
|
39
|
+
/** Reports module loading, processor or context closure failures. The source is terminal afterwards. */
|
|
40
|
+
readonly onError: Signal<[Error]>;
|
|
41
|
+
/** Stable source tap. Bus routing changes preserve caller-created connections; terminal cleanup disconnects it. */
|
|
42
|
+
readonly output: GainNode;
|
|
43
|
+
private readonly _context;
|
|
44
|
+
private _state;
|
|
45
|
+
private _node;
|
|
46
|
+
private _bus;
|
|
47
|
+
private _busNode;
|
|
48
|
+
private _cancelBusSetup;
|
|
49
|
+
private _submittedFrames;
|
|
50
|
+
private _highWaterFrames;
|
|
51
|
+
private _releasedFrames;
|
|
52
|
+
private _playedFrames;
|
|
53
|
+
private _underrunFrames;
|
|
54
|
+
private _underruns;
|
|
55
|
+
private _overflowCount;
|
|
56
|
+
private _droppedFrames;
|
|
57
|
+
private _clearing;
|
|
58
|
+
private _resolveReady;
|
|
59
|
+
private _rejectReady;
|
|
60
|
+
private readonly _onContextState;
|
|
61
|
+
constructor(options: PcmStreamSourceOptions);
|
|
62
|
+
get state(): PcmStreamState;
|
|
63
|
+
/** Conservative occupancy: submitted frames minus acknowledged consumed/discarded frames. May lag playback while messages are in flight. */
|
|
64
|
+
get bufferedFrames(): number;
|
|
65
|
+
/** Queue occupancy in seconds, excluding output-device latency. */
|
|
66
|
+
get bufferedSeconds(): Seconds;
|
|
67
|
+
/** Lifetime accepted frames. Refused, invalid and empty writes do not increase this count; clear and teardown preserve it. */
|
|
68
|
+
get enqueuedFrames(): number;
|
|
69
|
+
/** Lifetime maximum bufferedFrames after an accepted write, including transport and unacknowledged consumption. Never exceeds capacityFrames; clear and teardown preserve it. */
|
|
70
|
+
get highWaterFrames(): number;
|
|
71
|
+
/** True until the worklet acknowledges clear; writes are refused during this interval. */
|
|
72
|
+
get clearing(): boolean;
|
|
73
|
+
/** Lifetime frames actually rendered from PCM, as of the latest worklet report. */
|
|
74
|
+
get playedFrames(): number;
|
|
75
|
+
/** Lifetime silent frames caused by starvation after start; excludes idle, suspended and drained time. */
|
|
76
|
+
get underrunFrames(): number;
|
|
77
|
+
/** Lifetime contiguous starvation episodes, as of the latest report. */
|
|
78
|
+
get underruns(): number;
|
|
79
|
+
/** Lifetime blocks refused for insufficient capacity. Other refused writes are not overflow. */
|
|
80
|
+
get overflowCount(): number;
|
|
81
|
+
/** Lifetime frames refused for insufficient capacity; not frames discarded by clear or destroy. */
|
|
82
|
+
get droppedFrames(): number;
|
|
83
|
+
get bus(): AudioBus | null;
|
|
84
|
+
/** Reroute to a bus input, or disconnect that route with `null`. Does not take ownership of the bus or its effects. */
|
|
85
|
+
set bus(bus: AudioBus | null);
|
|
86
|
+
/**
|
|
87
|
+
* Begin once, no earlier than `time` in audio-context seconds (default now).
|
|
88
|
+
* Sample positions round up to the next audio frame; a past time starts at
|
|
89
|
+
* the next available quantum. Returns false unless ready and not yet started.
|
|
90
|
+
*/
|
|
91
|
+
start(time?: number): boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Copy equal-length mono/stereo channel arrays in FIFO order. Returns false
|
|
94
|
+
* before ready, during clear, after close/failure/destroy, or on overflow.
|
|
95
|
+
* Overflow rejects the entire block before copying. Empty blocks succeed
|
|
96
|
+
* without sending a message. Invalid layout or nonfinite samples throw.
|
|
97
|
+
*/
|
|
98
|
+
enqueuePlanar(channels: readonly Float32Array[]): boolean;
|
|
99
|
+
/** Copy interleaved frames (L,R,L,R for stereo). Same acceptance and ownership contract as {@link enqueuePlanar}. */
|
|
100
|
+
enqueueInterleaved(data: Float32Array): boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Discard queued PCM once the worklet receives the command, retaining the
|
|
103
|
+
* start schedule and lifetime counters. Coalesces while pending and refuses
|
|
104
|
+
* new writes until acknowledged. No-op while loading or after close.
|
|
105
|
+
*/
|
|
106
|
+
clear(): void;
|
|
107
|
+
/**
|
|
108
|
+
* Refuse further writes and drain. If not started, begin draining immediately;
|
|
109
|
+
* otherwise preserve the scheduled start. Empty tails do not count as
|
|
110
|
+
* underruns. Completes only when the context processes audio; use destroy for
|
|
111
|
+
* immediate cancellation while suspended. Idempotent and terminal.
|
|
112
|
+
*/
|
|
113
|
+
close(): void;
|
|
114
|
+
/** Stop immediately, discard pending PCM, detach routes and release the port. Idempotent; never destroys the bus or shared context. */
|
|
115
|
+
destroy(): void;
|
|
116
|
+
private get _terminal();
|
|
117
|
+
private get _writable();
|
|
118
|
+
private _admit;
|
|
119
|
+
private _validateSamples;
|
|
120
|
+
private _submit;
|
|
121
|
+
private _load;
|
|
122
|
+
private _receive;
|
|
123
|
+
private _fail;
|
|
124
|
+
private _disconnectBus;
|
|
125
|
+
private _dispose;
|
|
126
|
+
}
|
|
127
|
+
//# sourceMappingURL=PcmStreamSource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PcmStreamSource.d.ts","sourceRoot":"","sources":["../../src/PcmStreamSource.ts"],"names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OrB;IAED,OAAO,KAAK,SAAS,GAEpB;IAED,OAAO,KAAK,SAAS,GAEpB;IAED,OAAO,CAAC,MAAM;IAOd,OAAO,CAAC,gBAAgB;IAMxB,OAAO,CAAC,OAAO;YAOD,KAAK;IAsBnB,OAAO,CAAC,QAAQ;IAehB,OAAO,CAAC,KAAK;IAQb,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,QAAQ;CAejB"}
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
import pcm_stream_worklet_default from "./worklets/pcm-stream.worklet.js";
|
|
2
|
+
import { Signal, getAudioContext, registerAudioWorkletProcessor } from "@codexo/exojs";
|
|
3
|
+
|
|
4
|
+
//#region src/PcmStreamSource.ts
|
|
5
|
+
/**
|
|
6
|
+
* A bounded, externally fed Float32 PCM source at the shared AudioContext's
|
|
7
|
+
* sample rate. Lives in `@codexo/exojs-audio-fx`; no extension registration is
|
|
8
|
+
* required. Feed a bus or connect {@link output} to an analysis tap.
|
|
9
|
+
*
|
|
10
|
+
* Await {@link ready}, enqueue a caller-chosen amount of audio, then call
|
|
11
|
+
* {@link start}. The worklet consumes FIFO samples without waiting for the
|
|
12
|
+
* producer. An empty running queue emits silence; later blocks resume at the
|
|
13
|
+
* next available render quantum, without catching up or skipping samples.
|
|
14
|
+
* Browser suspension freezes the audio clock and playback, but writes remain
|
|
15
|
+
* bounded. Readiness does not unlock browser autoplay.
|
|
16
|
+
*
|
|
17
|
+
* Input arrays are copied synchronously and never detached. The private copy
|
|
18
|
+
* is transferred without requiring cross-origin isolation. Values must be
|
|
19
|
+
* finite; nominal full scale is -1..1, with no clipping or normalization here.
|
|
20
|
+
* Resampling, producer timestamps and audiovisual lookahead belong to callers.
|
|
21
|
+
*
|
|
22
|
+
* Own and destroy the source separately from its bus, for example with a scene
|
|
23
|
+
* DestroyScope. Destroying an AudioSystem or bus does not destroy this source.
|
|
24
|
+
*/
|
|
25
|
+
var PcmStreamSource = class {
|
|
26
|
+
channels;
|
|
27
|
+
capacityFrames;
|
|
28
|
+
sampleRate;
|
|
29
|
+
/** Resolves after module loading, even while audio is suspended. Rejects on loading failure or destruction during loading (`AbortError`). */
|
|
30
|
+
ready;
|
|
31
|
+
/** Fires once after close has drained, not on destroy or failure. */
|
|
32
|
+
onEnd = new Signal();
|
|
33
|
+
/** Reports module loading, processor or context closure failures. The source is terminal afterwards. */
|
|
34
|
+
onError = new Signal();
|
|
35
|
+
/** Stable source tap. Bus routing changes preserve caller-created connections; terminal cleanup disconnects it. */
|
|
36
|
+
output;
|
|
37
|
+
_context;
|
|
38
|
+
_state = "loading";
|
|
39
|
+
_node = null;
|
|
40
|
+
_bus = null;
|
|
41
|
+
_busNode = null;
|
|
42
|
+
_cancelBusSetup = null;
|
|
43
|
+
_submittedFrames = 0;
|
|
44
|
+
_highWaterFrames = 0;
|
|
45
|
+
_releasedFrames = 0;
|
|
46
|
+
_playedFrames = 0;
|
|
47
|
+
_underrunFrames = 0;
|
|
48
|
+
_underruns = 0;
|
|
49
|
+
_overflowCount = 0;
|
|
50
|
+
_droppedFrames = 0;
|
|
51
|
+
_clearing = false;
|
|
52
|
+
_resolveReady;
|
|
53
|
+
_rejectReady;
|
|
54
|
+
_onContextState = () => {
|
|
55
|
+
if (this._context.state === "closed" && !this._terminal) this._fail(/* @__PURE__ */ new Error("PcmStreamSource: the audio context was closed."));
|
|
56
|
+
};
|
|
57
|
+
constructor(options) {
|
|
58
|
+
const capacity = options.capacityFrames ?? 8192;
|
|
59
|
+
if (options.channels !== 1 && options.channels !== 2) throw new RangeError("PcmStreamSource requires one or two channels.");
|
|
60
|
+
if (!Number.isInteger(capacity) || capacity < 1 || capacity > 1048576) throw new RangeError("PcmStreamSource capacityFrames must be an integer from 1 to 1048576.");
|
|
61
|
+
this.channels = options.channels;
|
|
62
|
+
this.capacityFrames = capacity;
|
|
63
|
+
this._context = getAudioContext();
|
|
64
|
+
this.sampleRate = this._context.sampleRate;
|
|
65
|
+
this.output = this._context.createGain();
|
|
66
|
+
this.ready = new Promise((resolve, reject) => {
|
|
67
|
+
this._resolveReady = resolve;
|
|
68
|
+
this._rejectReady = reject;
|
|
69
|
+
});
|
|
70
|
+
this.ready.catch(() => {});
|
|
71
|
+
this.bus = options.bus ?? null;
|
|
72
|
+
this._context.addEventListener?.("statechange", this._onContextState);
|
|
73
|
+
if (this._context.state === "closed") this._onContextState();
|
|
74
|
+
else this._load();
|
|
75
|
+
}
|
|
76
|
+
get state() {
|
|
77
|
+
return this._state;
|
|
78
|
+
}
|
|
79
|
+
/** Conservative occupancy: submitted frames minus acknowledged consumed/discarded frames. May lag playback while messages are in flight. */
|
|
80
|
+
get bufferedFrames() {
|
|
81
|
+
return this._submittedFrames - this._releasedFrames;
|
|
82
|
+
}
|
|
83
|
+
/** Queue occupancy in seconds, excluding output-device latency. */
|
|
84
|
+
get bufferedSeconds() {
|
|
85
|
+
return this.bufferedFrames / this.sampleRate;
|
|
86
|
+
}
|
|
87
|
+
/** Lifetime accepted frames. Refused, invalid and empty writes do not increase this count; clear and teardown preserve it. */
|
|
88
|
+
get enqueuedFrames() {
|
|
89
|
+
return this._submittedFrames;
|
|
90
|
+
}
|
|
91
|
+
/** Lifetime maximum bufferedFrames after an accepted write, including transport and unacknowledged consumption. Never exceeds capacityFrames; clear and teardown preserve it. */
|
|
92
|
+
get highWaterFrames() {
|
|
93
|
+
return this._highWaterFrames;
|
|
94
|
+
}
|
|
95
|
+
/** True until the worklet acknowledges clear; writes are refused during this interval. */
|
|
96
|
+
get clearing() {
|
|
97
|
+
return this._clearing;
|
|
98
|
+
}
|
|
99
|
+
/** Lifetime frames actually rendered from PCM, as of the latest worklet report. */
|
|
100
|
+
get playedFrames() {
|
|
101
|
+
return this._playedFrames;
|
|
102
|
+
}
|
|
103
|
+
/** Lifetime silent frames caused by starvation after start; excludes idle, suspended and drained time. */
|
|
104
|
+
get underrunFrames() {
|
|
105
|
+
return this._underrunFrames;
|
|
106
|
+
}
|
|
107
|
+
/** Lifetime contiguous starvation episodes, as of the latest report. */
|
|
108
|
+
get underruns() {
|
|
109
|
+
return this._underruns;
|
|
110
|
+
}
|
|
111
|
+
/** Lifetime blocks refused for insufficient capacity. Other refused writes are not overflow. */
|
|
112
|
+
get overflowCount() {
|
|
113
|
+
return this._overflowCount;
|
|
114
|
+
}
|
|
115
|
+
/** Lifetime frames refused for insufficient capacity; not frames discarded by clear or destroy. */
|
|
116
|
+
get droppedFrames() {
|
|
117
|
+
return this._droppedFrames;
|
|
118
|
+
}
|
|
119
|
+
get bus() {
|
|
120
|
+
return this._bus;
|
|
121
|
+
}
|
|
122
|
+
/** Reroute to a bus input, or disconnect that route with `null`. Does not take ownership of the bus or its effects. */
|
|
123
|
+
set bus(bus) {
|
|
124
|
+
if (this._terminal || bus === this._bus) return;
|
|
125
|
+
this._disconnectBus();
|
|
126
|
+
this._bus = bus;
|
|
127
|
+
if (!bus) return;
|
|
128
|
+
const connect = () => {
|
|
129
|
+
if (this._terminal || this._bus !== bus) return;
|
|
130
|
+
const input = bus.getInputNode();
|
|
131
|
+
if (input) {
|
|
132
|
+
this.output.connect(input);
|
|
133
|
+
this._busNode = input;
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
if (bus.getInputNode()) connect();
|
|
137
|
+
else this._cancelBusSetup = bus.onceSetup(connect);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Begin once, no earlier than `time` in audio-context seconds (default now).
|
|
141
|
+
* Sample positions round up to the next audio frame; a past time starts at
|
|
142
|
+
* the next available quantum. Returns false unless ready and not yet started.
|
|
143
|
+
*/
|
|
144
|
+
start(time = this._context.currentTime) {
|
|
145
|
+
if (this._state !== "ready") return false;
|
|
146
|
+
if (!Number.isFinite(time) || time < 0) throw new RangeError("PcmStreamSource start time must be finite and nonnegative.");
|
|
147
|
+
this._node.port.postMessage({
|
|
148
|
+
type: "start",
|
|
149
|
+
time
|
|
150
|
+
});
|
|
151
|
+
this._state = "running";
|
|
152
|
+
return true;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Copy equal-length mono/stereo channel arrays in FIFO order. Returns false
|
|
156
|
+
* before ready, during clear, after close/failure/destroy, or on overflow.
|
|
157
|
+
* Overflow rejects the entire block before copying. Empty blocks succeed
|
|
158
|
+
* without sending a message. Invalid layout or nonfinite samples throw.
|
|
159
|
+
*/
|
|
160
|
+
enqueuePlanar(channels) {
|
|
161
|
+
if (!this._writable) return false;
|
|
162
|
+
if (channels.length !== this.channels) throw new RangeError("PCM channel count does not match the source.");
|
|
163
|
+
const frames = channels[0].length;
|
|
164
|
+
for (const channel of channels) if (!(channel instanceof Float32Array) || channel.length !== frames) throw new RangeError("PCM channels must be equal-length Float32Arrays.");
|
|
165
|
+
if (!this._admit(frames)) return false;
|
|
166
|
+
for (const channel of channels) this._validateSamples(channel);
|
|
167
|
+
if (frames === 0) return true;
|
|
168
|
+
const packed = new Float32Array(frames * this.channels);
|
|
169
|
+
for (let channel = 0; channel < this.channels; channel++) packed.set(channels[channel], channel * frames);
|
|
170
|
+
return this._submit(packed, frames);
|
|
171
|
+
}
|
|
172
|
+
/** Copy interleaved frames (L,R,L,R for stereo). Same acceptance and ownership contract as {@link enqueuePlanar}. */
|
|
173
|
+
enqueueInterleaved(data) {
|
|
174
|
+
if (!this._writable) return false;
|
|
175
|
+
if (!(data instanceof Float32Array) || data.length % this.channels !== 0) throw new RangeError("PCM must contain whole Float32 frames.");
|
|
176
|
+
const frames = data.length / this.channels;
|
|
177
|
+
if (!this._admit(frames)) return false;
|
|
178
|
+
this._validateSamples(data);
|
|
179
|
+
if (frames === 0) return true;
|
|
180
|
+
const packed = new Float32Array(data.length);
|
|
181
|
+
for (let channel = 0; channel < this.channels; channel++) for (let frame = 0; frame < frames; frame++) packed[channel * frames + frame] = data[frame * this.channels + channel];
|
|
182
|
+
return this._submit(packed, frames);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Discard queued PCM once the worklet receives the command, retaining the
|
|
186
|
+
* start schedule and lifetime counters. Coalesces while pending and refuses
|
|
187
|
+
* new writes until acknowledged. No-op while loading or after close.
|
|
188
|
+
*/
|
|
189
|
+
clear() {
|
|
190
|
+
if (!this._writable) return;
|
|
191
|
+
this._node.port.postMessage({ type: "clear" });
|
|
192
|
+
this._clearing = true;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Refuse further writes and drain. If not started, begin draining immediately;
|
|
196
|
+
* otherwise preserve the scheduled start. Empty tails do not count as
|
|
197
|
+
* underruns. Completes only when the context processes audio; use destroy for
|
|
198
|
+
* immediate cancellation while suspended. Idempotent and terminal.
|
|
199
|
+
*/
|
|
200
|
+
close() {
|
|
201
|
+
if (this._terminal || this._state === "closing") return;
|
|
202
|
+
this._state = "closing";
|
|
203
|
+
this._node?.port.postMessage({ type: "close" });
|
|
204
|
+
}
|
|
205
|
+
/** Stop immediately, discard pending PCM, detach routes and release the port. Idempotent; never destroys the bus or shared context. */
|
|
206
|
+
destroy() {
|
|
207
|
+
if (this._state === "destroyed") return;
|
|
208
|
+
this._state = "destroyed";
|
|
209
|
+
this._rejectReady(new DOMException("PcmStreamSource was destroyed during loading.", "AbortError"));
|
|
210
|
+
this._dispose(true);
|
|
211
|
+
this.onEnd.destroy();
|
|
212
|
+
this.onError.destroy();
|
|
213
|
+
}
|
|
214
|
+
get _terminal() {
|
|
215
|
+
return this._state === "closed" || this._state === "destroyed" || this._state === "failed";
|
|
216
|
+
}
|
|
217
|
+
get _writable() {
|
|
218
|
+
return (this._state === "ready" || this._state === "running") && !this._clearing;
|
|
219
|
+
}
|
|
220
|
+
_admit(frames) {
|
|
221
|
+
if (frames <= this.capacityFrames - this.bufferedFrames) return true;
|
|
222
|
+
this._overflowCount++;
|
|
223
|
+
this._droppedFrames += frames;
|
|
224
|
+
return false;
|
|
225
|
+
}
|
|
226
|
+
_validateSamples(data) {
|
|
227
|
+
for (const sample of data) if (!Number.isFinite(sample)) throw new RangeError("PCM samples must be finite.");
|
|
228
|
+
}
|
|
229
|
+
_submit(data, frames) {
|
|
230
|
+
this._node.port.postMessage({
|
|
231
|
+
type: "write",
|
|
232
|
+
data
|
|
233
|
+
}, [data.buffer]);
|
|
234
|
+
this._submittedFrames += frames;
|
|
235
|
+
this._highWaterFrames = Math.max(this._highWaterFrames, this.bufferedFrames);
|
|
236
|
+
return true;
|
|
237
|
+
}
|
|
238
|
+
async _load() {
|
|
239
|
+
try {
|
|
240
|
+
await registerAudioWorkletProcessor(this._context, "exojs-pcm-stream", pcm_stream_worklet_default);
|
|
241
|
+
if (this._terminal) return;
|
|
242
|
+
const node = new AudioWorkletNode(this._context, "exojs-pcm-stream", {
|
|
243
|
+
numberOfInputs: 0,
|
|
244
|
+
numberOfOutputs: 1,
|
|
245
|
+
outputChannelCount: [this.channels],
|
|
246
|
+
processorOptions: {
|
|
247
|
+
channels: this.channels,
|
|
248
|
+
capacityFrames: this.capacityFrames
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
this._node = node;
|
|
252
|
+
node.port.onmessage = (event) => this._receive(event.data);
|
|
253
|
+
node.onprocessorerror = () => this._fail(/* @__PURE__ */ new Error("PcmStreamSource: the audio processor failed."));
|
|
254
|
+
node.connect(this.output);
|
|
255
|
+
if (this._state === "closing") node.port.postMessage({ type: "close" });
|
|
256
|
+
else this._state = "ready";
|
|
257
|
+
this._resolveReady();
|
|
258
|
+
} catch (error) {
|
|
259
|
+
if (!this._terminal) this._fail(error instanceof Error ? error : new Error(String(error)));
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
_receive(status) {
|
|
263
|
+
if (this._terminal) return;
|
|
264
|
+
this._releasedFrames = status.releasedFrames;
|
|
265
|
+
this._playedFrames = status.playedFrames;
|
|
266
|
+
this._underrunFrames = status.underrunFrames;
|
|
267
|
+
this._underruns = status.underruns;
|
|
268
|
+
if (status.type === "status") this._node.port.postMessage({ type: "ack" });
|
|
269
|
+
if (status.type === "cleared") this._clearing = false;
|
|
270
|
+
if (status.type === "ended") {
|
|
271
|
+
this._state = "closed";
|
|
272
|
+
this._dispose(false);
|
|
273
|
+
this.onEnd.dispatch();
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
_fail(error) {
|
|
277
|
+
if (this._terminal) return;
|
|
278
|
+
this._state = "failed";
|
|
279
|
+
this._rejectReady(error);
|
|
280
|
+
this._dispose(true);
|
|
281
|
+
this.onError.dispatch(error);
|
|
282
|
+
}
|
|
283
|
+
_disconnectBus() {
|
|
284
|
+
this._cancelBusSetup?.();
|
|
285
|
+
this._cancelBusSetup = null;
|
|
286
|
+
if (this._busNode) this.output.disconnect(this._busNode);
|
|
287
|
+
this._busNode = null;
|
|
288
|
+
}
|
|
289
|
+
_dispose(terminate) {
|
|
290
|
+
this._context.removeEventListener?.("statechange", this._onContextState);
|
|
291
|
+
this._disconnectBus();
|
|
292
|
+
if (this._node) {
|
|
293
|
+
if (terminate) this._node.port.postMessage({ type: "destroy" });
|
|
294
|
+
this._node.port.onmessage = null;
|
|
295
|
+
this._node.onprocessorerror = null;
|
|
296
|
+
this._node.disconnect();
|
|
297
|
+
this._node.port.close();
|
|
298
|
+
this._node = null;
|
|
299
|
+
}
|
|
300
|
+
this.output.disconnect();
|
|
301
|
+
this._releasedFrames = this._submittedFrames;
|
|
302
|
+
this._clearing = false;
|
|
303
|
+
}
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
//#endregion
|
|
307
|
+
export { PcmStreamSource };
|
|
308
|
+
//# sourceMappingURL=PcmStreamSource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PcmStreamSource.js","names":["pcmStreamWorkletSource"],"sources":["../../src/PcmStreamSource.ts"],"sourcesContent":["import { type AudioBus, getAudioContext, registerAudioWorkletProcessor, type Seconds, Signal } from '@codexo/exojs';\n\nimport pcmStreamWorkletSource from './worklets/pcm-stream.worklet.ts?worklet';\n\nexport interface PcmStreamSourceOptions {\n /** Fixed channel count. PCM is not remixed or resampled by this source. */\n channels: 1 | 2;\n /** Maximum outstanding frames, including messages in transit. Integer 1..1048576; default 8192. This is a capacity, not a target latency. */\n capacityFrames?: number;\n /** Destination bus. Default `null` leaves the output disconnected. Ownership stays with the caller. */\n bus?: AudioBus | null;\n}\n\nexport type PcmStreamState = 'loading' | 'ready' | 'running' | 'closing' | 'closed' | 'failed' | 'destroyed';\n\ninterface PcmStatus {\n type: 'status' | 'cleared' | 'ended';\n releasedFrames: number;\n playedFrames: number;\n underrunFrames: number;\n underruns: number;\n}\n\n/**\n * A bounded, externally fed Float32 PCM source at the shared AudioContext's\n * sample rate. Lives in `@codexo/exojs-audio-fx`; no extension registration is\n * required. Feed a bus or connect {@link output} to an analysis tap.\n *\n * Await {@link ready}, enqueue a caller-chosen amount of audio, then call\n * {@link start}. The worklet consumes FIFO samples without waiting for the\n * producer. An empty running queue emits silence; later blocks resume at the\n * next available render quantum, without catching up or skipping samples.\n * Browser suspension freezes the audio clock and playback, but writes remain\n * bounded. Readiness does not unlock browser autoplay.\n *\n * Input arrays are copied synchronously and never detached. The private copy\n * is transferred without requiring cross-origin isolation. Values must be\n * finite; nominal full scale is -1..1, with no clipping or normalization here.\n * Resampling, producer timestamps and audiovisual lookahead belong to callers.\n *\n * Own and destroy the source separately from its bus, for example with a scene\n * DestroyScope. Destroying an AudioSystem or bus does not destroy this source.\n */\nexport class PcmStreamSource {\n public readonly channels: 1 | 2;\n public readonly capacityFrames: number;\n public readonly sampleRate: number;\n /** Resolves after module loading, even while audio is suspended. Rejects on loading failure or destruction during loading (`AbortError`). */\n public readonly ready: Promise<void>;\n /** Fires once after close has drained, not on destroy or failure. */\n public readonly onEnd = new Signal();\n /** Reports module loading, processor or context closure failures. The source is terminal afterwards. */\n public readonly onError = new Signal<[Error]>();\n /** Stable source tap. Bus routing changes preserve caller-created connections; terminal cleanup disconnects it. */\n public readonly output: GainNode;\n\n private readonly _context: AudioContext;\n private _state: PcmStreamState = 'loading';\n private _node: AudioWorkletNode | null = null;\n private _bus: AudioBus | null = null;\n private _busNode: AudioNode | null = null;\n private _cancelBusSetup: (() => void) | null = null;\n private _submittedFrames = 0;\n private _highWaterFrames = 0;\n private _releasedFrames = 0;\n private _playedFrames = 0;\n private _underrunFrames = 0;\n private _underruns = 0;\n private _overflowCount = 0;\n private _droppedFrames = 0;\n private _clearing = false;\n private _resolveReady!: () => void;\n private _rejectReady!: (error: Error) => void;\n private readonly _onContextState = (): void => {\n if (this._context.state === 'closed' && !this._terminal) {\n this._fail(new Error('PcmStreamSource: the audio context was closed.'));\n }\n };\n\n public constructor(options: PcmStreamSourceOptions) {\n const capacity = options.capacityFrames ?? 8192;\n if (options.channels !== 1 && options.channels !== 2) {\n throw new RangeError('PcmStreamSource requires one or two channels.');\n }\n if (!Number.isInteger(capacity) || capacity < 1 || capacity > 1048576) {\n throw new RangeError('PcmStreamSource capacityFrames must be an integer from 1 to 1048576.');\n }\n this.channels = options.channels;\n this.capacityFrames = capacity;\n this._context = getAudioContext();\n this.sampleRate = this._context.sampleRate;\n this.output = this._context.createGain();\n this.ready = new Promise<void>((resolve, reject) => {\n this._resolveReady = resolve;\n this._rejectReady = reject;\n });\n void this.ready.catch(() => {\n // Cancellation may precede the caller's await; keep that original rejection observable.\n });\n this.bus = options.bus ?? null;\n this._context.addEventListener?.('statechange', this._onContextState);\n if (this._context.state === 'closed') {\n this._onContextState();\n } else {\n void this._load();\n }\n }\n\n public get state(): PcmStreamState {\n return this._state;\n }\n\n /** Conservative occupancy: submitted frames minus acknowledged consumed/discarded frames. May lag playback while messages are in flight. */\n public get bufferedFrames(): number {\n return this._submittedFrames - this._releasedFrames;\n }\n\n /** Queue occupancy in seconds, excluding output-device latency. */\n public get bufferedSeconds(): Seconds {\n return (this.bufferedFrames / this.sampleRate) as Seconds;\n }\n\n /** Lifetime accepted frames. Refused, invalid and empty writes do not increase this count; clear and teardown preserve it. */\n public get enqueuedFrames(): number {\n return this._submittedFrames;\n }\n\n /** Lifetime maximum bufferedFrames after an accepted write, including transport and unacknowledged consumption. Never exceeds capacityFrames; clear and teardown preserve it. */\n public get highWaterFrames(): number {\n return this._highWaterFrames;\n }\n\n /** True until the worklet acknowledges clear; writes are refused during this interval. */\n public get clearing(): boolean {\n return this._clearing;\n }\n\n /** Lifetime frames actually rendered from PCM, as of the latest worklet report. */\n public get playedFrames(): number {\n return this._playedFrames;\n }\n\n /** Lifetime silent frames caused by starvation after start; excludes idle, suspended and drained time. */\n public get underrunFrames(): number {\n return this._underrunFrames;\n }\n\n /** Lifetime contiguous starvation episodes, as of the latest report. */\n public get underruns(): number {\n return this._underruns;\n }\n\n /** Lifetime blocks refused for insufficient capacity. Other refused writes are not overflow. */\n public get overflowCount(): number {\n return this._overflowCount;\n }\n\n /** Lifetime frames refused for insufficient capacity; not frames discarded by clear or destroy. */\n public get droppedFrames(): number {\n return this._droppedFrames;\n }\n\n public get bus(): AudioBus | null {\n return this._bus;\n }\n\n /** Reroute to a bus input, or disconnect that route with `null`. Does not take ownership of the bus or its effects. */\n public set bus(bus: AudioBus | null) {\n if (this._terminal || bus === this._bus) return;\n this._disconnectBus();\n this._bus = bus;\n if (!bus) return;\n const connect = (): void => {\n if (this._terminal || this._bus !== bus) return;\n const input = bus.getInputNode();\n if (input) {\n this.output.connect(input);\n this._busNode = input;\n }\n };\n if (bus.getInputNode()) connect();\n else this._cancelBusSetup = bus.onceSetup(connect);\n }\n\n /**\n * Begin once, no earlier than `time` in audio-context seconds (default now).\n * Sample positions round up to the next audio frame; a past time starts at\n * the next available quantum. Returns false unless ready and not yet started.\n */\n public start(time = this._context.currentTime): boolean {\n if (this._state !== 'ready') return false;\n if (!Number.isFinite(time) || time < 0) throw new RangeError('PcmStreamSource start time must be finite and nonnegative.');\n this._node!.port.postMessage({ type: 'start', time });\n this._state = 'running';\n return true;\n }\n\n /**\n * Copy equal-length mono/stereo channel arrays in FIFO order. Returns false\n * before ready, during clear, after close/failure/destroy, or on overflow.\n * Overflow rejects the entire block before copying. Empty blocks succeed\n * without sending a message. Invalid layout or nonfinite samples throw.\n */\n public enqueuePlanar(channels: readonly Float32Array[]): boolean {\n if (!this._writable) return false;\n if (channels.length !== this.channels) throw new RangeError('PCM channel count does not match the source.');\n const frames = channels[0]!.length;\n for (const channel of channels) {\n if (!(channel instanceof Float32Array) || channel.length !== frames) throw new RangeError('PCM channels must be equal-length Float32Arrays.');\n }\n if (!this._admit(frames)) return false;\n for (const channel of channels) this._validateSamples(channel);\n if (frames === 0) return true;\n const packed = new Float32Array(frames * this.channels);\n for (let channel = 0; channel < this.channels; channel++) packed.set(channels[channel]!, channel * frames);\n return this._submit(packed, frames);\n }\n\n /** Copy interleaved frames (L,R,L,R for stereo). Same acceptance and ownership contract as {@link enqueuePlanar}. */\n public enqueueInterleaved(data: Float32Array): boolean {\n if (!this._writable) return false;\n if (!(data instanceof Float32Array) || data.length % this.channels !== 0) throw new RangeError('PCM must contain whole Float32 frames.');\n const frames = data.length / this.channels;\n if (!this._admit(frames)) return false;\n this._validateSamples(data);\n if (frames === 0) return true;\n const packed = new Float32Array(data.length);\n for (let channel = 0; channel < this.channels; channel++) {\n for (let frame = 0; frame < frames; frame++) packed[channel * frames + frame] = data[frame * this.channels + channel]!;\n }\n return this._submit(packed, frames);\n }\n\n /**\n * Discard queued PCM once the worklet receives the command, retaining the\n * start schedule and lifetime counters. Coalesces while pending and refuses\n * new writes until acknowledged. No-op while loading or after close.\n */\n public clear(): void {\n if (!this._writable) return;\n this._node!.port.postMessage({ type: 'clear' });\n this._clearing = true;\n }\n\n /**\n * Refuse further writes and drain. If not started, begin draining immediately;\n * otherwise preserve the scheduled start. Empty tails do not count as\n * underruns. Completes only when the context processes audio; use destroy for\n * immediate cancellation while suspended. Idempotent and terminal.\n */\n public close(): void {\n if (this._terminal || this._state === 'closing') return;\n this._state = 'closing';\n this._node?.port.postMessage({ type: 'close' });\n }\n\n /** Stop immediately, discard pending PCM, detach routes and release the port. Idempotent; never destroys the bus or shared context. */\n public destroy(): void {\n if (this._state === 'destroyed') return;\n this._state = 'destroyed';\n this._rejectReady(new DOMException('PcmStreamSource was destroyed during loading.', 'AbortError'));\n this._dispose(true);\n this.onEnd.destroy();\n this.onError.destroy();\n }\n\n private get _terminal(): boolean {\n return this._state === 'closed' || this._state === 'destroyed' || this._state === 'failed';\n }\n\n private get _writable(): boolean {\n return (this._state === 'ready' || this._state === 'running') && !this._clearing;\n }\n\n private _admit(frames: number): boolean {\n if (frames <= this.capacityFrames - this.bufferedFrames) return true;\n this._overflowCount++;\n this._droppedFrames += frames;\n return false;\n }\n\n private _validateSamples(data: Float32Array): void {\n for (const sample of data) {\n if (!Number.isFinite(sample)) throw new RangeError('PCM samples must be finite.');\n }\n }\n\n private _submit(data: Float32Array, frames: number): boolean {\n this._node!.port.postMessage({ type: 'write', data }, [data.buffer]);\n this._submittedFrames += frames;\n this._highWaterFrames = Math.max(this._highWaterFrames, this.bufferedFrames);\n return true;\n }\n\n private async _load(): Promise<void> {\n try {\n await registerAudioWorkletProcessor(this._context, 'exojs-pcm-stream', pcmStreamWorkletSource);\n if (this._terminal) return;\n const node = new AudioWorkletNode(this._context, 'exojs-pcm-stream', {\n numberOfInputs: 0,\n numberOfOutputs: 1,\n outputChannelCount: [this.channels],\n processorOptions: { channels: this.channels, capacityFrames: this.capacityFrames },\n });\n this._node = node;\n node.port.onmessage = (event: MessageEvent<PcmStatus>): void => this._receive(event.data);\n node.onprocessorerror = (): void => this._fail(new Error('PcmStreamSource: the audio processor failed.'));\n node.connect(this.output);\n if (this._state === 'closing') node.port.postMessage({ type: 'close' });\n else this._state = 'ready';\n this._resolveReady();\n } catch (error) {\n if (!this._terminal) this._fail(error instanceof Error ? error : new Error(String(error)));\n }\n }\n\n private _receive(status: PcmStatus): void {\n if (this._terminal) return;\n this._releasedFrames = status.releasedFrames;\n this._playedFrames = status.playedFrames;\n this._underrunFrames = status.underrunFrames;\n this._underruns = status.underruns;\n if (status.type === 'status') this._node!.port.postMessage({ type: 'ack' });\n if (status.type === 'cleared') this._clearing = false;\n if (status.type === 'ended') {\n this._state = 'closed';\n this._dispose(false);\n this.onEnd.dispatch();\n }\n }\n\n private _fail(error: Error): void {\n if (this._terminal) return;\n this._state = 'failed';\n this._rejectReady(error);\n this._dispose(true);\n this.onError.dispatch(error);\n }\n\n private _disconnectBus(): void {\n this._cancelBusSetup?.();\n this._cancelBusSetup = null;\n if (this._busNode) this.output.disconnect(this._busNode);\n this._busNode = null;\n }\n\n private _dispose(terminate: boolean): void {\n this._context.removeEventListener?.('statechange', this._onContextState);\n this._disconnectBus();\n if (this._node) {\n if (terminate) this._node.port.postMessage({ type: 'destroy' });\n this._node.port.onmessage = null;\n this._node.onprocessorerror = null;\n this._node.disconnect();\n this._node.port.close();\n this._node = null;\n }\n this.output.disconnect();\n this._releasedFrames = this._submittedFrames;\n this._clearing = false;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA2CA,IAAa,kBAAb,MAA6B;CAC3B,AAAgB;CAChB,AAAgB;CAChB,AAAgB;;CAEhB,AAAgB;;CAEhB,AAAgB,QAAQ,IAAI,OAAO;;CAEnC,AAAgB,UAAU,IAAI,OAAgB;;CAE9C,AAAgB;CAEhB,AAAiB;CACjB,AAAQ,SAAyB;CACjC,AAAQ,QAAiC;CACzC,AAAQ,OAAwB;CAChC,AAAQ,WAA6B;CACrC,AAAQ,kBAAuC;CAC/C,AAAQ,mBAAmB;CAC3B,AAAQ,mBAAmB;CAC3B,AAAQ,kBAAkB;CAC1B,AAAQ,gBAAgB;CACxB,AAAQ,kBAAkB;CAC1B,AAAQ,aAAa;CACrB,AAAQ,iBAAiB;CACzB,AAAQ,iBAAiB;CACzB,AAAQ,YAAY;CACpB,AAAQ;CACR,AAAQ;CACR,AAAiB,wBAA8B;EAC7C,IAAI,KAAK,SAAS,UAAU,YAAY,CAAC,KAAK,WAC5C,KAAK,sBAAM,IAAI,MAAM,gDAAgD,CAAC;CAE1E;CAEA,AAAO,YAAY,SAAiC;EAClD,MAAM,WAAW,QAAQ,kBAAkB;EAC3C,IAAI,QAAQ,aAAa,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U,KAAK,MAAO,KAAK,YAAY,EAAE,MAAM,MAAM,CAAC;EAC1E,IAAI,OAAO,SAAS,WAAW,KAAK,YAAY;EAChD,IAAI,OAAO,SAAS,SAAS;GAC3B,KAAK,SAAS;GACd,KAAK,SAAS,KAAK;GACnB,KAAK,MAAM,SAAS;EACtB;CACF;CAEA,AAAQ,MAAM,OAAoB;EAChC,IAAI,KAAK,WAAW;EACpB,KAAK,SAAS;EACd,KAAK,aAAa,KAAK;EACvB,KAAK,SAAS,IAAI;EAClB,KAAK,QAAQ,SAAS,KAAK;CAC7B;CAEA,AAAQ,iBAAuB;EAC7B,KAAK,kBAAkB;EACvB,KAAK,kBAAkB;EACvB,IAAI,KAAK,UAAU,KAAK,OAAO,WAAW,KAAK,QAAQ;EACvD,KAAK,WAAW;CAClB;CAEA,AAAQ,SAAS,WAA0B;EACzC,KAAK,SAAS,sBAAsB,eAAe,KAAK,eAAe;EACvE,KAAK,eAAe;EACpB,IAAI,KAAK,OAAO;GACd,IAAI,WAAW,KAAK,MAAM,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;GAC9D,KAAK,MAAM,KAAK,YAAY;GAC5B,KAAK,MAAM,mBAAmB;GAC9B,KAAK,MAAM,WAAW;GACtB,KAAK,MAAM,KAAK,MAAM;GACtB,KAAK,QAAQ;EACf;EACA,KAAK,OAAO,WAAW;EACvB,KAAK,kBAAkB,KAAK;EAC5B,KAAK,YAAY;CACnB;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fft.d.ts","sourceRoot":"","sources":["../../../src/dsp/fft.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,gEAAgE;AAChE,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"fft.d.ts","sourceRoot":"","sources":["../../../src/dsp/fft.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,gEAAgE;AAChE,eAAO,MAAM,UAAU,SAAU,YAAY,QAAQ,YAAY,KAAG,IAOnE,CAAC;AAuBF;;;GAGG;AACH,eAAO,MAAM,GAAG,SAAU,YAAY,QAAQ,YAAY,KAAG,IAsB5D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,SAAU,YAAY,QAAQ,YAAY,KAAG,YAO1E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mel.d.ts","sourceRoot":"","sources":["../../../src/dsp/mel.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,yBAAyB;AACzB,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"mel.d.ts","sourceRoot":"","sources":["../../../src/dsp/mel.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,yBAAyB;AACzB,eAAO,MAAM,OAAO,OAAQ,MAAM,KAAG,MAAyC,CAAC;AAE/E,yBAAyB;AACzB,eAAO,MAAM,OAAO,QAAS,MAAM,KAAG,MAA8C,CAAC;AAErF,MAAM,WAAW,OAAO;IACtB,gEAAgE;IAChE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,4CAA4C;IAC5C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,8DAA8D;IAC9D,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,kFAAkF;IAClF,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC;CAChC;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,cAAe,MAAM,QAAQ,MAAM,QAAQ,MAAM,WAAW,MAAM,cAAc,MAAM,KAAG,OAAO,EA2C9H,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,QAAS,YAAY,SAAS,SAAS,OAAO,EAAE,QAAQ,YAAY,KAAG,YAWlG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tempogram.d.ts","sourceRoot":"","sources":["../../../src/dsp/tempogram.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;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AW,CAAC,CAAC,KAAK,EAAE,MAAM,EAKzB;IAED;;;;OAIG;IACH,IAAW,UAAU,IAAI,MAAM,CAE9B;IAED,IAAW,UAAU,CAAC,KAAK,EAAE,MAAM,EAKlC;IAED;;;OAGG;IACH,IAAW,GAAG,IAAI,MAAM,CAEvB;IAED,IAAW,GAAG,CAAC,KAAK,EAAE,MAAM,EAO3B;IAMe,OAAO,IAAI,IAAI,CAa9B;IAMD,8EAA8E;IAC9E,OAAO,CAAC,gBAAgB;IAIxB;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAUlC,OAAO,CAAC,WAAW;CA4DpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BitCrusherEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/BitCrusherEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oCAAoC;IACpC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,gBAAiB,SAAQ,aAAa;IACjD,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,mBAAmB,CAAS;
|
|
1
|
+
{"version":3,"file":"BitCrusherEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/BitCrusherEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oCAAoC;IACpC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,gBAAiB,SAAQ,aAAa;IACjD,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,mBAAmB,CAAS;IAEpC,YAAmB,OAAO,GAAE,uBAA4B,EAKvD;IAED,SAAS,KAAK,YAAY,IAAI,MAAM,CAEnC;IACD,SAAS,KAAK,cAAc,IAAI,MAAM,CAErC;IAED,UAAmB,eAAe,IAAI,IAAI,CAGzC;IAED;;;OAGG;IACH,IAAW,IAAI,IAAI,MAAM,CAExB;IACD,IAAW,IAAI,CAAC,KAAK,EAAE,MAAM,EAG5B;IAED;;;;OAIG;IACH,IAAW,kBAAkB,IAAI,MAAM,CAEtC;IACD,IAAW,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAG1C;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChorusEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/ChorusEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA6D,MAAM,eAAe,CAAC;AAEvG,qDAAqD;AACrD,MAAM,WAAW,mBAAmB;IAClC,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAYD;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,OAAO,CAAC,MAAM,CAAkC;IAChD,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAGnC;IACF,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,IAAI,CAAS;
|
|
1
|
+
{"version":3,"file":"ChorusEffect.d.ts","sourceRoot":"","sources":["../../../src/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Root":"","sources":["../../../src/effects/CompressorEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA6D,MAAM,eAAe,CAAC;AAEvG,qHAAqH;AACrH,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sHAAsH;IACtH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4HAA4H;IAC5H,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;GAKG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,OAAO,CAAC,KAAK,CAAuC;IACpD,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAGnC;IACF,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,QAAQ,CAAS;
|
|
1
|
+
{"version":3,"file":"CompressorEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/CompressorEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA6D,MAAM,eAAe,CAAC;AAEvG,qHAAqH;AACrH,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sHAAsH;IACtH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4HAA4H;IAC5H,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;GAKG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,OAAO,CAAC,KAAK,CAAuC;IACpD,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAGnC;IACF,OAAO,CAAC,KAAK,CAAS;IACtB,OA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AAS,CAGjC;IAED;;;OAGG;IACH,IAAW,GAAG,IAAI,MAAM,CAEvB;IAED,IAAW,GAAG,CAAC,KAAK,EAAE,MAAM,EAO3B;IAED;;;;;;;OAOG;IACH,IAAW,SAAS,IAAI,OAAO,CAE9B;IAED,IAAW,SAAS,CAAC,KAAK,EAAE,OAAO,EAYlC;IAED;;;;OAIG;IACH,IAAW,IAAI,IAAI,MAAM,CAExB;IAED,IAAW,IAAI,CAAC,KAAK,EAAE,MAAM,EAM5B;IAED;;;;;;;;OAQG;IACI,UAAU,CAAC,EAAE,EAAE,WAAW,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,CA4BtD;IAED,4DAA4D;IAC5D,OAAO,CAAC,aAAa;IAUL,OAAO,IAAI,IAAI,CAU9B;IAED,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,WAAW;CAkCpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DelayEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/DelayEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA6D,MAAM,eAAe,CAAC;AAEvG,oDAAoD;AACpD,MAAM,WAAW,kBAAkB;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAWD;;;;;;GAMG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C,OAAO,CAAC,MAAM,CAAiC;IAC/C,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAGnC;IACF,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,IAAI,CAAS;
|
|
1
|
+
{"version":3,"file":"DelayEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/DelayEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA6D,MAAM,eAAe,CAAC;AAEvG,oDAAoD;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,GAAG,IAAI,MAAM,CAEvB;IAED,IAAW,GAAG,CAAC,KAAK,EAAE,MAAM,EAO3B;IAED;;;OAGG;IACH,IAAW,UAAU,IAAI,cAAc,CAEtC;IAED,IAAW,UAAU,CAAC,KAAK,EAAE,cAAc,EAK1C;IAED;;;;OAIG;IACH,IAAW,IAAI,IAAI,MAAM,CAExB;IAED,IAAW,IAAI,CAAC,KAAK,EAAE,MAAM,EAM5B;IAEe,OAAO,IAAI,IAAI,CAW9B;IAED;;;;;;;;OAQG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;IAa1B;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAK/B,OAAO,CAAC,WAAW;CA+BpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DuckingEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/DuckingEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI7D,+EAA+E;AAC/E,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,QAAQ,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,qBAAa,aAAc,SAAQ,aAAa;IAG9C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAyB;IACpD,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,UAAU,CAAS;
|
|
1
|
+
{"version":3,"file":"DuckingEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/DuckingEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AA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|
+
{"version":3,"file":"PingPongDelayEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/PingPongDelayEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA6D,MAAM,eAAe,CAAC;AAEvG,4DAA4D;AAC5D,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAeD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,mBAAoB,SAAQ,WAAW;IAClD,OAAO,CAAC,MAAM,CAAyC;IACvD,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAGnC;IAEF,YAAmB,OAAO,GAAE,0BAA+B,EAU1D;IAED;;;OAGG;IACH,IAAW,SAAS,IAAI,SAAS,CAGhC;IAED;;;OAGG;IACH,IAAW,UAAU,IAAI,SAAS,CAGjC;IAED;;;;OAIG;IACH,IAAW,SAAS,IAAI,MAAM,CAE7B;IAED,IAAW,SAAS,CAAC,KAAK,EAAE,MAAM,EAOjC;IAED;;;;;OAKG;IACH,IAAW,QAAQ,IAAI,MAAM,CAE5B;IAED,IAAW,QAAQ,CAAC,KAAK,EAAE,MAAM,EAOhC;IAED;;;OAGG;IACH,IAAW,GAAG,IAAI,MAAM,CAEvB;IAED,IAAW,GAAG,CAAC,KAAK,EAAE,MAAM,EAO3B;IAEe,OAAO,IAAI,IAAI,CAe9B;IAED,OAAO,CAAC,WAAW;CA+DpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PitchShiftEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/PitchShiftEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,MAAM,WAAW,uBAAuB;IACtC,qFAAqF;IACrF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,gBAAiB,SAAQ,aAAa;IACjD,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;
|
|
1
|
+
{"version":3,"file":"PitchShiftEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/PitchShiftEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,MAAM,WAAW,uBAAuB;IACtC,qFAAqF;IACrF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,gBAAiB,SAAQ,aAAa;IACjD,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IAEpC,YAAmB,OAAO,GAAE,uBAA4B,EAKvD;IAED,SAAS,KAAK,YAAY,IAAI,MAAM,CAEnC;IAED,SAAS,KAAK,cAAc,IAAI,MAAM,CAErC;IAED,cAAuB,kBAAkB,IAAI,MAAM,CAIlD;IAED,cAAuB,eAAe,IAAI,uBAAuB,CAMhE;IAED,UAAmB,eAAe,IAAI,IAAI,CAEzC;IAED,uIAAuI;IACvI,IAAW,KAAK,IAAI,MAAM,CAEzB;IACD,IAAW,KAAK,CAAC,KAAK,EAAE,MAAM,EAG7B;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReverbEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/ReverbEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA6D,MAAM,eAAe,CAAC;AAEvG,qDAAqD;AACrD,MAAM,WAAW,mBAAmB;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAUD;;;;;;;GAOG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,OAAO,CAAC,MAAM,CAAkC;IAChD,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAGnC;IACF,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,IAAI,CAAS;
|
|
1
|
+
{"version":3,"file":"ReverbEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/ReverbEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA6D,MAAM,eAAe,CAAC;AAEvG,qDAAqD;AACrD,MAAM,WAAW,mBAAmB;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAUD;;;;;;;GAOG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,OAAO,CAAC,MAAM,CAAkC;IAChD,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAGnC;IACF,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,IAAI,CAAS;IAErB,YAAmB,OAAO,GAAE,mBAAwB,EAUnD;IAED,IAAW,SAAS,IAAI,SAAS,CAGhC;IAED,IAAW,UAAU,IAAI,SAAS,CAGjC;IAED,0HAA0H;IAC1H,IAAW,eAAe,IAAI,MAAM,CAEnC;IAED,IAAW,eAAe,CAAC,KAAK,EAAE,MAAM,EAKvC;IAED,0KAA0K;IAC1K,IAAW,KAAK,IAAI,MAAM,CAEzB;IAED,IAAW,KAAK,CAAC,KAAK,EAAE,MAAM,EAK7B;IAED,iGAAiG;IACjG,IAAW,GAAG,IAAI,MAAM,CAEvB;IAED,IAAW,GAAG,CAAC,KAAK,EAAE,MAAM,EAO3B;IAEe,OAAO,IAAI,IAAI,CAU9B;IAED,OAAO,CAAC,wBAAwB;IAchC,OAAO,CAAC,WAAW;CAyBpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RingModulatorEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/RingModulatorEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA6D,MAAM,eAAe,CAAC;AAEvG,4DAA4D;AAC5D,MAAM,WAAW,0BAA0B;IACzC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAWD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,qBAAa,mBAAoB,SAAQ,WAAW;IAClD,OAAO,CAAC,MAAM,CAAyC;IACvD,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,SAAS,CAAiB;IAClC,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAGnC;
|
|
1
|
+
{"version":3,"file":"RingModulatorEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/RingModulatorEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA6D,MAAM,eAAe,CAAC;AAEvG,4DAA4D;AAC5D,MAAM,WAAW,0BAA0B;IACzC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd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K,CAAC,KAAK,EAAE,MAAM,EAU7B;IAED;;;OAGG;IACH,IAAW,OAAO,IAAI,OAAO,CAE5B;IAED;;;OAGG;IACH,IAAW,GAAG,IAAI,MAAM,CAEvB;IAED,IAAW,GAAG,CAAC,KAAK,EAAE,MAAM,EAO3B;IAEe,OAAO,IAAI,IAAI,CAe9B;IAED,OAAO,CAAC,WAAW;CAyDpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VocoderEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/VocoderEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI7D,MAAM,WAAW,oBAAoB;IACnC;8DAC0D;IAC1D,SAAS,EAAE,QAAQ,CAAC;IACpB,uFAAuF;IACvF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;sDACkD;IAClD,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;;GAQG;AACH,qBAAa,aAAc,SAAQ,aAAa;IAG9C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAyB;IACpD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,kBAAkB,CAAS;
|
|
1
|
+
{"version":3,"file":"VocoderEffect.d.ts","sourceRoot":"","sources":["../../../src/effects/VocoderEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI7D,MAAM,WAAW,oBAAoB;IACnC;8DAC0D;IAC1D,SAAS,EAAE,QAAQ,CAAC;IACpB,uFAAuF;IACvF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;sDACkD;IAClD,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;;GAQG;AACH,qBAAa,aAAc,SAAQ,aAAa;IAG9C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAyB;IACpD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,kBAAkB,CAAS;IAEnC,YAAmB,OAAO,EAAE,oBAAoB,EAY/C;IAED,SAAS,KAAK,YAAY,IAAI,MAAM,CAEnC;IACD,SAAS,KAAK,cAAc,IAAI,MAAM,CAErC;IACD,cAAuB,eAAe,IAAI,uBAAuB,CAWhE;IAED,UAAmB,eAAe,CAAC,aAAa,EAAE,YAAY,GAAG,IAAI,CAmBpE;IAED,2IAA2I;IAC3I,IAAW,iBAAiB,IAAI,MAAM,CAErC;IACD,IAAW,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAGzC;CACF"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -21,4 +21,5 @@ export { ReverbEffect, type ReverbEffectOptions } from './effects/ReverbEffect';
|
|
|
21
21
|
export { RingModulatorEffect, type RingModulatorEffectOptions } from './effects/RingModulatorEffect';
|
|
22
22
|
export { TremoloEffect, type TremoloEffectOptions } from './effects/TremoloEffect';
|
|
23
23
|
export { VocoderEffect, type VocoderEffectOptions } from './effects/VocoderEffect';
|
|
24
|
+
export { PcmStreamSource, type PcmStreamSourceOptions, type PcmStreamState } from './PcmStreamSource';
|
|
24
25
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAIA,YAAY,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzG,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,cAAc,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC1J,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC5F,OAAO,EAAE,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC5F,OAAO,EAAE,iBAAiB,EAAE,KAAK,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,yBAAyB,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oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,KAAK,sBAAsB,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -19,5 +19,6 @@ import { ReverbEffect } from "./effects/ReverbEffect.js";
|
|
|
19
19
|
import { RingModulatorEffect } from "./effects/RingModulatorEffect.js";
|
|
20
20
|
import { TremoloEffect } from "./effects/TremoloEffect.js";
|
|
21
21
|
import { VocoderEffect } from "./effects/VocoderEffect.js";
|
|
22
|
+
import { PcmStreamSource } from "./PcmStreamSource.js";
|
|
22
23
|
|
|
23
|
-
export { AudioAnalyser, AutoWahEffect, BeatDetector, BitCrusherEffect, ChorusEffect, CompressorEffect, ConvolutionEffect, DelayEffect, DistortionEffect, DuckingEffect, EqualizerEffect, FlangerEffect, GranularEffect, LimiterEffect, PhaserEffect, PingPongDelayEffect, PitchShiftEffect, ReverbEffect, RingModulatorEffect, TremoloEffect, VocoderEffect };
|
|
24
|
+
export { AudioAnalyser, AutoWahEffect, BeatDetector, BitCrusherEffect, ChorusEffect, CompressorEffect, ConvolutionEffect, DelayEffect, DistortionEffect, DuckingEffect, EqualizerEffect, FlangerEffect, GranularEffect, LimiterEffect, PcmStreamSource, PhaserEffect, PingPongDelayEffect, PitchShiftEffect, ReverbEffect, RingModulatorEffect, TremoloEffect, VocoderEffect };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region src/worklets/pcm-stream.worklet.ts?worklet
|
|
2
|
+
var pcm_stream_worklet_default = "\"use strict\";\n(() => {\n // pcm-stream.worklet.ts\n var PcmStreamProcessor = class extends AudioWorkletProcessor {\n _channels;\n _capacity;\n _ring;\n _read = 0;\n _write = 0;\n _queued = 0;\n _startFrame = null;\n _closed = false;\n _destroyed = false;\n _starving = false;\n _statusPending = false;\n _dirty = false;\n _telemetry = {\n type: \"status\",\n releasedFrames: 0,\n playedFrames: 0,\n underrunFrames: 0,\n underruns: 0\n };\n constructor(options) {\n super(options);\n const config = options.processorOptions;\n this._channels = config.channels;\n this._capacity = config.capacityFrames;\n this._ring = Array.from({ length: this._channels }, () => new Float32Array(this._capacity));\n this.port.onmessage = (event) => {\n const message = event.data;\n switch (message.type) {\n case \"write\":\n this._enqueue(message.data);\n break;\n case \"start\":\n if (this._startFrame === null && Number.isFinite(message.time)) this._startFrame = Math.ceil(message.time * sampleRate);\n break;\n case \"ack\":\n this._statusPending = false;\n break;\n case \"clear\":\n this._clear();\n this._send(\"cleared\");\n break;\n case \"close\":\n this._closed = true;\n this._startFrame ??= currentFrame;\n break;\n case \"destroy\":\n this._clear();\n this._destroyed = true;\n this.port.onmessage = null;\n break;\n }\n };\n }\n _enqueue(data) {\n if (!(data instanceof Float32Array)) return;\n const frames = Math.floor(data.length / this._channels);\n if (this._closed || data.length % this._channels !== 0 || frames > this._capacity - this._queued) {\n this._telemetry.releasedFrames += frames;\n this._dirty ||= frames > 0;\n return;\n }\n for (let channel = 0; channel < this._channels; channel++) {\n const ring = this._ring[channel];\n const offset = channel * frames;\n for (let frame = 0; frame < frames; frame++) ring[(this._write + frame) % this._capacity] = data[offset + frame];\n }\n this._write = (this._write + frames) % this._capacity;\n this._queued += frames;\n }\n _clear() {\n this._telemetry.releasedFrames += this._queued;\n this._queued = 0;\n this._read = 0;\n this._write = 0;\n }\n _send(type) {\n this._telemetry.type = type;\n this.port.postMessage(this._telemetry);\n this._dirty = false;\n if (type === \"status\") this._statusPending = true;\n }\n process(_inputs, outputs) {\n const output = outputs[0];\n if (output) {\n for (let channel = 0; channel < output.length; channel++) output[channel].fill(0);\n }\n if (this._destroyed) return false;\n const quantum = output?.[0]?.length ?? 0;\n if (this._startFrame !== null) {\n const offset = Math.min(quantum, Math.max(0, this._startFrame - currentFrame));\n const available = quantum - offset;\n const played = Math.min(available, this._queued);\n if (played > 0) {\n for (let channel = 0; channel < this._channels; channel++) {\n const target = output?.[channel];\n if (!target) continue;\n const ring = this._ring[channel];\n for (let frame = 0; frame < played; frame++) target[offset + frame] = ring[(this._read + frame) % this._capacity];\n }\n this._read = (this._read + played) % this._capacity;\n this._queued -= played;\n this._telemetry.playedFrames += played;\n this._telemetry.releasedFrames += played;\n this._starving = false;\n this._dirty = true;\n }\n const missing = available - played;\n if (missing > 0 && !this._closed) {\n this._telemetry.underrunFrames += missing;\n if (!this._starving) this._telemetry.underruns++;\n this._starving = true;\n this._dirty = true;\n }\n }\n if (this._closed && this._queued === 0) {\n this._send(\"ended\");\n this._destroyed = true;\n this.port.onmessage = null;\n return false;\n }\n if (this._dirty && !this._statusPending) this._send(\"status\");\n return true;\n }\n };\n registerProcessor(\"exojs-pcm-stream\", PcmStreamProcessor);\n})();\n";
|
|
3
|
+
|
|
4
|
+
//#endregion
|
|
5
|
+
export { pcm_stream_worklet_default as default };
|
|
6
|
+
//# sourceMappingURL=pcm-stream.worklet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pcm-stream.worklet.js","names":[],"sources":["../../../src/worklets/pcm-stream.worklet.ts?worklet"],"sourcesContent":["export default \"\\\"use strict\\\";\\n(() => {\\n // pcm-stream.worklet.ts\\n var PcmStreamProcessor = class extends AudioWorkletProcessor {\\n _channels;\\n _capacity;\\n _ring;\\n _read = 0;\\n _write = 0;\\n _queued = 0;\\n _startFrame = null;\\n _closed = false;\\n _destroyed = false;\\n _starving = false;\\n _statusPending = false;\\n _dirty = false;\\n _telemetry = {\\n type: \\\"status\\\",\\n releasedFrames: 0,\\n playedFrames: 0,\\n underrunFrames: 0,\\n underruns: 0\\n };\\n constructor(options) {\\n super(options);\\n const config = options.processorOptions;\\n this._channels = config.channels;\\n this._capacity = config.capacityFrames;\\n this._ring = Array.from({ length: this._channels }, () => new Float32Array(this._capacity));\\n this.port.onmessage = (event) => {\\n const message = event.data;\\n switch (message.type) {\\n case \\\"write\\\":\\n this._enqueue(message.data);\\n break;\\n case \\\"start\\\":\\n if (this._startFrame === null && Number.isFinite(message.time)) this._startFrame = Math.ceil(message.time * sampleRate);\\n break;\\n case \\\"ack\\\":\\n this._statusPending = false;\\n break;\\n case \\\"clear\\\":\\n this._clear();\\n this._send(\\\"cleared\\\");\\n break;\\n case \\\"close\\\":\\n this._closed = true;\\n this._startFrame ??= currentFrame;\\n break;\\n case \\\"destroy\\\":\\n this._clear();\\n this._destroyed = true;\\n this.port.onmessage = null;\\n break;\\n }\\n };\\n }\\n _enqueue(data) {\\n if (!(data instanceof Float32Array)) return;\\n const frames = Math.floor(data.length / this._channels);\\n if (this._closed || data.length % this._channels !== 0 || frames > this._capacity - this._queued) {\\n this._telemetry.releasedFrames += frames;\\n this._dirty ||= frames > 0;\\n return;\\n }\\n for (let channel = 0; channel < this._channels; channel++) {\\n const ring = this._ring[channel];\\n const offset = channel * frames;\\n for (let frame = 0; frame < frames; frame++) ring[(this._write + frame) % this._capacity] = data[offset + frame];\\n }\\n this._write = (this._write + frames) % this._capacity;\\n this._queued += frames;\\n }\\n _clear() {\\n this._telemetry.releasedFrames += this._queued;\\n this._queued = 0;\\n this._read = 0;\\n this._write = 0;\\n }\\n _send(type) {\\n this._telemetry.type = type;\\n this.port.postMessage(this._telemetry);\\n this._dirty = false;\\n if (type === \\\"status\\\") this._statusPending = true;\\n }\\n process(_inputs, outputs) {\\n const output = outputs[0];\\n if (output) {\\n for (let channel = 0; channel < output.length; channel++) output[channel].fill(0);\\n }\\n if (this._destroyed) return false;\\n const quantum = output?.[0]?.length ?? 0;\\n if (this._startFrame !== null) {\\n const offset = Math.min(quantum, Math.max(0, this._startFrame - currentFrame));\\n const available = quantum - offset;\\n const played = Math.min(available, this._queued);\\n if (played > 0) {\\n for (let channel = 0; channel < this._channels; channel++) {\\n const target = output?.[channel];\\n if (!target) continue;\\n const ring = this._ring[channel];\\n for (let frame = 0; frame < played; frame++) target[offset + frame] = ring[(this._read + frame) % this._capacity];\\n }\\n this._read = (this._read + played) % this._capacity;\\n this._queued -= played;\\n this._telemetry.playedFrames += played;\\n this._telemetry.releasedFrames += played;\\n this._starving = false;\\n this._dirty = true;\\n }\\n const missing = available - played;\\n if (missing > 0 && !this._closed) {\\n this._telemetry.underrunFrames += missing;\\n if (!this._starving) this._telemetry.underruns++;\\n this._starving = true;\\n this._dirty = true;\\n }\\n }\\n if (this._closed && this._queued === 0) {\\n this._send(\\\"ended\\\");\\n this._destroyed = true;\\n this.port.onmessage = null;\\n return false;\\n }\\n if (this._dirty && !this._statusPending) this._send(\\\"status\\\");\\n return true;\\n }\\n };\\n registerProcessor(\\\"exojs-pcm-stream\\\", PcmStreamProcessor);\\n})();\\n\";"],"mappings":";AAAA,iCAAe"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codexo/exojs-audio-fx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Audio effects, DSP, beat detection and analysis for ExoJS.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"LICENSE"
|
|
27
27
|
],
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@codexo/exojs": "0.
|
|
29
|
+
"@codexo/exojs": "0.19.x"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@codexo/exojs": "0.
|
|
32
|
+
"@codexo/exojs": "0.19.0",
|
|
33
33
|
"@codexo/exojs-config": "0.0.0"
|
|
34
34
|
},
|
|
35
35
|
"license": "MIT",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "tsx ../../scripts/build-extension.ts",
|
|
41
41
|
"build:dev": "tsx ../../scripts/build-extension.ts --dev",
|
|
42
|
-
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json && tsc --noEmit -p tsconfig.worklets.json",
|
|
42
|
+
"typecheck": "exo-tsc --noEmit && exo-tsc --noEmit -p tsconfig.test.json && exo-tsc --noEmit -p tsconfig.worklets.json",
|
|
43
43
|
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
44
44
|
"test": "vitest run --root ../.. --project=exojs-audio-fx"
|
|
45
45
|
}
|