Switchboard SDK
Loading...
Searching...
No Matches
switchboard::MultiChannelToMonoNode Class Reference

Converts a multi-channel audio bus to a mono audio bus. More...

#include <MultiChannelToMonoNode.hpp>

Inheritance diagram for switchboard::MultiChannelToMonoNode:

Public Member Functions

SB_WASM MultiChannelToMonoNode ()
 Initializes a MultiChannelToMono instance.
 
SB_WASM void setNormalize (const bool normalize)
 Enables signal normalization to the largest signal after mixing.
 
SB_WASM bool getNormalize () const
 Gets if signal normalization to the largest signal after mixing is enabled.
 
SB_WASM bool setBusFormat (AudioBusFormat &inputBusFormat, AudioBusFormat &outputBusFormat)
 
SB_WASM bool process (AudioBus &inBus, AudioBus &outBus)
 

Detailed Description

Converts a multi-channel audio bus to a mono audio bus.

Member Function Documentation

◆ getNormalize()

bool switchboard::MultiChannelToMonoNode::getNormalize ( ) const

Gets if signal normalization to the largest signal after mixing is enabled.

Returns
True if the signals have to be normalized to the largest signal after mixing.

◆ setNormalize()

void switchboard::MultiChannelToMonoNode::setNormalize ( const bool normalize)

Enables signal normalization to the largest signal after mixing.

Parameters
normalizeTrue if the signals have to be normalized to the largest signal after mixing.