xsound 2.27.0 → 3.0.0-alpha
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 +57 -29
- package/build/types/AudioModule/index.d.ts +198 -0
- package/build/types/AudioModule/index.d.ts.map +1 -0
- package/build/types/MIDI/index.d.ts +48 -0
- package/build/types/MIDI/index.d.ts.map +1 -0
- package/build/types/MML/Part.d.ts +78 -0
- package/build/types/MML/Part.d.ts.map +1 -0
- package/build/types/MML/Sequence.d.ts +66 -0
- package/build/types/MML/Sequence.d.ts.map +1 -0
- package/build/types/MML/Sequencer.d.ts +34 -0
- package/build/types/MML/Sequencer.d.ts.map +1 -0
- package/build/types/MML/Token.d.ts +40 -0
- package/build/types/MML/Token.d.ts.map +1 -0
- package/build/types/MML/Tokenizer.d.ts +21 -0
- package/build/types/MML/Tokenizer.d.ts.map +1 -0
- package/build/types/MML/Tree.d.ts +60 -0
- package/build/types/MML/Tree.d.ts.map +1 -0
- package/build/types/MML/TreeConstructor.d.ts +25 -0
- package/build/types/MML/TreeConstructor.d.ts.map +1 -0
- package/build/types/MML/index.d.ts +115 -0
- package/build/types/MML/index.d.ts.map +1 -0
- package/build/types/MediaModule/index.d.ts +223 -0
- package/build/types/MediaModule/index.d.ts.map +1 -0
- package/build/types/MixerModule/index.d.ts +99 -0
- package/build/types/MixerModule/index.d.ts.map +1 -0
- package/build/types/NoiseModule/index.d.ts +106 -0
- package/build/types/NoiseModule/index.d.ts.map +1 -0
- package/build/types/OneshotModule/index.d.ts +176 -0
- package/build/types/OneshotModule/index.d.ts.map +1 -0
- package/build/types/OscillatorModule/Glide.d.ts +47 -0
- package/build/types/OscillatorModule/Glide.d.ts.map +1 -0
- package/build/types/OscillatorModule/Oscillator.d.ts +77 -0
- package/build/types/OscillatorModule/Oscillator.d.ts.map +1 -0
- package/build/types/OscillatorModule/index.d.ts +138 -0
- package/build/types/OscillatorModule/index.d.ts.map +1 -0
- package/build/types/ProcessorModule/index.d.ts +124 -0
- package/build/types/ProcessorModule/index.d.ts.map +1 -0
- package/build/types/SoundModule/Analyser/FFT.d.ts +61 -0
- package/build/types/SoundModule/Analyser/FFT.d.ts.map +1 -0
- package/build/types/SoundModule/Analyser/Time.d.ts +54 -0
- package/build/types/SoundModule/Analyser/Time.d.ts.map +1 -0
- package/build/types/SoundModule/Analyser/TimeOverview.d.ts +132 -0
- package/build/types/SoundModule/Analyser/TimeOverview.d.ts.map +1 -0
- package/build/types/SoundModule/Analyser/Visualizer.d.ts +150 -0
- package/build/types/SoundModule/Analyser/Visualizer.d.ts.map +1 -0
- package/build/types/SoundModule/Analyser/index.d.ts +85 -0
- package/build/types/SoundModule/Analyser/index.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Autopanner.d.ts +39 -0
- package/build/types/SoundModule/Effectors/Autopanner.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Chorus.d.ts +51 -0
- package/build/types/SoundModule/Effectors/Chorus.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Compressor.d.ts +43 -0
- package/build/types/SoundModule/Effectors/Compressor.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Delay.d.ts +48 -0
- package/build/types/SoundModule/Effectors/Delay.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Distortion.d.ts +90 -0
- package/build/types/SoundModule/Effectors/Distortion.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Effector.d.ts +79 -0
- package/build/types/SoundModule/Effectors/Effector.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/EnvelopeGenerator.d.ts +90 -0
- package/build/types/SoundModule/Effectors/EnvelopeGenerator.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Equalizer.d.ts +44 -0
- package/build/types/SoundModule/Effectors/Equalizer.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Filter.d.ts +61 -0
- package/build/types/SoundModule/Effectors/Filter.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Flanger.d.ts +51 -0
- package/build/types/SoundModule/Effectors/Flanger.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Listener.d.ts +47 -0
- package/build/types/SoundModule/Effectors/Listener.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Panner.d.ts +68 -0
- package/build/types/SoundModule/Effectors/Panner.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Phaser.d.ts +55 -0
- package/build/types/SoundModule/Effectors/Phaser.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/PitchShifter.d.ts +42 -0
- package/build/types/SoundModule/Effectors/PitchShifter.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Reverb.d.ts +81 -0
- package/build/types/SoundModule/Effectors/Reverb.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Ringmodulator.d.ts +39 -0
- package/build/types/SoundModule/Effectors/Ringmodulator.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Stereo.d.ts +45 -0
- package/build/types/SoundModule/Effectors/Stereo.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Tremolo.d.ts +41 -0
- package/build/types/SoundModule/Effectors/Tremolo.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/VocalCanceler.d.ts +31 -0
- package/build/types/SoundModule/Effectors/VocalCanceler.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Wah.d.ts +49 -0
- package/build/types/SoundModule/Effectors/Wah.d.ts.map +1 -0
- package/build/types/SoundModule/Recorder/Channel.d.ts +44 -0
- package/build/types/SoundModule/Recorder/Channel.d.ts.map +1 -0
- package/build/types/SoundModule/Recorder/Track.d.ts +36 -0
- package/build/types/SoundModule/Recorder/Track.d.ts.map +1 -0
- package/build/types/SoundModule/Recorder/index.d.ts +118 -0
- package/build/types/SoundModule/Recorder/index.d.ts.map +1 -0
- package/build/types/SoundModule/Session/Room.d.ts +69 -0
- package/build/types/SoundModule/Session/Room.d.ts.map +1 -0
- package/build/types/SoundModule/Session/index.d.ts +94 -0
- package/build/types/SoundModule/Session/index.d.ts.map +1 -0
- package/build/types/SoundModule/index.d.ts +147 -0
- package/build/types/SoundModule/index.d.ts.map +1 -0
- package/build/types/StreamModule/NoiseGate.d.ts +29 -0
- package/build/types/StreamModule/NoiseGate.d.ts.map +1 -0
- package/build/types/StreamModule/NoiseSuppressor.d.ts +30 -0
- package/build/types/StreamModule/NoiseSuppressor.d.ts.map +1 -0
- package/build/types/StreamModule/index.d.ts +175 -0
- package/build/types/StreamModule/index.d.ts.map +1 -0
- package/build/types/XSound/index.d.ts +155 -0
- package/build/types/XSound/index.d.ts.map +1 -0
- package/build/types/interfaces.d.ts +23 -0
- package/build/types/interfaces.d.ts.map +1 -0
- package/build/types/main.d.ts +117 -0
- package/build/types/main.d.ts.map +1 -0
- package/build/types/types.d.ts +10 -0
- package/build/types/types.d.ts.map +1 -0
- package/build/xsound.js +1 -1
- package/build/xsound.js.LICENSE.txt +1 -1
- package/build/xsound.js.map +1 -1
- package/build/xsound.min.js +3 -0
- package/build/xsound.min.js.LICENSE.txt +1 -0
- package/build/xsound.min.js.map +1 -0
- package/package.json +38 -33
- package/build/xsound.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xsound",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-alpha",
|
|
4
4
|
"engines": {
|
|
5
|
-
"node": ">=
|
|
5
|
+
"node": ">=12.0.0 <=16.13.2"
|
|
6
6
|
},
|
|
7
|
-
"description": "
|
|
7
|
+
"description": "XSound gives Web Developers Powerful Audio Features Easily !",
|
|
8
8
|
"main": "build/xsound.js",
|
|
9
|
-
"types": "build/
|
|
9
|
+
"types": "build/types/main.d.ts",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"clean": "
|
|
12
|
-
"lint": "eslint src test",
|
|
13
|
-
"fix": "eslint --fix src test",
|
|
14
|
-
"
|
|
11
|
+
"clean": "rimraf -rf build",
|
|
12
|
+
"lint": "eslint src test mock jest.config.js webpack.config.js",
|
|
13
|
+
"fix": "eslint --fix src test mock jest.config.js webpack.config.js",
|
|
14
|
+
"type": "tsc --noEmit",
|
|
15
|
+
"build:types": "tsc --project tsconfig.types.json",
|
|
16
|
+
"build:js": "cross-env NODE_ENV=production webpack --progress --mode production",
|
|
17
|
+
"build": "npm run clean && npm run build:types && npm run build:js",
|
|
15
18
|
"watch": "npm run clean && webpack --progress --watch",
|
|
16
|
-
"dev": "webpack-
|
|
17
|
-
"test": "
|
|
19
|
+
"dev": "webpack-dev-server --progress",
|
|
20
|
+
"test": "jest",
|
|
21
|
+
"test:coverage": "jest --coverage",
|
|
22
|
+
"test:verbose": "jest --verbose",
|
|
18
23
|
"release:patch": "npm version patch && git push && git push origin --tags",
|
|
19
24
|
"release:minor": "npm version minor && git push && git push origin --tags",
|
|
20
25
|
"release:major": "npm version major && git push && git push origin --tags",
|
|
@@ -26,8 +31,9 @@
|
|
|
26
31
|
}
|
|
27
32
|
},
|
|
28
33
|
"lint-staged": {
|
|
29
|
-
"{src,test}/**/*.
|
|
30
|
-
"eslint --fix"
|
|
34
|
+
"{src,test,mock}/**/*.ts": [
|
|
35
|
+
"eslint --fix",
|
|
36
|
+
"tsc --esModuleInterop --noEmit --skipLibCheck --target es5"
|
|
31
37
|
]
|
|
32
38
|
},
|
|
33
39
|
"repository": {
|
|
@@ -36,6 +42,7 @@
|
|
|
36
42
|
},
|
|
37
43
|
"keywords": [
|
|
38
44
|
"XSound",
|
|
45
|
+
"TypeScript",
|
|
39
46
|
"JavaScript",
|
|
40
47
|
"Web Audio API",
|
|
41
48
|
"Web Audio",
|
|
@@ -56,31 +63,29 @@
|
|
|
56
63
|
],
|
|
57
64
|
"dependencies": {},
|
|
58
65
|
"devDependencies": {
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"eslint": "^7.32.0",
|
|
66
|
+
"@types/jest": "^27.4.0",
|
|
67
|
+
"@types/whatwg-fetch": "0.0.33",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
|
69
|
+
"@typescript-eslint/parser": "^5.11.0",
|
|
70
|
+
"cross-env": "^7.0.3",
|
|
71
|
+
"dotenv-webpack": "^7.1.0",
|
|
72
|
+
"eslint": "^8.8.0",
|
|
67
73
|
"eslint-cli": "^1.1.1",
|
|
68
74
|
"eslint-config-standard": "^16.0.3",
|
|
69
|
-
"eslint-plugin-import": "^2.
|
|
75
|
+
"eslint-plugin-import": "^2.25.4",
|
|
70
76
|
"eslint-plugin-node": "^11.1.0",
|
|
71
|
-
"eslint-plugin-promise": "^
|
|
77
|
+
"eslint-plugin-promise": "^6.0.0",
|
|
72
78
|
"eslint-plugin-standard": "^5.0.0",
|
|
73
|
-
"generate-changelog": "^1.8.0",
|
|
74
79
|
"husky": "4.3.8",
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"webpack": "^5.
|
|
83
|
-
"webpack-cli": "^4.
|
|
84
|
-
"webpack-dev-server": "^4.
|
|
80
|
+
"jest": "^27.5.1",
|
|
81
|
+
"lint-staged": "^12.3.3",
|
|
82
|
+
"rimraf": "^3.0.2",
|
|
83
|
+
"terser-webpack-plugin": "^5.3.1",
|
|
84
|
+
"ts-jest": "^27.1.3",
|
|
85
|
+
"ts-loader": "^9.2.6",
|
|
86
|
+
"typescript": "^4.5.5",
|
|
87
|
+
"webpack": "^5.68.0",
|
|
88
|
+
"webpack-cli": "^4.9.2",
|
|
89
|
+
"webpack-dev-server": "^4.7.4"
|
|
85
90
|
}
|
|
86
91
|
}
|
package/build/xsound.d.ts
DELETED