@qvac/bci-whispercpp 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 +7 -1
- package/NOTICE +1 -1
- package/README.md +2 -2
- package/bci.js +1 -1
- package/package.json +2 -6
- package/prebuilds/android-arm64/qvac__bci-whispercpp.bare +0 -0
- package/prebuilds/darwin-arm64/qvac__bci-whispercpp.bare +0 -0
- package/prebuilds/darwin-arm64/qvac__bci-whispercpp.bare.exports +1 -1
- package/prebuilds/darwin-x64/qvac__bci-whispercpp.bare +0 -0
- package/prebuilds/darwin-x64/qvac__bci-whispercpp.bare.exports +1 -1
- package/prebuilds/ios-arm64/qvac__bci-whispercpp.bare +0 -0
- package/prebuilds/ios-arm64/qvac__bci-whispercpp.bare.exports +1 -1
- package/prebuilds/ios-arm64-simulator/qvac__bci-whispercpp.bare +0 -0
- package/prebuilds/ios-arm64-simulator/qvac__bci-whispercpp.bare.exports +1 -1
- package/prebuilds/ios-x64-simulator/qvac__bci-whispercpp.bare +0 -0
- package/prebuilds/ios-x64-simulator/qvac__bci-whispercpp.bare.exports +1 -1
- package/prebuilds/linux-arm64/qvac__bci-whispercpp.bare +0 -0
- package/prebuilds/linux-x64/qvac__bci-whispercpp.bare +0 -0
- package/prebuilds/win32-x64/qvac__bci-whispercpp.bare +0 -0
- package/prebuilds/win32-x64/qvac__bci-whispercpp.bare.exports +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.1] - 2026-06-02
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Bumped the `qvac-lib-inference-addon-cpp` vcpkg dependency to `1.2.1`.
|
|
13
|
+
|
|
8
14
|
## [0.1.0]
|
|
9
15
|
|
|
10
16
|
Initial POC release of `@qvac/bci-whispercpp`, a brain-computer-interface neural
|
|
@@ -20,7 +26,7 @@ signal transcription addon powered by a BCI-patched fork of whisper.cpp.
|
|
|
20
26
|
- `./addonLogging` subpath exposing `setLogger` / `releaseLogger` for wiring a
|
|
21
27
|
native log handler.
|
|
22
28
|
- C++ native addon (`NeuralProcessor`, `BCIModel`, `BCIConfig`) using the
|
|
23
|
-
`
|
|
29
|
+
`inference-addon-cpp` framework, with BCI-specific preprocessing
|
|
24
30
|
(Gaussian smoothing, low-rank day projection, softsign non-linearity) and
|
|
25
31
|
mel-layout injection into a patched whisper.cpp encoder.
|
|
26
32
|
- Integration tests for load/destroy, batch transcription, and a 5-sample
|
package/NOTICE
CHANGED
package/README.md
CHANGED
|
@@ -318,7 +318,7 @@ The encoder accepts up to ~3000 timesteps per forward pass; `MAX_WINDOW_TIMESTEP
|
|
|
318
318
|
`whisperConfig` is a thin pass-through to whisper.cpp's `whisper_full_params`. For the full surface (decoding strategy, beam search, VAD, suppression, callbacks, etc.) refer to the upstream reference:
|
|
319
319
|
|
|
320
320
|
- [`whisper_full_params` in whisper.cpp](https://github.com/ggerganov/whisper.cpp/blob/master/include/whisper.h)
|
|
321
|
-
- Concrete shapes used in production: see the [examples](examples) directory and [`@qvac/transcription-whispercpp`](https://github.com/tetherto/qvac/tree/main/packages/
|
|
321
|
+
- Concrete shapes used in production: see the [examples](examples) directory and [`@qvac/transcription-whispercpp`](https://github.com/tetherto/qvac/tree/main/packages/transcription-whispercpp) for richer usage patterns (VAD, chunking, live streaming).
|
|
322
322
|
|
|
323
323
|
## whisper.cpp Patches
|
|
324
324
|
|
|
@@ -360,7 +360,7 @@ Codes are also re-exported via `require('@qvac/bci-whispercpp/lib/error').ERR_CO
|
|
|
360
360
|
## Resources
|
|
361
361
|
|
|
362
362
|
- whisper.cpp fork (Tether): [`tetherto/qvac-ext-lib-whisper.cpp`](https://github.com/tetherto/qvac-ext-lib-whisper.cpp)
|
|
363
|
-
- Sibling package — audio transcription: [`@qvac/transcription-whispercpp`](https://github.com/tetherto/qvac/tree/main/packages/
|
|
363
|
+
- Sibling package — audio transcription: [`@qvac/transcription-whispercpp`](https://github.com/tetherto/qvac/tree/main/packages/transcription-whispercpp)
|
|
364
364
|
- vcpkg registry: [`qvac-registry-vcpkg`](https://github.com/tetherto/qvac-registry-vcpkg)
|
|
365
365
|
- BrainWhisperer reference (Python): the model checkpoints converted by `scripts/convert-model.py`
|
|
366
366
|
|
package/bci.js
CHANGED
|
@@ -14,7 +14,7 @@ const END_OF_INPUT = 'end of job'
|
|
|
14
14
|
|
|
15
15
|
// Upper bound on buffered neural-signal bytes between append() calls.
|
|
16
16
|
// Neural data is ~1 MB/s at 512ch * 50 Hz * 4 B, so 500 MB ~= 8 minutes of
|
|
17
|
-
// signal. The bound matches
|
|
17
|
+
// signal. The bound matches transcription-whispercpp and protects against
|
|
18
18
|
// runaway producers.
|
|
19
19
|
const MAX_BUFFERED_BYTES = 500 * 1024 * 1024
|
|
20
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/bci-whispercpp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Brain-Computer Interface (BCI) neural signal transcription addon for qvac, powered by whisper.cpp",
|
|
5
5
|
"addon": true,
|
|
6
6
|
"engines": {
|
|
@@ -64,10 +64,7 @@
|
|
|
64
64
|
"brittle": "^3.17.0",
|
|
65
65
|
"cmake-bare": "^1.7.5",
|
|
66
66
|
"cmake-vcpkg": "^1.1.0",
|
|
67
|
-
"fs": "npm:bare-fs",
|
|
68
|
-
"os": "npm:bare-os@^3.6.2",
|
|
69
67
|
"standard": "^17.1.2",
|
|
70
|
-
"tty": "npm:bare-node-tty",
|
|
71
68
|
"typescript": "^5.9.2"
|
|
72
69
|
},
|
|
73
70
|
"dependencies": {
|
|
@@ -75,8 +72,7 @@
|
|
|
75
72
|
"@qvac/infer-base": "^0.4.0",
|
|
76
73
|
"@qvac/logging": "^0.1.0",
|
|
77
74
|
"bare-fs": "^4.5.1",
|
|
78
|
-
"bare-path": "^3.0.0"
|
|
79
|
-
"path": "npm:bare-path"
|
|
75
|
+
"bare-path": "^3.0.0"
|
|
80
76
|
},
|
|
81
77
|
"exports": {
|
|
82
78
|
"./package": "./package.json",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|