sfx
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->
sfx
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->TODO: describe this module.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2emberline.audio.sfx — every one-shot in the game, written as DSP. The whole shared furniture the other slices call for by id: hits by strength, blocks, whiffs, jumps, landings, dashes, throws, projectiles, the meter, the round bell, the crowd, and every UI move. Nothing here needs the network or a credit, so the game cannot end up silent. Each entry declares: dur how long to render, seconds peak the level it is normalised to before encoding — this is the mix gain the playback volume the mixer hands to `playOneShot` vary random pitch spread, so a five-hit combo is not five identical hits loop true for a bed-like ambience: encoded as PCM and never faded
def(d: Def) → void
| arg | type | description |
|---|---|---|
| d | Def |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
whoosh(lo: number, hi: number, dur: number, amp: number, seed: number) → void
| arg | type | description |
|---|---|---|
| lo | number | |
| hi | number | |
| dur | number | |
| amp | number | |
| seed | number |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
dash(seed: number, lo: number, hi: number, dur: number) → void
| arg | type | description |
|---|---|---|
| seed | number | |
| lo | number | |
| hi | number | |
| dur | number |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
build(b: ?, sr: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| sr | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
env(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
render(d: Def) → void
Render one definition to samples. Loops are wrapped and never faded; one shots get a one-millisecond fade so they cannot click on the transient.
| arg | type | description |
|---|---|---|
| d | Def |
Def = {Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
This asset
●2problemsagent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.