AudioSignalGeneratorSettings interface

Settings for an Audio Signal Generator see: NorskInput.audioSignal()

Signature:

export interface AudioSignalGeneratorSettings extends SourceNodeSettings<AudioSignalGeneratorNode>

Properties

Property Type Description

channelLayout

ChannelLayout

The audio channel layout of the generated stream

language?

string

(Optional) The language tag to use. Defaults to no language

numFrames?

number

(Optional) Number of frames to output. Defaults to infinite

numSamplesPerFrame?

number

(Optional) Number of audio samples per frame. Defaults to 1024

sampleFormat?

SampleFormat

(Optional) The sample format to use. Default: "fltp"

sampleRate

SampleRate

The sample rate of the generated stream

sourceName

string

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

wave?

Wave

(Optional) Waveform - construct a Wave directoy, or from DMTF digits via mkDtmf()

If unspecified an arbitrary default signal is generated