FileWavInputSettings interface

Settings for an File Based WAV Input see: NorskInput.fileWav()

Signature:

export interface FileWavInputSettings extends SourceNodeSettings<FileWavInputNode>

Properties

Property Type Description

fileName

string

Path to the WAV file to read

loop?

boolean

(Optional) Whether to loop back to the first sample after reaching the end of the file (default false: play once, then end). The loop is gapless — PCM has no priming or padding to trim, and the reader wraps within a frame — so the timeline and the stream are continuous across the seam. For a seamlessly repeating bed this is the input to use rather than a looped AAC file, whose encoder delay makes a truly gapless seam a decoder-side problem.

sourceName

string

The source name to set in the stream key of the outgoing stream

timeDomain?

TimeDomain

(Optional) Optional time-domain configuration. When set, the input is placed into a named coordinator and is timestamp-aligned with all other inputs sharing the same domain id within this Norsk instance. Omit for the default (uncoordinated) behaviour.