AiirChannelsX extension

Typed access over aiir's three parallel string parameters (gains or k, poles or p, zeros or z). The Nth |-section of each string belongs to the Nth output channel; coefficient lists within a channel are space-separated.

on

Properties

channels → List<AiirChannel>

Available on AiirEffect, provided by the AiirChannelsX extension

Decoded channel slots in declaration order. When the three underlying CSVs differ in length, the shortest list wins (lavfi rejects asymmetric configs at chain-build time).
no setter

Methods

withChannels(List<AiirChannel> channels) → AiirEffect

Available on AiirEffect, provided by the AiirChannelsX extension

Returns a copy whose three CSV strings reflect channels. While format and process are at their defaults (zp and serial), they become AiirFormat.tf and AiirProcess.d: the coefficients are real, the numerator (AiirChannel.zeros) and denominator (AiirChannel.poles) of a transfer function, which the defaults do not read. A format or process set by hand is kept.