set_custom_filter
Set the infinite impulse response filter sample rate and filter coefficients for a given filter id.Parameters
integer required
Target channel
allowed values:Moku:Lab 1, 2 Moku:Go 1, 2 Moku:Pro 1, 2, 3, 4 Moku:Delta 1, 2, 3, 4
number required
Sampling rate for the filter
allowed values:Moku:Lab 15.6MSa/s, 1.95MSa/s, 122kSa/s Moku:Go 3.91MSa/s, 488kSa/s, 61kSa/s Moku:Pro 39.1MSa/s, 4.88MSa/s, 305kSa/s Moku:Delta 39.1MSa/s, 4.88MSa/s, 305kSa/s
units: Hz integer
Filter output scaling
default: 1 list required
List of filter stages, where each stage should have six coefficients and each coefficient must be in the range [-4.0, 4.0]
boolean
Disable all implicit conversions and coercions.
default: true# Examples
# Sample response
{
"sample_rate": "39.1MSa/s",
"shape": "Custom"
}
1
2
3
4
2
3
4