OptionalbandsUsed without subscriptionId. 0 takes the largest band count among all subscriptions; the value is capped at fftSize / 2.
OptionalchannelsWithout subscriptionId only mix is accepted.
OptionalmaxUsed without subscriptionId; as in subscribeSpectrum.
OptionalminUsed without subscriptionId; as in subscribeSpectrum.
OptionaloutputWithout subscriptionId only bands is accepted: the FFT size then follows the other subscriptions, so bin output needs a subscription of its own.
OptionalscaleUsed without subscriptionId; as in subscribeSpectrum.
OptionalsubscriptionCompute the frame with this subscription's parameters, bin output included; the other parameters are then ignored. An unknown id fails with NOT_FOUND.
Parameters for
audio.getSpectrum. Compute one spectrum frame on demand. At least one spectrum subscription must exist.