set_custom_kernel_coefficients

Set FIR filter sample rate and kernel coefficients for the specified filter channel. This will enable the specified channel output.

Parameters

integer required
Target channel
allowed values:
Moku:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
number required
Desired sample rate
allowed values:
Moku:Lab15.63MHz, 7.813MHz, 3.906MHz, 1.953MHz, 976.6kHz, 488.3kHz, 244.1kHz, 122.1kHz
Moku:Go3.906MHz, 1.953MHz, 976.6kHz, 488.3kHz, 244.1kHz, 122.1kHz, 61.04kHz, 30.52kHz
Moku:Pro39.06MHz, 19.53MHz, 9.766MHz, 4.883MHz, 2.441MHz, 1.221MHz, 610.4kHz, 305.2kHz
units: Hz
array required
Kernel coefficients for the specified filter channel
boolean
Disable all implicit conversions and coercions.
default: true

# Examples