SoundNodes beta
Interface of @v12-engine/client
ts
export interface SoundNodesThe nodes of a sound's chain, by what each does (see the top of playedSound.ts)
Members
echo
ts
echo?: DelayNode;The delay node of its echo, once echo was asked for; none otherwise
envelope
ts
envelope: GainNode;The gain that fades the sound in and out and stops it
highpass
ts
highpass: BiquadFilterNode;The filter that cuts frequencies below a cutoff (SoundShape.highpass)
lowpass
ts
lowpass: BiquadFilterNode;The filter that cuts frequencies above a cutoff (SoundShape.lowpass)
near
ts
near: GainNode;How loud where it is on the map is heard (1 where it is not on the map): at
post
ts
post: GainNode;Where the filters and what code put in end, before the fades: what the reverb and the echo take from
reverb
ts
reverb?: ConvolverNode;The reverb node of the sound, once reverb was asked for; none otherwise
side
ts
side: Placing;To which side where it is on the map is heard (0 where it is not on the map): at