MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ normalized_channels()

MAYAFLUX_API std::vector< Kakshya::DataVariant > MayaFlux::normalized_channels ( const std::vector< Kakshya::DataVariant > &  channels,
double  target_peak = 1.0 
)

Normalize each channel independently (non-destructive)

Parameters
channelsVector of channel data
target_peakTarget peak amplitude (default: 1.0)
Returns
Vector of normalized channel copies

Definition at line 611 of file Yantra.cpp.

612{
613 std::vector<Kakshya::DataVariant> result;
614 result.reserve(channels.size());
615 for (const auto& channel : channels) {
616 result.push_back(normalized(channel, target_peak));
617 }
618 return result;
619}
std::vector< double > normalized(const std::vector< double > &data, double target_peak)
Normalize single-channel data (non-destructive)
Definition Yantra.cpp:593

References normalized().

+ Here is the call graph for this function: