node-web-audio-api 1.0.0 → 1.0.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 CHANGED
@@ -1,8 +1,12 @@
1
1
  # CHANGELOG
2
2
 
3
- ## v1.0.0 (11/01/2024)
3
+ ## v1.0.1 (17/01/2025)
4
4
 
5
- - Align version with upsteam crate
5
+ - Update upstream crate to [v1.2.0](https://github.com/orottier/web-audio-api-rs/blob/main/CHANGELOG.md#version-120-2025-01-16)
6
+
7
+ ## v1.0.0 (11/01/2025)
8
+
9
+ - Align version with upstream crate
6
10
  - Refactor CI
7
11
 
8
12
  ## v0.21.5 (23/12/2024)
@@ -62,7 +66,7 @@
62
66
 
63
67
  - Update upstream create to [v0.42.0](https://github.com/orottier/web-audio-api-rs/blob/main/CHANGELOG.md#version-0420-2024-02-05)
64
68
  - Improve Error handling
65
- - Add channelCounnt to media constraints
69
+ - Add channelCount to media constraints
66
70
 
67
71
  ## v0.15.0 (16/01/2024)
68
72
 
@@ -102,7 +106,7 @@
102
106
 
103
107
  ## v0.8.0 (19/05/2023)
104
108
 
105
- - Implement MediaDevices enumerateDeviaces and getUserMedia
109
+ - Implement MediaDevices enumerateDevices and getUserMedia
106
110
  - Use jack as default output if exists on linux
107
111
 
108
112
  ## v0.7.0 (23/02/2023)
package/README.md CHANGED
@@ -60,24 +60,36 @@ npm run build
60
60
 
61
61
  3. Run the examples from the project's root directory
62
62
  ```sh
63
- node examples/granular-scrub.mjs
63
+ node examples/granular-scrub.js
64
64
  ```
65
65
 
66
66
  ## Caveats
67
67
 
68
+ - `AudioBuffer#getChannelData` is implemented but not reliable in some situations. Your should prefer `AudioBuffer#copyToChannel` and `AudioBuffer#copyFromChannel` when you want to access or manipulate the underlying samples in a safe way.
68
69
  - `Streams`: only a minimal audio input stream and the `MediaStreamSourceNode` are provided. All other `MediaStream` features are left on the side for now as they principally concern a different API specification, which is not a trivial problem.
69
70
 
70
- ## Supported Platforms
71
+ ## Supported Platforms - Prebuilt Binaries
72
+
73
+ We provide prebuilt binaries for the following platforms:
74
+
75
+ | | binaries |
76
+ |-----------------------------------------------------|:--------:|
77
+ | Windows x64 | ✓ |
78
+ | Windows arm64 | ✓ |
79
+ | macOS x64 | ✓ |
80
+ | macOS aarch64 | ✓ |
81
+ | Linux x64 gnu (jack / pipewire-jack) | ✓ |
82
+ | Linux arm gnueabihf (jack / pipewire-jack) | ✓ |
83
+ | Linux arm64 gnu (jack / pipewire-jack) | ✓ |
84
+
85
+
86
+
87
+ ### Important notes
88
+
89
+ - If you need support for another platform, please fill an [issue](https://github.com/ircam-ismm/node-web-audio-api/issues) and we will see what we can do.
90
+
91
+ - All provided Linux binaries are built with the `jack` flag, which should work either with properly configured [Jack](https://jackaudio.org/) or [pipewire-jack](https://pipewire.org/) backends. If this is a limitation for you, please fill an [issue](https://github.com/ircam-ismm/node-web-audio-api/issues) and we will see what we can do.
71
92
 
72
- | | binaries | tested |
73
- | --------------------------- | ------ | ------ |
74
- | Windows x64 | ✓ | |
75
- | Windows arm64 | ✓ | |
76
- | macOS x64 | ✓ | ✓ |
77
- | macOS aarch64 | ✓ | ✓ |
78
- | Linux x64 gnu | ✓ | |
79
- | Linux arm gnueabihf (RPi) | ✓ | ✓ |
80
- | Linux arm64 gnu (RPi) | ✓ | ✓ |
81
93
 
82
94
  ## Manual Build
83
95
 
@@ -161,7 +173,7 @@ Then run:
161
173
  npm run wpt # build in debug mode and run all wpt test
162
174
  npm run wpt:only # run all wpt test without build
163
175
  npm run wpt -- --list # list all wpt test files
164
- npm run wpt -- --filter <string> # apply <string> filter on executed/listed wpt tests
176
+ npm run wpt -- --filter <string> # apply <string> filter on executed/listed wpt tests
165
177
  ```
166
178
 
167
179
  ## License
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-web-audio-api",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "author": "Benjamin Matuszewski",
5
5
  "description": "Web Audio API implementation for Node.js",
6
6
  "exports": {