audiobits 0.1.2 → 0.1.3
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/CHANGELOG.md +7 -0
- package/README.md +13 -19
- package/dist/capabilities.json +1 -1
- package/package.json +10 -1
- package/skill/SKILL.md +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# audiobits
|
|
2
2
|
|
|
3
|
+
## 0.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7aa39bd: Align the package README with published capabilities and add the public website
|
|
8
|
+
and relevant npm keywords to package metadata. Runtime behavior is unchanged.
|
|
9
|
+
|
|
3
10
|
## 0.1.2
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# AudioBits
|
|
2
2
|
|
|
3
|
+
[Website and documentation](https://audiobits.joacod.com/)
|
|
4
|
+
|
|
3
5
|
AudioBits is available on npm as `audiobits`. It includes confirmation, impact, thruster, tactile click, gentle rejection,
|
|
4
6
|
glass notification, whoosh and power-up; schema-1 recipes; play/live controls; seeded variation; bounded
|
|
5
7
|
voices; bus gain, mute and routing; native output taps; and explicit lifecycle APIs.
|
|
6
|
-
|
|
7
|
-
systems are unverified and deliberately deferred. Maintainer listening acceptance for the
|
|
8
|
+
Current Chromium is the only automated browser verification target. Other
|
|
9
|
+
browsers and operating systems are unverified and deliberately deferred. Maintainer listening acceptance for the
|
|
8
10
|
unchanged sound definitions is recorded separately.
|
|
9
11
|
|
|
10
12
|
## Quick start
|
|
@@ -113,7 +115,7 @@ Schema version 1 supports:
|
|
|
113
115
|
Depth is limited to 16, visited values to 10000, and diagnostics to 100.
|
|
114
116
|
Source/filter frequencies must be below the owning context's Nyquist frequency
|
|
115
117
|
at playback, including all mapping/variation extrema. Other effects,
|
|
116
|
-
expression strings, sequencing, and continuous random modulation are rejected.
|
|
118
|
+
expression strings, sequencing, and continuous random modulation are rejected.
|
|
117
119
|
The generated schema is available as `recipeSchema` or `audiobits/schema.json`.
|
|
118
120
|
|
|
119
121
|
## Runtime ownership
|
|
@@ -210,21 +212,14 @@ promise identical oscillator/filter samples across browsers or sample rates.
|
|
|
210
212
|
|
|
211
213
|
## Noise ownership and bounds
|
|
212
214
|
|
|
213
|
-
Each noise layer
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
This treatment has signal evidence and maintainer listening acceptance;
|
|
218
|
-
individual listening observations were not recorded. There is no shared noise cache or rendered-output cache.
|
|
215
|
+
Each noise layer uses a bounded generated mono buffer at the context sample rate,
|
|
216
|
+
looped with a crossfade for finite and sustained playback. Noise generation is
|
|
217
|
+
reproducible for the same recipe, controls, seed and sample rate. There is no
|
|
218
|
+
shared noise cache or rendered-output cache.
|
|
219
219
|
|
|
220
220
|
Noise supports integer sample rates from 8000 through 192000 Hz. Unsupported
|
|
221
|
-
rates fail with `noise-rate` before voice allocation.
|
|
222
|
-
|
|
223
|
-
buffer of that size. A recipe has at most 16 layers, and existing voice limits
|
|
224
|
-
bound concurrent buffers. The thruster owns ten nodes and one buffer per voice;
|
|
225
|
-
with its default eight-voice limit plus one retiree, sample storage is at most
|
|
226
|
-
1728000 bytes at 48 kHz. The engine master owns two additional nodes for independent gain and mute. These are
|
|
227
|
-
owned sample-storage bounds, not measurements of all browser memory.
|
|
221
|
+
rates fail with `noise-rate` before voice allocation. Recipe layer limits and
|
|
222
|
+
engine/sound voice limits bound concurrent noise resources.
|
|
228
223
|
|
|
229
224
|
Control updates allocate no new audio nodes or buffers. Finishing a voice clears
|
|
230
225
|
its buffer-source references and disconnects owned nodes, including cancellation
|
|
@@ -309,9 +304,8 @@ and suspend on hide. Returning does not resume; a fresh gesture starts audio.
|
|
|
309
304
|
Late activation after suspension is cancelled and cannot replay an old request.
|
|
310
305
|
The engine also clears owned voices/effects on native interruption; automatic
|
|
311
306
|
native recovery is suspended until a fresh `start()` request. Physical OS
|
|
312
|
-
interruption still requires manual evidence.
|
|
313
|
-
|
|
314
|
-
were not supplied; automated checks remain separate from that acceptance.
|
|
307
|
+
interruption still requires manual evidence. Automated checks do not establish
|
|
308
|
+
physical-device compatibility.
|
|
315
309
|
|
|
316
310
|
Buses provide gain, mute, and routing. Shared effects are deferred until
|
|
317
311
|
multiple real sound requirements justify an API.
|
package/dist/capabilities.json
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "audiobits",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Procedural browser audio: versioned recipes, live controls, managed voices and buses.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"homepage": "https://audiobits.joacod.com/",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"web-audio",
|
|
9
|
+
"procedural-audio",
|
|
10
|
+
"sound-effects",
|
|
11
|
+
"sfx",
|
|
12
|
+
"game-audio",
|
|
13
|
+
"typescript"
|
|
14
|
+
],
|
|
6
15
|
"repository": {
|
|
7
16
|
"type": "git",
|
|
8
17
|
"url": "https://github.com/joacod/audiobits.git",
|
package/skill/SKILL.md
CHANGED
|
@@ -8,8 +8,9 @@ description: Integrate AudioBits procedural sounds into a browser application, i
|
|
|
8
8
|
This guide ships with the `audiobits` npm package. Confirm the installed
|
|
9
9
|
package version and read `audiobits/capabilities.json` and
|
|
10
10
|
`audiobits/schema.json` before choosing primitives. Package metadata describes
|
|
11
|
-
shipped behavior, not registry availability.
|
|
12
|
-
|
|
11
|
+
shipped behavior, not registry availability. Current Chromium is the only
|
|
12
|
+
automated browser verification target. Other browsers and operating systems are
|
|
13
|
+
unverified and deliberately deferred.
|
|
13
14
|
|
|
14
15
|
Install with `npm install audiobits` and use a browser bundler. Follow the
|
|
15
16
|
[package quick start](../README.md#quick-start) to play the bundled `confirmation`
|