audiobits 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +8 -8
- package/dist/capabilities.json +1 -1
- package/package.json +6 -1
- package/skill/SKILL.md +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# AudioBits
|
|
2
2
|
|
|
3
|
-
AudioBits
|
|
3
|
+
AudioBits is available on npm as `audiobits`. It includes confirmation, impact, thruster, tactile click, gentle rejection,
|
|
4
4
|
glass notification, whoosh and power-up; schema-1 recipes; play/live controls; seeded variation; bounded
|
|
5
5
|
voices; bus gain, mute and routing; native output taps; and explicit lifecycle APIs.
|
|
6
6
|
Prerelease verification target: current Chromium. Other browsers and operating
|
|
7
7
|
systems are unverified and deliberately deferred. Maintainer listening acceptance for the
|
|
8
|
-
unchanged sound definitions is recorded separately.
|
|
9
|
-
and the npm identifier remains `audiobits`.
|
|
8
|
+
unchanged sound definitions is recorded separately.
|
|
10
9
|
|
|
11
|
-
##
|
|
10
|
+
## Install
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
```sh
|
|
13
|
+
npm install audiobits
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Use a browser bundler and call `play()` directly from a gesture handler. Surface rejection
|
|
17
17
|
with `void play().catch(showError)` and retry from a fresh gesture.
|
|
18
18
|
|
|
19
19
|
```ts
|
package/dist/capabilities.json
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "audiobits",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Procedural browser audio: versioned recipes, live controls, managed voices and buses.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/joacod/audiobits.git",
|
|
9
|
+
"directory": "packages/audiobits"
|
|
10
|
+
},
|
|
6
11
|
"type": "module",
|
|
7
12
|
"sideEffects": false,
|
|
8
13
|
"files": [
|
package/skill/SKILL.md
CHANGED
|
@@ -5,7 +5,7 @@ description: Integrate AudioBits procedural sounds into a browser application, i
|
|
|
5
5
|
|
|
6
6
|
# AudioBits integration
|
|
7
7
|
|
|
8
|
-
This guide ships with
|
|
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
11
|
shipped behavior, not registry availability. Prerelease verification target: current Chromium. Other browsers and operating
|