xsound 4.0.0 → 4.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/README.md CHANGED
@@ -105,7 +105,7 @@ X.Wah(context: AudioContext);
105
105
 
106
106
  Now, I'm creating website for Web Audio API. Please refer to the following site for understanding API Documentation.
107
107
 
108
- [WEB SOUNDER](https://weblike-curtaincall.ssl-lolipop.jp/portfolio-web-sounder/)
108
+ [Web Music Documentation](https://korilakkuma.github.io/Web-Music-Documentation/)
109
109
 
110
110
  ## Installation
111
111
 
@@ -116,7 +116,7 @@ $ npm install --save xsound
116
116
  or,
117
117
 
118
118
  ```bash
119
- $ yarn add xsound
119
+ $ pnpm install xsound
120
120
  ```
121
121
 
122
122
  ## Usage
@@ -179,7 +179,7 @@ $ ./emsdk activate latest
179
179
  $ source ./emsdk_env.sh
180
180
  $ cd /${path}/XSound
181
181
 
182
- # if error occurred, execute `softwareupdate --install-rosetta`, then retry (in case of using macOS)
182
+ # If error occurred, execute `softwareupdate --install-rosetta`, then retry (in case of using macOS)
183
183
  ```
184
184
 
185
185
  ## API Documentation
@@ -1 +1 @@
1
- /*! xsound v4.0.0 | Korilakkuma <rilakkuma.san.xjapan@gmail.com> | license: MIT */
1
+ /*! xsound v4.0.1 | Korilakkuma <rilakkuma.san.xjapan@gmail.com> | license: MIT */
@@ -1 +1 @@
1
- /*! xsound v4.0.0 | Korilakkuma <rilakkuma.san.xjapan@gmail.com> | license: MIT */
1
+ /*! xsound v4.0.1 | Korilakkuma <rilakkuma.san.xjapan@gmail.com> | license: MIT */
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "xsound",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "engines": {
5
- "node": ">=18.0.0 <=20.18.x"
5
+ "node": ">=20.0.0 <=22.11.x"
6
6
  },
7
7
  "description": "XSound gives Web Developers Powerful Audio Features Easily !",
8
8
  "main": "build/xsound.js",
@@ -14,7 +14,10 @@
14
14
  "type": "tsc --noEmit",
15
15
  "build:types": "tsc --project tsconfig.types.json",
16
16
  "build:js": "cross-env NODE_ENV=production webpack --progress --mode production",
17
- "build:wasm": "emcc -O3 -Wall --no-entry -o src/NoiseModule/WebAssemblyModules/noisegenerator.wasm src/NoiseModule/WebAssemblyModules/noisegenerator.cpp && emcc -O3 -Wall --no-entry -o src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/noisesuppressor.wasm src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/noisesuppressor.cpp && emcc -O3 -Wall --no-entry -o src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/pitchshifter.wasm src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/pitchshifter.cpp",
17
+ "build:wasm:noisegenerator": "emcc -O3 -Wall --no-entry -o src/NoiseModule/WebAssemblyModules/noisegenerator.wasm src/NoiseModule/WebAssemblyModules/noisegenerator.cpp",
18
+ "build:wasm:noisesuppressor": "emcc -O3 -Wall --no-entry -o src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/noisesuppressor.wasm src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/noisesuppressor.cpp",
19
+ "build:wasm:pitchshifter": "emcc -O3 -Wall --no-entry -o src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/pitchshifter.wasm src/SoundModule/Effectors/AudioWorkletProcessors/WebAssemblyModules/pitchshifter.cpp",
20
+ "build:wasm": "run-p build:wasm:noisegenerator build:wasm:noisesuppressor build:wasm:pitchshifter",
18
21
  "build": "npm run clean && npm run build:wasm && npm run build:types && npm run build:js",
19
22
  "watch": "npm run clean && webpack --progress --watch",
20
23
  "dev": "webpack-dev-server --progress --mode production",
@@ -73,6 +76,7 @@
73
76
  "jest": "^29.7.0",
74
77
  "jest-environment-jsdom": "^29.7.0",
75
78
  "lint-staged": "^15.2.10",
79
+ "npm-run-all": "^4.1.5",
76
80
  "terser-webpack-plugin": "^5.3.10",
77
81
  "ts-jest": "^29.2.5",
78
82
  "ts-loader": "^9.5.1",