@plurnk/plurnk-mimetypes-audio 2.0.2 → 2.0.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.
Files changed (2) hide show
  1. package/README.md +12 -10
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,15 +1,17 @@
1
1
  # @plurnk/plurnk-mimetypes-audio
2
2
 
3
- Binary audio handlers for PLURNK. Bundled with the service and loaded on demand.
3
+ Binary audio handlers for the [plurnk](https://github.com/plurnk) ecosystem: WAV, MPEG, FLAC, Ogg, MP4, AAC, WebM and AIFF, as `package.json` declares them. Bundled with the service and loaded on demand.
4
4
 
5
- Ordinary `READ` exposes format, duration (when known), and byte size. The service
6
- delivers the same retained source bytes to models whose catalog declares audio
7
- input. Byte-scoped reads still return their selected hexadecimal lines.
5
+ ## install
8
6
 
9
- [music-metadata](https://github.com/borewit/music-metadata) parses the container;
10
- this package does not transcribe, decode samples, or transcode. Actual accepted
11
- codecs depend on the model/provider. `.webm` is not inferred to be audio; an
12
- explicit `audio/webm` source type is supported.
7
+ ```sh
8
+ npm i @plurnk/plurnk-mimetypes-audio
9
+ ```
13
10
 
14
- See {§mimetype-audio-facts} in the [mimetype specification](../plurnk-mimetypes/SPEC.md)
15
- and {§packet-attachment-parts} in the [core specification](../plurnk-core/SPEC.md).
11
+ ## what it does
12
+
13
+ Ordinary `READ` exposes format, duration (when known) and byte size ({§mimetype-audio-facts}); the service delivers the retained source bytes to models whose catalog declares audio input ({§packet-attachment-parts}). No transcription, sample decoding or transcoding. `.webm` is not inferred to be audio; an explicit `audio/webm` source type is.
14
+
15
+ ## license
16
+
17
+ MIT.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-mimetypes-audio",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Audio format and duration facts for ordinary PLURNK READ and native model input.",
5
5
  "keywords": [
6
6
  "plurnk",
@@ -112,7 +112,7 @@
112
112
  },
113
113
  "scripts": {
114
114
  "test:lint": "tsc --noEmit",
115
- "test:unit": "node --conditions=plurnk-dev --test src/**/*.test.ts",
115
+ "test:unit": "node --conditions=plurnk-dev --test ${PLURNK_TEST_CONCURRENCY:+--test-concurrency=$PLURNK_TEST_CONCURRENCY} 'src/**/*.test.ts'",
116
116
  "test": "npm run test:lint && npm run test:unit",
117
117
  "build:clean": "rm -rf dist",
118
118
  "build:dist": "tsc -p tsconfig.build.json",
@@ -135,5 +135,5 @@
135
135
  "url": "git+https://github.com/plurnk/plurnk-service.git",
136
136
  "directory": "plurnk-mimetypes-audio"
137
137
  },
138
- "gitHead": "f96502a26d62a6f87b22950a9e2006348ac8a6bc"
138
+ "gitHead": "d2647f7ec0d352b276714f22a93267aac04634b3"
139
139
  }