cacophony 0.30.3 → 0.30.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/basePlayback.d.ts +98 -0
- package/dist/cacophony-PShY6dPK.cjs.map +1 -1
- package/dist/cacophony-o1zE5oDP.js.map +1 -1
- package/dist/container.d.ts +10 -105
- package/dist/processors/timestretch-core.d.ts +53 -0
- package/dist/routableSource.d.ts +2 -27
- package/dist/volumeMixin.d.ts +23 -0
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AudioCache.html +4 -4
- package/docs/classes/BarberpoleEffect.html +6 -6
- package/docs/classes/BiquadEffect.html +3 -3
- package/docs/classes/Bus.html +21 -21
- package/docs/classes/Cacophony.html +85 -85
- package/docs/classes/DynamicsEffect.html +6 -6
- package/docs/classes/FdnReverbEffect.html +6 -6
- package/docs/classes/FoaDecoder.html +5 -5
- package/docs/classes/FoaDecoderEffect.html +3 -3
- package/docs/classes/FrequencyShifterEffect.html +6 -6
- package/docs/classes/Group.html +32 -32
- package/docs/classes/HarmonizerEffect.html +6 -6
- package/docs/classes/ImpulseResponseEffect.html +3 -3
- package/docs/classes/KWeightingFilter.html +4 -4
- package/docs/classes/LoudnessMeter.html +11 -11
- package/docs/classes/MediaStreamPlayback.html +78 -113
- package/docs/classes/MediaStreamSound.html +73 -143
- package/docs/classes/MicrophoneStream.html +74 -144
- package/docs/classes/ModulatedDelayEffect.html +6 -6
- package/docs/classes/PcmStreamPlayback.html +79 -114
- package/docs/classes/PcmStreamSound.html +83 -153
- package/docs/classes/PhaserEffect.html +6 -6
- package/docs/classes/Playback.html +94 -122
- package/docs/classes/ReverbEffect.html +6 -6
- package/docs/classes/ShareEffect.html +3 -3
- package/docs/classes/Sound.html +92 -162
- package/docs/classes/SpectralFreezeEffect.html +6 -6
- package/docs/classes/StereoWidenerEffect.html +3 -3
- package/docs/classes/Synth.html +91 -161
- package/docs/classes/SynthGroup.html +28 -28
- package/docs/classes/TremoloEffect.html +6 -6
- package/docs/classes/TruePeakDetector.html +8 -8
- package/docs/classes/WaveshaperEffect.html +6 -6
- package/docs/functions/encodeMonoToFoaSN3D.html +1 -1
- package/docs/functions/integratedLoudness.html +1 -1
- package/docs/functions/integratedUngatedLoudness.html +1 -1
- package/docs/functions/loudnessRange.html +1 -1
- package/docs/functions/timeStretch.html +1 -1
- package/docs/functions/timeStretchChannels.html +1 -1
- package/docs/functions/truePeakDb.html +1 -1
- package/docs/hierarchy.html +7 -7
- package/docs/interfaces/AudioBuffer.html +8 -8
- package/docs/interfaces/AudioBufferSourceNode.html +21 -21
- package/docs/interfaces/AudioEventCallbacks.html +1 -1
- package/docs/interfaces/AudioListener.html +12 -12
- package/docs/interfaces/AudioNode.html +13 -13
- package/docs/interfaces/AudioParam.html +6 -6
- package/docs/interfaces/AudioWorklet.html +2 -2
- package/docs/interfaces/AudioWorkletNode.html +15 -15
- package/docs/interfaces/BarberpoleOptions.html +5 -5
- package/docs/interfaces/BaseContext.html +25 -25
- package/docs/interfaces/BaseSound.html +16 -16
- package/docs/interfaces/BiquadCoefficients.html +6 -6
- package/docs/interfaces/BiquadFilterNode.html +19 -19
- package/docs/interfaces/BuiltEffectGraph.html +6 -6
- package/docs/interfaces/CacheErrorEvent.html +5 -5
- package/docs/interfaces/CacheHitEvent.html +4 -4
- package/docs/interfaces/CacheMissEvent.html +4 -4
- package/docs/interfaces/CacophonyEffect.html +2 -2
- package/docs/interfaces/CacophonyLogger.html +4 -4
- package/docs/interfaces/ChannelMergerNode.html +13 -13
- package/docs/interfaces/ChannelSplitterNode.html +13 -13
- package/docs/interfaces/ConvolverNode.html +15 -15
- package/docs/interfaces/DynamicsOptions.html +7 -7
- package/docs/interfaces/FadeStartEvent.html +4 -4
- package/docs/interfaces/FdnReverbOptions.html +6 -6
- package/docs/interfaces/FoaDecoderOptions.html +2 -2
- package/docs/interfaces/FrequencyShifterOptions.html +3 -3
- package/docs/interfaces/GainNode.html +14 -14
- package/docs/interfaces/GlobalPlaybackEvent.html +3 -3
- package/docs/interfaces/HarmonizerOptions.html +6 -6
- package/docs/interfaces/ImpulseResponseOptions.html +5 -5
- package/docs/interfaces/LoadingCompleteEvent.html +5 -5
- package/docs/interfaces/LoadingErrorEvent.html +5 -5
- package/docs/interfaces/LoadingProgressEvent.html +6 -6
- package/docs/interfaces/LoadingStartEvent.html +3 -3
- package/docs/interfaces/LoudnessChannelInput.html +3 -3
- package/docs/interfaces/LoudnessReading.html +5 -5
- package/docs/interfaces/MediaElementSourceNode.html +14 -14
- package/docs/interfaces/MediaStreamAudioSourceNode.html +14 -14
- package/docs/interfaces/MediaStreamSoundOptions.html +4 -4
- package/docs/interfaces/MicrophoneStreamOptions.html +8 -8
- package/docs/interfaces/ModulatedDelayOptions.html +8 -8
- package/docs/interfaces/OfflineOptions.html +5 -5
- package/docs/interfaces/OscillatorNode.html +19 -19
- package/docs/interfaces/PannerNode.html +27 -27
- package/docs/interfaces/PcmStreamBufferEvent.html +2 -2
- package/docs/interfaces/PcmStreamSoundOptions.html +6 -6
- package/docs/interfaces/PhaserOptions.html +7 -7
- package/docs/interfaces/PlayOptions.html +5 -5
- package/docs/interfaces/PlaybackErrorEvent.html +5 -5
- package/docs/interfaces/ReverbOptions.html +13 -13
- package/docs/interfaces/RuntimeOptions.html +6 -6
- package/docs/interfaces/SoundCleanupHoldings.html +4 -4
- package/docs/interfaces/SoundErrorEvent.html +6 -6
- package/docs/interfaces/SpectralFreezeOptions.html +4 -4
- package/docs/interfaces/StereoPannerNode.html +14 -14
- package/docs/interfaces/StereoWidenerOptions.html +4 -4
- package/docs/interfaces/StreamCapabilities.html +5 -5
- package/docs/interfaces/TimeStretchOptions.html +5 -5
- package/docs/interfaces/TremoloOptions.html +5 -5
- package/docs/interfaces/WaveshaperOptions.html +5 -5
- package/docs/types/BaseAudioEvents.html +11 -11
- package/docs/types/BuiltEffect.html +1 -1
- package/docs/types/BusConnectionTarget.html +1 -1
- package/docs/types/CacheEventCallback.html +1 -1
- package/docs/types/CacophonyEvents.html +17 -17
- package/docs/types/ErrorEventCallback.html +1 -1
- package/docs/types/FadeType.html +1 -1
- package/docs/types/HrtfPannerOptions.html +1 -1
- package/docs/types/ImpulseResponseSource.html +1 -1
- package/docs/types/LoadingEventCallback.html +1 -1
- package/docs/types/LoopCount.html +1 -1
- package/docs/types/LoudnessChannel.html +1 -1
- package/docs/types/Orientation.html +3 -3
- package/docs/types/PanCloneOverrides.html +5 -5
- package/docs/types/PanType.html +1 -1
- package/docs/types/PcmStreamEvents.html +6 -6
- package/docs/types/PcmStreamState.html +1 -1
- package/docs/types/PlaybackEvents.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/SoundEvents.html +1 -1
- package/docs/types/SoundType.html +1 -1
- package/docs/types/SourceNode.html +1 -1
- package/docs/types/SynthEvents.html +1 -1
- package/docs/types/ThreeDOptions.html +1 -1
- package/docs/types/WebCodecsStreamSound.html +1 -1
- package/docs/variables/CHANNEL_WEIGHTS.html +1 -1
- package/docs/variables/K_WEIGHTING_STAGE1_48K.html +1 -1
- package/docs/variables/K_WEIGHTING_STAGE2_48K.html +1 -1
- package/docs/variables/consoleLogger.html +1 -1
- package/docs/variables/noopLogger.html +1 -1
- package/package.json +3 -2
- package/dist/cli/exit.test.d.ts +0 -1
- package/dist/cli/index.test.d.ts +0 -1
- package/dist/cli/live.test.d.ts +0 -1
- package/dist/cli/loudness.test.d.ts +0 -1
- package/dist/cli/package.test.d.ts +0 -1
- package/dist/cli/params.test.d.ts +0 -1
- package/dist/cli/render-core.test.d.ts +0 -1
- package/dist/cli/render.test.d.ts +0 -1
- package/dist/cli/repl.test.d.ts +0 -1
- package/dist/cli/wav.test.d.ts +0 -1
- package/dist/meters/loudness-core.test.d.ts +0 -1
- package/dist/meters/loudness-meter.test.d.ts +0 -1
- package/dist/meters/truepeak-core.test.d.ts +0 -1
|
@@ -21,7 +21,7 @@ across multiple buses.</p>
|
|
|
21
21
|
<ul class="tsd-hierarchy">
|
|
22
22
|
<li><a href="../interfaces/CacophonyEffect.html" class="tsd-signature-type tsd-kind-interface">CacophonyEffect</a></li></ul></section><aside class="tsd-sources">
|
|
23
23
|
<ul>
|
|
24
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
24
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/effects.ts#L153">src/effects.ts:153</a></li></ul></aside>
|
|
25
25
|
<section class="tsd-panel-group tsd-index-group">
|
|
26
26
|
<section class="tsd-panel tsd-index-panel">
|
|
27
27
|
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
@@ -50,7 +50,7 @@ across multiple buses.</p>
|
|
|
50
50
|
<li><span><span class="tsd-kind-parameter">node</span>: <a href="../interfaces/BiquadFilterNode.html" class="tsd-signature-type tsd-kind-interface">BiquadFilterNode</a></span></li></ul></div>
|
|
51
51
|
<h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">BiquadEffect</a></h4><aside class="tsd-sources">
|
|
52
52
|
<ul>
|
|
53
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
53
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/effects.ts#L154">src/effects.ts:154</a></li></ul></aside></div></li></ul></section></section></details>
|
|
54
54
|
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
55
55
|
<h2 class="tsd-anchor-link" id="methods-1">Methods<a href="#methods-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
56
56
|
<section>
|
|
@@ -67,7 +67,7 @@ across multiple buses.</p>
|
|
|
67
67
|
<h4 class="tsd-returns-title">Returns <a href="../interfaces/AudioNode.html" class="tsd-signature-type tsd-kind-interface">AudioNode</a></h4><aside class="tsd-sources">
|
|
68
68
|
<p>Implementation of <a href="../interfaces/CacophonyEffect.html">CacophonyEffect</a>.<a href="../interfaces/CacophonyEffect.html#build">build</a></p>
|
|
69
69
|
<ul>
|
|
70
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
70
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/effects.ts#L156">src/effects.ts:156</a></li></ul></aside></div></li></ul></section></section></details></div>
|
|
71
71
|
<div class="col-sidebar">
|
|
72
72
|
<div class="page-menu">
|
|
73
73
|
<div class="tsd-navigation settings">
|
package/docs/classes/Bus.html
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
module-level docstring for topology.</p>
|
|
16
16
|
</div></section><aside class="tsd-sources">
|
|
17
17
|
<ul>
|
|
18
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
18
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L54">src/bus.ts:54</a></li></ul></aside>
|
|
19
19
|
<section class="tsd-panel-group tsd-index-group">
|
|
20
20
|
<section class="tsd-panel tsd-index-panel">
|
|
21
21
|
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
@@ -83,7 +83,7 @@ fresh GainNode is allocated.</p>
|
|
|
83
83
|
</div></li></ul></div>
|
|
84
84
|
<h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">Bus</a></h4><aside class="tsd-sources">
|
|
85
85
|
<ul>
|
|
86
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
86
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L99">src/bus.ts:99</a></li></ul></aside></div></li></ul></section></section></details>
|
|
87
87
|
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
88
88
|
<h2 class="tsd-anchor-link" id="properties-1">Properties<a href="#properties-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
89
89
|
<section>
|
|
@@ -94,14 +94,14 @@ fresh GainNode is allocated.</p>
|
|
|
94
94
|
outputs).</p>
|
|
95
95
|
</div><aside class="tsd-sources">
|
|
96
96
|
<ul>
|
|
97
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
97
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L62">src/bus.ts:62</a></li></ul></aside></section>
|
|
98
98
|
<section class="tsd-panel tsd-member">
|
|
99
99
|
<h3 class="tsd-anchor-link" id="name"><code class="tsd-tag">Readonly</code><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
100
100
|
<div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div>
|
|
101
101
|
<div class="tsd-comment tsd-typography"><p>Stable name for registry lookup, or null for anonymous buses.</p>
|
|
102
102
|
</div><aside class="tsd-sources">
|
|
103
103
|
<ul>
|
|
104
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
104
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L56">src/bus.ts:56</a></li></ul></aside></section>
|
|
105
105
|
<section class="tsd-panel tsd-member">
|
|
106
106
|
<h3 class="tsd-anchor-link" id="output"><code class="tsd-tag">Readonly</code><span>output</span><a href="#output" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
107
107
|
<div class="tsd-signature"><span class="tsd-kind-property">output</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/GainNode.html" class="tsd-signature-type tsd-kind-interface">GainNode</a></div>
|
|
@@ -109,7 +109,7 @@ outputs).</p>
|
|
|
109
109
|
raw nodes) via <a href="#connect" class="tsd-kind-method">connect</a>.</p>
|
|
110
110
|
</div><aside class="tsd-sources">
|
|
111
111
|
<ul>
|
|
112
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
112
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L68">src/bus.ts:68</a></li></ul></aside></section></section></details>
|
|
113
113
|
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
114
114
|
<h2 class="tsd-anchor-link" id="accessors-1">Accessors<a href="#accessors-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
115
115
|
<section>
|
|
@@ -123,7 +123,7 @@ raw nodes) via <a href="#connect" class="tsd-kind-method">connect</a>.</p>
|
|
|
123
123
|
</div>
|
|
124
124
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
125
125
|
<ul>
|
|
126
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
126
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L116">src/bus.ts:116</a></li></ul></aside></div></li></ul></section>
|
|
127
127
|
<section class="tsd-panel tsd-member">
|
|
128
128
|
<h3 class="tsd-anchor-link" id="filters"><span>filters</span><a href="#filters" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
129
129
|
<ul class="tsd-signatures">
|
|
@@ -134,7 +134,7 @@ raw nodes) via <a href="#connect" class="tsd-kind-method">connect</a>.</p>
|
|
|
134
134
|
</div>
|
|
135
135
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-keyword">readonly</span> <a href="../interfaces/AudioNode.html" class="tsd-signature-type tsd-kind-interface">AudioNode</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
136
136
|
<ul>
|
|
137
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
137
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L130">src/bus.ts:130</a></li></ul></aside></div></li></ul></section>
|
|
138
138
|
<section class="tsd-panel tsd-member">
|
|
139
139
|
<h3 class="tsd-anchor-link" id="gain"><span>gain</span><a href="#gain" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
140
140
|
<ul class="tsd-signatures">
|
|
@@ -145,7 +145,7 @@ raw nodes) via <a href="#connect" class="tsd-kind-method">connect</a>.</p>
|
|
|
145
145
|
</div>
|
|
146
146
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
|
147
147
|
<ul>
|
|
148
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
148
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L121">src/bus.ts:121</a></li></ul></aside></div></li>
|
|
149
149
|
<li>
|
|
150
150
|
<div class="tsd-signature" id="gaingain-1"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">gain</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div>
|
|
151
151
|
<div class="tsd-description">
|
|
@@ -155,7 +155,7 @@ raw nodes) via <a href="#connect" class="tsd-kind-method">connect</a>.</p>
|
|
|
155
155
|
<li><span><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">number</span></span></li></ul></div>
|
|
156
156
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
157
157
|
<ul>
|
|
158
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
158
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L125">src/bus.ts:125</a></li></ul></aside></div></li></ul></section></section></details>
|
|
159
159
|
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
160
160
|
<h2 class="tsd-anchor-link" id="methods-1">Methods<a href="#methods-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
161
161
|
<section>
|
|
@@ -177,7 +177,7 @@ early-returns once destroyed.</p>
|
|
|
177
177
|
<li><span><span class="tsd-kind-parameter">source</span>: <span class="tsd-signature-type">BusRoutedSource</span></span></li></ul></div>
|
|
178
178
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
179
179
|
<ul>
|
|
180
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
180
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L388">src/bus.ts:388</a></li></ul></aside></div></li></ul></section>
|
|
181
181
|
<section class="tsd-panel tsd-member">
|
|
182
182
|
<h3 class="tsd-anchor-link" id="_unregisterroutedsource"><span>_<wbr/>unregister<wbr/>Routed<wbr/>Source</span><a href="#_unregisterroutedsource" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
183
183
|
<ul class="tsd-signatures">
|
|
@@ -193,7 +193,7 @@ if the source was never registered.</p>
|
|
|
193
193
|
<li><span><span class="tsd-kind-parameter">source</span>: <span class="tsd-signature-type">BusRoutedSource</span></span></li></ul></div>
|
|
194
194
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
195
195
|
<ul>
|
|
196
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
196
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L401">src/bus.ts:401</a></li></ul></aside></div></li></ul></section>
|
|
197
197
|
<section class="tsd-panel tsd-member">
|
|
198
198
|
<h3 class="tsd-anchor-link" id="addfilter"><span>add<wbr/>Filter</span><a href="#addfilter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
199
199
|
<ul class="tsd-signatures">
|
|
@@ -227,7 +227,7 @@ callers that ignore the result keep working unchanged.</p>
|
|
|
227
227
|
AudioNode that is not a Cacophony-built biquad.</p>
|
|
228
228
|
</div></div><aside class="tsd-sources">
|
|
229
229
|
<ul>
|
|
230
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
230
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L153">src/bus.ts:153</a></li></ul></aside></div></li></ul></section>
|
|
231
231
|
<section class="tsd-panel tsd-member">
|
|
232
232
|
<h3 class="tsd-anchor-link" id="connect"><span>connect</span><a href="#connect" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
233
233
|
<ul class="tsd-signatures">
|
|
@@ -254,7 +254,7 @@ updated in place (no new edge is allocated).</p>
|
|
|
254
254
|
<h4 class="tsd-anchor-link" id="throws-1">Throws<a href="#throws-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>if the bus has been destroyed.</p>
|
|
255
255
|
</div></div><aside class="tsd-sources">
|
|
256
256
|
<ul>
|
|
257
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
257
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L308">src/bus.ts:308</a></li></ul></aside></div></li></ul></section>
|
|
258
258
|
<section class="tsd-panel tsd-member">
|
|
259
259
|
<h3 class="tsd-anchor-link" id="destroy"><span>destroy</span><a href="#destroy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
260
260
|
<ul class="tsd-signatures">
|
|
@@ -276,7 +276,7 @@ playback (the routeTo machinery checks <code>destroyed</code> at preplay).</p>
|
|
|
276
276
|
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">drainTo</span><span class="tsd-signature-symbol">?:</span> <a href="" class="tsd-signature-type tsd-kind-class">Bus</a> <span class="tsd-signature-symbol">}</span></span></li></ul></div>
|
|
277
277
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
278
278
|
<ul>
|
|
279
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
279
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L435">src/bus.ts:435</a></li></ul></aside></div></li></ul></section>
|
|
280
280
|
<section class="tsd-panel tsd-member">
|
|
281
281
|
<h3 class="tsd-anchor-link" id="disconnect"><span>disconnect</span><a href="#disconnect" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
282
282
|
<ul class="tsd-signatures">
|
|
@@ -297,7 +297,7 @@ the target was never connected.</p>
|
|
|
297
297
|
<h4 class="tsd-anchor-link" id="throws-2">Throws<a href="#throws-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>if the bus has been destroyed.</p>
|
|
298
298
|
</div></div><aside class="tsd-sources">
|
|
299
299
|
<ul>
|
|
300
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
300
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L358">src/bus.ts:358</a></li></ul></aside></div></li></ul></section>
|
|
301
301
|
<section class="tsd-panel tsd-member">
|
|
302
302
|
<h3 class="tsd-anchor-link" id="drainto"><span>drain<wbr/>To</span><a href="#drainto" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
303
303
|
<ul class="tsd-signatures">
|
|
@@ -319,7 +319,7 @@ reroutes its primary route and/or the send that targeted this bus.</p>
|
|
|
319
319
|
<h4 class="tsd-anchor-link" id="throws-3">Throws<a href="#throws-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>if this bus has been destroyed, or if <code>target</code> is this bus.</p>
|
|
320
320
|
</div></div><aside class="tsd-sources">
|
|
321
321
|
<ul>
|
|
322
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
322
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L413">src/bus.ts:413</a></li></ul></aside></div></li></ul></section>
|
|
323
323
|
<section class="tsd-panel tsd-member">
|
|
324
324
|
<h3 class="tsd-anchor-link" id="isfilterbypassed"><span>is<wbr/>Filter<wbr/>Bypassed</span><a href="#isfilterbypassed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
325
325
|
<ul class="tsd-signatures">
|
|
@@ -335,7 +335,7 @@ reroutes its primary route and/or the send that targeted this bus.</p>
|
|
|
335
335
|
<li><span><span class="tsd-kind-parameter">node</span>: <a href="../interfaces/AudioNode.html" class="tsd-signature-type tsd-kind-interface">AudioNode</a></span></li></ul></div>
|
|
336
336
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
337
337
|
<ul>
|
|
338
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
338
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L246">src/bus.ts:246</a></li></ul></aside></div></li></ul></section>
|
|
339
339
|
<section class="tsd-panel tsd-member">
|
|
340
340
|
<h3 class="tsd-anchor-link" id="rampfilterparam"><span>ramp<wbr/>Filter<wbr/>Param</span><a href="#rampfilterparam" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
341
341
|
<ul class="tsd-signatures">
|
|
@@ -395,7 +395,7 @@ the value immediately.</p>
|
|
|
395
395
|
<h4 class="tsd-anchor-link" id="throws-4">Throws<a href="#throws-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>if the bus has been destroyed.</p>
|
|
396
396
|
</div></div><aside class="tsd-sources">
|
|
397
397
|
<ul>
|
|
398
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
398
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L284">src/bus.ts:284</a></li></ul></aside></div></li></ul></section>
|
|
399
399
|
<section class="tsd-panel tsd-member">
|
|
400
400
|
<h3 class="tsd-anchor-link" id="removefilter"><span>remove<wbr/>Filter</span><a href="#removefilter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
401
401
|
<ul class="tsd-signatures">
|
|
@@ -415,7 +415,7 @@ via <a href="#addfilter" class="tsd-kind-method">addFilter</a>; the same object
|
|
|
415
415
|
<h4 class="tsd-anchor-link" id="throws-5">Throws<a href="#throws-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>if the bus has been destroyed or if the node was never added.</p>
|
|
416
416
|
</div></div><aside class="tsd-sources">
|
|
417
417
|
<ul>
|
|
418
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
418
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L200">src/bus.ts:200</a></li></ul></aside></div></li></ul></section>
|
|
419
419
|
<section class="tsd-panel tsd-member">
|
|
420
420
|
<h3 class="tsd-anchor-link" id="setfilterbypassed"><span>set<wbr/>Filter<wbr/>Bypassed</span><a href="#setfilterbypassed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
421
421
|
<ul class="tsd-signatures">
|
|
@@ -448,7 +448,7 @@ if the node is already in the requested state.</p>
|
|
|
448
448
|
bus.</p>
|
|
449
449
|
</div></div><aside class="tsd-sources">
|
|
450
450
|
<ul>
|
|
451
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
451
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L237">src/bus.ts:237</a></li></ul></aside></div></li></ul></section>
|
|
452
452
|
<section class="tsd-panel tsd-member">
|
|
453
453
|
<h3 class="tsd-anchor-link" id="setfilterorder"><span>set<wbr/>Filter<wbr/>Order</span><a href="#setfilterorder" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
454
454
|
<ul class="tsd-signatures">
|
|
@@ -472,7 +472,7 @@ move are reconnected; unchanged edges are left untouched.</p>
|
|
|
472
472
|
of the current filters.</p>
|
|
473
473
|
</div></div><aside class="tsd-sources">
|
|
474
474
|
<ul>
|
|
475
|
-
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/
|
|
475
|
+
<li>Defined in <a href="https://github.com/ctoth/cacophony/blob/4a400713c8c9783d08efb8a42f1659e1b9e5c7ff/src/bus.ts#L215">src/bus.ts:215</a></li></ul></aside></div></li></ul></section></section></details></div>
|
|
476
476
|
<div class="col-sidebar">
|
|
477
477
|
<div class="page-menu">
|
|
478
478
|
<div class="tsd-navigation settings">
|