{
  "Clock": {
    "Type": "Clock",
    "DesiredRate": 256
  },
  "Signal": {
    "Type": "SinGenerator",
    "Inputs": [
      "Clock"
    ],
    "Params": [
      1,
      1,
      8,
      0,
      0,
      1
    ]
  },
  "Filtered": {
    "Type": "Filter",
    "Inputs": [
      "Signal"
    ],
    "Params": [
      "Lowpass",
      "IIR",
      32,
      0,
      4,
      64
    ]
  },
  "Window": {
    "Type": "SlidingWindow",
    "Inputs": [
      "Filtered"
    ],
    "Params": [
      256,
      64,
      "Rectangular"
    ]
  },
  "MAV": {
    "Type": "MeanAverageValue",
    "Inputs": [
      "Window"
    ]
  },
  "Spectrum": {
    "Type": "FFT",
    "Inputs": [
      "Window"
    ],
    "Params": [
      "Rectangular",
      "MagnitudeNormalized",
      1,
      -120,
      200,
      0
    ]
  },
  "Labels": {
    "Type": "Trigger",
    "Params": [
      "Low:1;0",
      "High:0;1"
    ]
  },
  "Training": {
    "Type": "TriggerBuffer",
    "Inputs": [
      "Labels",
      "MAV"
    ]
  },
  "Classifier": {
    "Type": "Classifier",
    "Inputs": [
      "MAV",
      "Training"
    ],
    "Params": [
      "KNN",
      1,
      2,
      "Buffer"
    ]
  }
}
