@korial29/tiny-fps 0.183.1 → 0.184.0
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/dist/index.js +21 -21
- package/dist/types/client/sfx.d.ts +7 -0
- package/package.json +1 -1
|
@@ -149,6 +149,13 @@ export declare const LOOPED: number[];
|
|
|
149
149
|
* noise), silent at both ends (no click).
|
|
150
150
|
*/
|
|
151
151
|
export declare const render: (id: number, layers?: Voice[][]) => Float32Array;
|
|
152
|
+
/**
|
|
153
|
+
* The death cry of a human (the user, 2026-11-16: "a real scream", then lower and shorter), a
|
|
154
|
+
* source-filter voice: a saw for the vocal folds, its pitch thrown up to a strained 380 Hz, held
|
|
155
|
+
* shaking a quarter of a second, then falling away an octave and a half; every other period louder (the period doubling of a torn throat, the rasp), breath riding
|
|
156
|
+
* each period; four vowel formants gliding from a wide "aah" to a dying "uh", then a soft clip.
|
|
157
|
+
*/
|
|
158
|
+
export declare const scream: () => Float32Array;
|
|
152
159
|
/**
|
|
153
160
|
* A sound made loopable: the last `x` samples are cross-faded into the first, the length drops by
|
|
154
161
|
* `x`, and the end joins the start. For a stationary sound (a loop's voice is held at full
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@korial29/tiny-fps",
|
|
3
3
|
"description": "Tiny multiplayer first-person rooftop game for the browser: raw WebGL, zero runtime dependencies, WebSocket or same-browser multi-tab play.",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.184.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|