NorskOutput.fileMp3() method

Write an MP3 (MPEG-audio) elementary stream to disk. Subscribed audio that is already MP3 is written straight through, with no re-encoding; anything else is encoded to MP3 (constant bitrate, keeping the source’s channel layout and sample rate where MP3 can carry them, otherwise stereo / 48kHz; 128kbps, or 64kbps - the most MP3 allows - for a source at 12kHz or below). For control over the encode, use an explicit NorskTransform.audioEncode(). The file is finalised and closed when the inbound context becomes empty.

Signature:

fileMp3(settings: FileMp3OutputSettings): Promise<FileMp3OutputNode>;

Parameters

Parameter Type Description

settings

FileMp3OutputSettings

Returns:

Find Examples